/linux-6.12.1/fs/hfsplus/ |
D | brec.c | 25 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 …]
|
D | btree.c | 75 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()
|
D | xattr.c | 55 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 …]
|
D | bnode.c | 303 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()
|
D | hfsplus_fs.h | 87 unsigned int node_size; member 386 u32 hfsplus_calc_btree_clump_size(u32 block_size, u32 node_size, u64 sectors,
|
D | hfsplus_raw.h | 173 __be16 node_size; member
|
D | inode.c | 86 if (tree->node_size >= PAGE_SIZE) { in hfsplus_release_folio()
|
/linux-6.12.1/fs/hfs/ |
D | brec.c | 24 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 …]
|
D | btree.c | 92 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()
|
D | btree.h | 38 unsigned int node_size; member 153 __be16 node_size; /* (F) The number of bytes in a node (=512) */ member
|
D | bnode.c | 154 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()
|
D | inode.c | 91 if (tree->node_size >= PAGE_SIZE) { in hfs_release_folio()
|
/linux-6.12.1/drivers/gpu/drm/i915/ |
D | i915_vma_resource.h | 127 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()
|
D | i915_vma_resource.c | 38 #define VMA_RES_LAST(_node) ((_node)->start + (_node)->node_size + (_node)->guard - 1)
|
/linux-6.12.1/fs/befs/ |
D | befs_fs_types.h | 219 fs32 node_size; member 229 u32 node_size; member
|
D | btree.c | 152 sup->node_size = fs32_to_cpu(sb, od_sup->node_size); in befs_bt_read_super()
|
D | debug.c | 233 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/ |
D | bdisp-hw.c | 452 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/ |
D | bootconfig.c | 91 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/ |
D | ksm_tests.c | 468 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/ |
D | hinic_hw_api_cmd.c | 733 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/ |
D | bootconfig.h | 288 int __init xbc_get_info(int *node_size, size_t *data_size);
|
/linux-6.12.1/drivers/gpu/drm/i915/gt/ |
D | intel_ggtt.c | 487 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()
|
D | gen8_ppgtt.c | 702 vma_res->node_size, in gen8_ppgtt_insert_huge()
|
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/ |
D | intel_uc_fw.c | 1049 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()
|