/fs/hfs/ |
D | brec.c | 94 end_rec_off = tree->node_size - (node->num_recs + 1) * 2; in hfs_brec_insert() 111 node->num_recs++; in hfs_brec_insert() 113 hfs_bnode_write_u16(node, offsetof(struct hfs_bnode_desc, num_recs), node->num_recs); in hfs_brec_insert() 187 end_off = tree->node_size - (node->num_recs + 1) * 2; in hfs_brec_remove() 196 if (!--node->num_recs) { in hfs_brec_remove() 209 hfs_bnode_write_u16(node, offsetof(struct hfs_bnode_desc, num_recs), node->num_recs); in hfs_brec_remove() 236 int num_recs, new_rec_off, new_off, old_rec_off; in hfs_bnode_split() local 264 size = tree->node_size / 2 - node->num_recs * 2 - 14; in hfs_bnode_split() 266 num_recs = 1; in hfs_bnode_split() 272 if (++num_recs < node->num_recs) in hfs_bnode_split() [all …]
|
D | bfind.c | 64 e = bnode->num_recs - 1; in __hfs_brec_find() 188 fd->record = bnode->num_recs - 1; in hfs_brec_goto() 204 while (cnt >= bnode->num_recs - fd->record) { in hfs_brec_goto() 205 cnt -= bnode->num_recs - fd->record; in hfs_brec_goto()
|
D | bnode.c | 159 desc.type, desc.height, be16_to_cpu(desc.num_recs)); in hfs_bnode_dump() 162 for (i = be16_to_cpu(desc.num_recs); i >= 0; off -= 2, i--) { in hfs_bnode_dump() 357 node->num_recs = be16_to_cpu(desc->num_recs); in hfs_bnode_find() 384 for (i = 1; i <= node->num_recs; off = next_off, i++) { in hfs_bnode_find()
|
D | btree.h | 61 u16 num_recs; member 138 __be16 num_recs; /* (V) The number of records in this node */ member
|
D | btree.c | 207 node->num_recs = 1; in hfs_bmap_new_bmap() 213 desc.num_recs = cpu_to_be16(1); in hfs_bmap_new_bmap()
|
/fs/hfsplus/ |
D | brec.c | 92 end_rec_off = tree->node_size - (node->num_recs + 1) * 2; in hfs_brec_insert() 109 node->num_recs++; in hfs_brec_insert() 112 offsetof(struct hfs_bnode_desc, num_recs), in hfs_brec_insert() 113 node->num_recs); in hfs_brec_insert() 189 end_off = tree->node_size - (node->num_recs + 1) * 2; in hfs_brec_remove() 198 if (!--node->num_recs) { in hfs_brec_remove() 212 offsetof(struct hfs_bnode_desc, num_recs), in hfs_brec_remove() 213 node->num_recs); in hfs_brec_remove() 240 int num_recs, new_rec_off, new_off, old_rec_off; in hfs_bnode_split() local 268 size = tree->node_size / 2 - node->num_recs * 2 - 14; in hfs_bnode_split() [all …]
|
D | bfind.c | 124 e = bnode->num_recs - 1; in __hfs_brec_find() 245 fd->record = bnode->num_recs - 1; in hfs_brec_goto() 261 while (cnt >= bnode->num_recs - fd->record) { in hfs_brec_goto() 262 cnt -= bnode->num_recs - fd->record; in hfs_brec_goto()
|
D | bnode.c | 308 desc.type, desc.height, be16_to_cpu(desc.num_recs)); in hfs_bnode_dump() 311 for (i = be16_to_cpu(desc.num_recs); i >= 0; off -= 2, i--) { in hfs_bnode_dump() 509 node->num_recs = be16_to_cpu(desc->num_recs); in hfs_bnode_find() 536 for (i = 1; i <= node->num_recs; off = next_off, i++) { in hfs_bnode_find()
|
D | btree.c | 329 node->num_recs = 1; in hfs_bmap_new_bmap() 335 desc.num_recs = cpu_to_be16(1); in hfs_bmap_new_bmap()
|
D | hfsplus_raw.h | 156 __be16 num_recs; member
|
D | hfsplus_fs.h | 111 u16 num_recs; member
|
D | xattr.c | 75 desc->num_recs = cpu_to_be16(HFSPLUS_BTREE_HDR_NODE_RECS_COUNT); in hfsplus_init_header_node()
|
/fs/ocfs2/ |
D | xattr.c | 6216 int *num_recs, in ocfs2_value_metas_in_xattr_header() argument 6246 *num_recs += le16_to_cpu(xv->xr_list.l_next_free_rec); in ocfs2_value_metas_in_xattr_header() 6248 *num_recs += ocfs2_clusters_for_bytes(sb, in ocfs2_value_metas_in_xattr_header() 6286 int ret, meta_add = 0, num_recs = 0; in ocfs2_reflink_lock_xattr_allocators() local 6293 &meta_add, credits, &num_recs, in ocfs2_reflink_lock_xattr_allocators() 6308 num_recs = num_recs / ocfs2_refcount_recs_per_rb(osb->sb) * 2; in ocfs2_reflink_lock_xattr_allocators() 6309 meta_add += num_recs; in ocfs2_reflink_lock_xattr_allocators() 6310 *credits += num_recs + num_recs * OCFS2_EXPAND_REFCOUNT_TREE_CREDITS; in ocfs2_reflink_lock_xattr_allocators() 6704 int num_recs; member 6735 &metas->credits, &metas->num_recs, in ocfs2_calc_value_tree_metas() [all …]
|
D | alloc.c | 1689 int size, num_recs = le16_to_cpu(el->l_next_free_rec); in ocfs2_remove_empty_extent() local 1691 BUG_ON(num_recs == 0); in ocfs2_remove_empty_extent() 1694 num_recs--; in ocfs2_remove_empty_extent() 1695 size = num_recs * sizeof(struct ocfs2_extent_rec); in ocfs2_remove_empty_extent() 1697 memset(&el->l_recs[num_recs], 0, in ocfs2_remove_empty_extent() 1699 el->l_next_free_rec = cpu_to_le16(num_recs); in ocfs2_remove_empty_extent() 6247 unsigned int clusters, num_recs, start_cluster; in ocfs2_complete_truncate_log_recovery() local 6259 num_recs = le16_to_cpu(tl->tl_used); in ocfs2_complete_truncate_log_recovery() 6262 num_recs); in ocfs2_complete_truncate_log_recovery() 6265 for(i = 0; i < num_recs; i++) { in ocfs2_complete_truncate_log_recovery()
|
/fs/xfs/libxfs/ |
D | xfs_bmap.c | 407 xfs_extnum_t num_recs; in xfs_bmap_check_leaf_extents() local 410 num_recs = xfs_btree_get_numrecs(block); in xfs_bmap_check_leaf_extents() 430 for (j = 1; j < num_recs; j++) { in xfs_bmap_check_leaf_extents() 439 i += num_recs; in xfs_bmap_check_leaf_extents() 1168 xfs_extnum_t num_recs; in xfs_iread_bmbt_block() local 1176 num_recs = xfs_btree_get_numrecs(block); in xfs_iread_bmbt_block() 1177 if (unlikely(ir->loaded + num_recs > ifp->if_nextents)) { in xfs_iread_bmbt_block() 1187 for (j = 0; j < num_recs; j++, frp++, ir->loaded++) { in xfs_iread_bmbt_block()
|