/linux-6.3-rc2/fs/hfsplus/ |
A 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()
|
A 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() 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() 269 old_rec_off = tree->node_size - 4; in hfs_bnode_split() 304 new_rec_off = tree->node_size - 2; in hfs_bnode_split() 389 rec_off = tree->node_size - (rec + 2) * 2; in hfs_brec_update_parent() 405 rec_off = tree->node_size - (rec + 2) * 2; in hfs_brec_update_parent() 406 end_rec_off = tree->node_size - in hfs_brec_update_parent() [all …]
|
A 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() 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() 217 for (; written < node_size; index++, written += PAGE_SIZE) { in hfsplus_create_attributes_file() [all …]
|
A 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()
|
A D | hfsplus_fs.h | 87 unsigned int node_size; member 385 u32 hfsplus_calc_btree_clump_size(u32 block_size, u32 node_size, u64 sectors,
|
A D | hfsplus_raw.h | 173 __be16 node_size; member
|
A D | inode.c | 92 if (tree->node_size >= PAGE_SIZE) { in hfsplus_release_folio()
|
/linux-6.3-rc2/fs/hfs/ |
A D | brec.c | 24 dataoff = node->tree->node_size - (rec + 2) * 2; in hfs_brec_lenoff() 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() 400 rec_off = tree->node_size - (rec + 2) * 2; in hfs_brec_update_parent() [all …]
|
A 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()
|
A D | btree.h | 38 unsigned int node_size; member 153 __be16 node_size; /* (F) The number of bytes in a node (=512) */ member
|
A 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()
|
A D | inode.c | 97 if (tree->node_size >= PAGE_SIZE) { in hfs_release_folio()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/ |
A D | i915_vma_resource.h | 117 u64 node_size; member 202 u64 node_size, in i915_vma_resource_init() argument 220 vma_res->node_size = node_size; in i915_vma_resource_init()
|
A D | i915_vma_resource.c | 38 #define VMA_RES_LAST(_node) ((_node)->start + (_node)->node_size + (_node)->guard - 1)
|
/linux-6.3-rc2/fs/befs/ |
A D | befs_fs_types.h | 219 fs32 node_size; member 229 u32 node_size; member
|
A D | btree.c | 152 sup->node_size = fs32_to_cpu(sb, od_sup->node_size); in befs_bt_read_super()
|
A D | debug.c | 233 befs_debug(sb, " node_size %u", fs32_to_cpu(sb, super->node_size)); in befs_dump_index_entry()
|
/linux-6.3-rc2/drivers/media/platform/st/sti/bdisp/ |
A 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.3-rc2/lib/ |
A D | bootconfig.c | 90 int __init xbc_get_info(int *node_size, size_t *data_size) in xbc_get_info() argument 95 if (node_size) in xbc_get_info() 96 *node_size = xbc_node_num; in xbc_get_info()
|
/linux-6.3-rc2/tools/testing/selftests/mm/ |
A D | ksm_tests.c | 387 long node_size; in get_next_mem_node() local 393 node_size = numa_node_size(mem_node, NULL); in get_next_mem_node() 394 if (node_size > 0) in get_next_mem_node()
|
/linux-6.3-rc2/include/linux/ |
A D | bootconfig.h | 287 int __init xbc_get_info(int *node_size, size_t *data_size);
|
/linux-6.3-rc2/drivers/net/ethernet/huawei/hinic/ |
A 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.3-rc2/drivers/gpu/drm/i915/gt/ |
A D | intel_ggtt.c | 277 end += (vma_res->node_size + vma_res->guard) / I915_GTT_PAGE_SIZE; in gen8_ggtt_insert_entries() 332 end += (vma_res->node_size + vma_res->guard) / I915_GTT_PAGE_SIZE; in gen6_ggtt_insert_entries()
|
A D | gen8_ppgtt.c | 668 vma_res->node_size, in gen8_ppgtt_insert_huge()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gt/uc/ |
A D | intel_uc_fw.c | 871 dummy->node_size = obj->base.size; in uc_fw_bind_ggtt()
|