Home
last modified time | relevance | path

Searched refs:node_size (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.12.1/fs/hfsplus/
Dbrec.c25 dataoff = node->tree->node_size - (rec + 2) * 2; in hfs_brec_lenoff()
45 node->tree->node_size - (rec + 1) * 2); in hfs_brec_keylen()
48 if (recoff > node->tree->node_size - 2) { in hfs_brec_keylen()
92 end_rec_off = tree->node_size - (node->num_recs + 1) * 2; in hfs_brec_insert()
117 idx_rec_off = tree->node_size - (rec + 1) * 2; in hfs_brec_insert()
188 rec_off = tree->node_size - (fd->record + 2) * 2; in hfs_brec_remove()
189 end_off = tree->node_size - (node->num_recs + 1) * 2; in hfs_brec_remove()
268 size = tree->node_size / 2 - node->num_recs * 2 - 14; in hfs_bnode_split()
269 old_rec_off = tree->node_size - 4; in hfs_bnode_split()
304 new_rec_off = tree->node_size - 2; in hfs_bnode_split()
[all …]
Dbtree.c75 u32 hfsplus_calc_btree_clump_size(u32 block_size, u32 node_size, in hfsplus_calc_btree_clump_size() argument
78 u32 mod = max(node_size, block_size); in hfsplus_calc_btree_clump_size()
102 if (clump_size < (8 * node_size)) in hfsplus_calc_btree_clump_size()
103 clump_size = 8 * node_size; in hfsplus_calc_btree_clump_size()
175 tree->node_size = be16_to_cpu(head->node_size); in hfs_btree_open()
231 size = tree->node_size; in hfs_btree_open()
240 (tree->node_size + PAGE_SIZE - 1) >> in hfs_btree_open()
331 hfs_bnode_clear(node, 0, tree->node_size); in hfs_bmap_new_bmap()
340 hfs_bnode_write_u16(node, tree->node_size - 2, 14); in hfs_bmap_new_bmap()
341 hfs_bnode_write_u16(node, tree->node_size - 4, tree->node_size - 6); in hfs_bmap_new_bmap()
Dxattr.c55 char *buf, u16 node_size) in hfsplus_init_header_node() argument
68 clump_size, node_size); in hfsplus_init_header_node()
71 rec_offsets = (__be16 *)(buf + node_size); in hfsplus_init_header_node()
80 head->node_size = cpu_to_be16(node_size); in hfsplus_init_header_node()
82 do_div(tmp, node_size); in hfsplus_init_header_node()
93 hdr_node_map_rec_bits = 8 * (node_size - offset - (4 * sizeof(u16))); in hfsplus_init_header_node()
99 map_node_bits = 8 * (node_size - sizeof(struct hfs_bnode_desc) - in hfsplus_init_header_node()
128 u16 node_size = HFSPLUS_ATTR_TREE_NODE_SIZE; in hfsplus_create_attributes_file() local
180 node_size, in hfsplus_create_attributes_file()
205 buf = kzalloc(node_size, GFP_NOFS); in hfsplus_create_attributes_file()
[all …]
Dbnode.c303 off = node->tree->node_size - 2; in hfs_bnode_dump()
521 rec_off = tree->node_size - 2; in hfs_bnode_find()
529 next_off > tree->node_size || in hfs_bnode_find()
586 min_t(int, PAGE_SIZE, tree->node_size)); in hfs_bnode_create()
631 hfs_bnode_clear(node, 0, tree->node_size); in hfs_bnode_put()
Dhfsplus_fs.h87 unsigned int node_size; member
386 u32 hfsplus_calc_btree_clump_size(u32 block_size, u32 node_size, u64 sectors,
Dhfsplus_raw.h173 __be16 node_size; member
Dinode.c86 if (tree->node_size >= PAGE_SIZE) { in hfsplus_release_folio()
/linux-6.12.1/fs/hfs/
Dbrec.c24 dataoff = node->tree->node_size - (rec + 2) * 2; in hfs_brec_lenoff()
45 recoff = hfs_bnode_read_u16(node, node->tree->node_size - (rec + 1) * 2); in hfs_brec_keylen()
94 end_rec_off = tree->node_size - (node->num_recs + 1) * 2; in hfs_brec_insert()
117 idx_rec_off = tree->node_size - (rec + 1) * 2; in hfs_brec_insert()
186 rec_off = tree->node_size - (fd->record + 2) * 2; in hfs_brec_remove()
187 end_off = tree->node_size - (node->num_recs + 1) * 2; in hfs_brec_remove()
264 size = tree->node_size / 2 - node->num_recs * 2 - 14; in hfs_bnode_split()
265 old_rec_off = tree->node_size - 4; in hfs_bnode_split()
300 new_rec_off = tree->node_size - 2; in hfs_bnode_split()
384 rec_off = tree->node_size - (rec + 2) * 2; in hfs_brec_update_parent()
[all …]
Dbtree.c92 tree->node_size = be16_to_cpu(head->node_size); in hfs_btree_open()
96 size = tree->node_size; in hfs_btree_open()
121 tree->pages_per_bnode = (tree->node_size + PAGE_SIZE - 1) >> PAGE_SHIFT; in hfs_btree_open()
211 hfs_bnode_clear(node, 0, tree->node_size); in hfs_bmap_new_bmap()
220 hfs_bnode_write_u16(node, tree->node_size - 2, 14); in hfs_bmap_new_bmap()
221 hfs_bnode_write_u16(node, tree->node_size - 4, tree->node_size - 6); in hfs_bmap_new_bmap()
Dbtree.h38 unsigned int node_size; member
153 __be16 node_size; /* (F) The number of bytes in a node (=512) */ member
Dbnode.c154 off = node->tree->node_size - 2; in hfs_bnode_dump()
286 off = (loff_t)cnid * tree->node_size; in __hfs_bnode_create()
370 rec_off = tree->node_size - 2; in hfs_bnode_find()
378 next_off > tree->node_size || in hfs_bnode_find()
435 min((int)PAGE_SIZE, (int)tree->node_size)); in hfs_bnode_create()
Dinode.c91 if (tree->node_size >= PAGE_SIZE) { in hfs_release_folio()
/linux-6.12.1/drivers/gpu/drm/i915/
Di915_vma_resource.h127 u64 node_size; member
212 u64 node_size, in i915_vma_resource_init() argument
230 vma_res->node_size = node_size; in i915_vma_resource_init()
Di915_vma_resource.c38 #define VMA_RES_LAST(_node) ((_node)->start + (_node)->node_size + (_node)->guard - 1)
/linux-6.12.1/fs/befs/
Dbefs_fs_types.h219 fs32 node_size; member
229 u32 node_size; member
Dbtree.c152 sup->node_size = fs32_to_cpu(sb, od_sup->node_size); in befs_bt_read_super()
Ddebug.c233 befs_debug(sb, " node_size %u", fs32_to_cpu(sb, super->node_size)); in befs_dump_index_entry()
/linux-6.12.1/drivers/media/platform/st/sti/bdisp/
Dbdisp-hw.c452 unsigned int i, node_size = sizeof(struct bdisp_node); in bdisp_hw_alloc_nodes() local
457 base = dma_alloc_attrs(dev, node_size * MAX_NB_NODE, &paddr, in bdisp_hw_alloc_nodes()
464 memset(base, 0, node_size * MAX_NB_NODE); in bdisp_hw_alloc_nodes()
471 base += node_size; in bdisp_hw_alloc_nodes()
472 paddr += node_size; in bdisp_hw_alloc_nodes()
/linux-6.12.1/lib/
Dbootconfig.c91 int __init xbc_get_info(int *node_size, size_t *data_size) in xbc_get_info() argument
96 if (node_size) in xbc_get_info()
97 *node_size = xbc_node_num; in xbc_get_info()
/linux-6.12.1/tools/testing/selftests/mm/
Dksm_tests.c468 long node_size; in get_next_mem_node() local
474 node_size = numa_node_size(mem_node, NULL); in get_next_mem_node()
475 if (node_size > 0) in get_next_mem_node()
/linux-6.12.1/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_api_cmd.c733 size_t node_size; in api_cmd_destroy_cell() local
739 node_size = chain->cell_size; in api_cmd_destroy_cell()
751 dma_free_coherent(&pdev->dev, node_size, node, in api_cmd_destroy_cell()
/linux-6.12.1/include/linux/
Dbootconfig.h288 int __init xbc_get_info(int *node_size, size_t *data_size);
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_ggtt.c487 end += (vma_res->node_size + vma_res->guard) / I915_GTT_PAGE_SIZE; in gen8_ggtt_insert_entries()
520 end += (vma_res->node_size + vma_res->guard) / I915_GTT_PAGE_SIZE; in __gen8_ggtt_insert_entries_bind()
522 vma_res->node_size / I915_GTT_PAGE_SIZE, pte_encode)) in __gen8_ggtt_insert_entries_bind()
525 start += vma_res->node_size / I915_GTT_PAGE_SIZE; in __gen8_ggtt_insert_entries_bind()
628 end += (vma_res->node_size + vma_res->guard) / I915_GTT_PAGE_SIZE; in gen6_ggtt_insert_entries()
Dgen8_ppgtt.c702 vma_res->node_size, in gen8_ppgtt_insert_huge()
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_uc_fw.c1049 vma_res->node_size = obj->base.size; in uc_fw_bind_ggtt()
1078 if (!vma_res->node_size) in uc_fw_unbind_ggtt()
1081 ggtt->vm.clear_range(&ggtt->vm, vma_res->start, vma_res->node_size); in uc_fw_unbind_ggtt()

12