Home
last modified time | relevance | path

Searched refs:to_trunc (Results 1 – 1 of 1) sorted by relevance

/netbsd/src/sys/fs/udf/
Dudf_allocation.c986 udf_bitmap_check_trunc_free(struct udf_bitmap *bitmap, uint32_t to_trunc) in udf_bitmap_check_trunc_free() argument
992 DPRINTF(RESERVE, ("\ttrying to trunc %d bits from bitmap\n", to_trunc)); in udf_bitmap_check_trunc_free()
993 offset = bitmap->max_offset - to_trunc; in udf_bitmap_check_trunc_free()
999 while (to_trunc > 0) { in udf_bitmap_check_trunc_free()
1004 to_trunc--; in udf_bitmap_check_trunc_free()
1469 uint64_t meta_free_lbs, data_free_lbs, to_trunc; in udf_trunc_metadatapart() local
1501 to_trunc = meta_free_lbs/4; /* give out a quarter */ in udf_trunc_metadatapart()
1502 to_trunc = MAX(to_trunc, num_lb); in udf_trunc_metadatapart()
1503 to_trunc = unit * ((to_trunc + unit-1) / unit); /* round up */ in udf_trunc_metadatapart()
1506 if (to_trunc >= meta_free_lbs) in udf_trunc_metadatapart()
[all …]