Home
last modified time | relevance | path

Searched refs:bmbt (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_bmap_btree.c220 * we have to ensure that we attempt to locate the entire set of bmbt in xfs_bmbt_alloc_block()
346 key->bmbt.br_startoff = in xfs_bmbt_init_key_from_rec()
347 cpu_to_be64(xfs_bmbt_disk_get_startoff(&rec->bmbt)); in xfs_bmbt_init_key_from_rec()
355 key->bmbt.br_startoff = cpu_to_be64( in xfs_bmbt_init_high_key_from_rec()
356 xfs_bmbt_disk_get_startoff(&rec->bmbt) + in xfs_bmbt_init_high_key_from_rec()
357 xfs_bmbt_disk_get_blockcount(&rec->bmbt) - 1); in xfs_bmbt_init_high_key_from_rec()
365 xfs_bmbt_disk_set_all(&rec->bmbt, &cur->bc_rec.b); in xfs_bmbt_init_rec_from_cur()
381 return (int64_t)be64_to_cpu(key->bmbt.br_startoff) - in xfs_bmbt_key_diff()
392 uint64_t a = be64_to_cpu(k1->bmbt.br_startoff); in xfs_bmbt_diff_two_keys()
393 uint64_t b = be64_to_cpu(k2->bmbt in xfs_bmbt_diff_two_keys()
[all...]
H A Dxfs_btree.h33 struct xfs_bmbt_key bmbt; member
34 xfs_bmdr_key_t bmbr; /* bmbt root block */
43 struct xfs_bmbt_rec bmbt; member
44 xfs_bmdr_rec_t bmbr; /* bmbt root block */
H A Dxfs_bmap.c161 xfs_bmbt_disk_set_all(&rec.bmbt, irec); in xfs_bmbt_update()
1119 /* Stuff every bmbt record from this block into the incore extent map. */
4221 * Before insertion into the bmbt, zero the range being converted in xfs_bmapi_convert_unwritten()
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_bmap_btree.c358 key->bmbt.br_startoff = in xfs_bmbt_init_key_from_rec()
359 cpu_to_be64(xfs_bmbt_disk_get_startoff(&rec->bmbt)); in xfs_bmbt_init_key_from_rec()
367 key->bmbt.br_startoff = cpu_to_be64( in xfs_bmbt_init_high_key_from_rec()
368 xfs_bmbt_disk_get_startoff(&rec->bmbt) + in xfs_bmbt_init_high_key_from_rec()
369 xfs_bmbt_disk_get_blockcount(&rec->bmbt) - 1); in xfs_bmbt_init_high_key_from_rec()
377 xfs_bmbt_disk_set_all(&rec->bmbt, &cur->bc_rec.b); in xfs_bmbt_init_rec_from_cur()
393 return (int64_t)be64_to_cpu(key->bmbt.br_startoff) - in xfs_bmbt_key_diff()
403 uint64_t a = be64_to_cpu(k1->bmbt.br_startoff); in xfs_bmbt_diff_two_keys()
404 uint64_t b = be64_to_cpu(k2->bmbt.br_startoff); in xfs_bmbt_diff_two_keys()
504 return be64_to_cpu(k1->bmbt in xfs_bmbt_keys_inorder()
[all...]
H A Dxfs_btree.h34 struct xfs_bmbt_key bmbt; member
35 xfs_bmdr_key_t bmbr; /* bmbt root block */
44 struct xfs_bmbt_rec bmbt; member
45 xfs_bmdr_rec_t bmbr; /* bmbt root block */
H A Dxfs_bmap.c153 xfs_bmbt_disk_set_all(&rec.bmbt, irec); in xfs_bmbt_update()
1164 /* Stuff every bmbt record from this block into the incore extent map. */
4216 * Before insertion into the bmbt, zero the range being converted in xfs_bmapi_convert_unwritten()
/kernel/linux/linux-5.10/fs/xfs/scrub/
H A Dbmap.c129 * If the caller thinks this could be a shared bmbt extent (IOWs, in xchk_bmap_get_rmap()
342 * in-core extent scan, and we should never see these in the bmbt. in xchk_bmap_iextent()
387 /* Scrub a bmbt record. */
429 xfs_bmbt_disk_get_all(&rec->bmbt, &irec); in xchk_bmapbt_rec()
500 /* Now look up the bmbt record. */ in xchk_bmap_check_rmap()
516 * length, so we have to loop through the bmbt to make sure that the in xchk_bmap_check_rmap()
517 * entire rmap is covered by bmbt records. in xchk_bmap_check_rmap()
549 /* Make sure each rmap has a corresponding bmbt entry. */
583 /* Make sure each rmap has a corresponding bmbt entry. */
/kernel/linux/linux-6.6/fs/xfs/scrub/
H A Dbmap.c145 * If the caller thinks this could be a shared bmbt extent (IOWs, in xchk_bmap_get_rmap()
436 /* Scrub a bmbt record. */
478 xfs_bmbt_disk_get_all(&rec->bmbt, &irec); in xchk_bmapbt_rec()
555 /* Now look up the bmbt record. */ in xchk_bmap_check_rmap()
571 * length, so we have to loop through the bmbt to make sure that the in xchk_bmap_check_rmap()
572 * entire rmap is covered by bmbt records. in xchk_bmap_check_rmap()
606 /* Make sure each rmap has a corresponding bmbt entry. */
637 * rmap for this file fork has corresponding bmbt entries.
677 /* Make sure each rmap has a corresponding bmbt entry. */
812 * If the merged mapping could be expressed with fewer bmbt record in xchk_bmap_iext_iter()
[all...]

Completed in 18 milliseconds