Home
last modified time | relevance | path

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

/linux/fs/hfsplus/
A 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()
330 hfs_bnode_clear(node, 0, tree->node_size); in hfs_bmap_new_bmap()
339 hfs_bnode_write_u16(node, tree->node_size - 2, 14); in hfs_bmap_new_bmap()
340 hfs_bnode_write_u16(node, tree->node_size - 4, tree->node_size - 6); in hfs_bmap_new_bmap()
A 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()
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 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()
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 Dbnode.c310 off = node->tree->node_size - 2; in hfs_bnode_dump()
532 rec_off = tree->node_size - 2; in hfs_bnode_find()
540 next_off > tree->node_size || in hfs_bnode_find()
597 min_t(int, PAGE_SIZE, tree->node_size)); in hfs_bnode_create()
644 hfs_bnode_clear(node, 0, tree->node_size); in hfs_bnode_put()
A Dhfsplus_fs.h87 unsigned int node_size; member
383 u32 hfsplus_calc_btree_clump_size(u32 block_size, u32 node_size, u64 sectors,
A Dhfsplus_raw.h173 __be16 node_size; member
A Dinode.c92 if (tree->node_size >= PAGE_SIZE) { in hfsplus_releasepage()
/linux/fs/hfs/
A Dbrec.c24 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 Dbtree.c91 tree->node_size = be16_to_cpu(head->node_size); in hfs_btree_open()
95 size = tree->node_size; in hfs_btree_open()
120 tree->pages_per_bnode = (tree->node_size + PAGE_SIZE - 1) >> PAGE_SHIFT; in hfs_btree_open()
208 hfs_bnode_clear(node, 0, tree->node_size); in hfs_bmap_new_bmap()
217 hfs_bnode_write_u16(node, tree->node_size - 2, 14); in hfs_bmap_new_bmap()
218 hfs_bnode_write_u16(node, tree->node_size - 4, tree->node_size - 6); in hfs_bmap_new_bmap()
A Dbnode.c161 off = node->tree->node_size - 2; in hfs_bnode_dump()
292 off = (loff_t)cnid * tree->node_size; in __hfs_bnode_create()
379 rec_off = tree->node_size - 2; in hfs_bnode_find()
387 next_off > tree->node_size || in hfs_bnode_find()
444 min((int)PAGE_SIZE, (int)tree->node_size)); in hfs_bnode_create()
A Dbtree.h38 unsigned int node_size; member
153 __be16 node_size; /* (F) The number of bytes in a node (=512) */ member
A Dinode.c97 if (tree->node_size >= PAGE_SIZE) { in hfs_releasepage()
/linux/fs/befs/
A Dbefs_fs_types.h219 fs32 node_size; member
229 u32 node_size; member
A Dbtree.c152 sup->node_size = fs32_to_cpu(sb, od_sup->node_size); in befs_bt_read_super()
A Ddebug.c233 befs_debug(sb, " node_size %u", fs32_to_cpu(sb, super->node_size)); in befs_dump_index_entry()
/linux/drivers/media/platform/sti/bdisp/
A 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/tools/testing/selftests/vm/
A Dksm_tests.c377 long node_size; in get_next_mem_node() local
383 node_size = numa_node_size(mem_node, NULL); in get_next_mem_node()
384 if (node_size > 0) in get_next_mem_node()
/linux/lib/
A Dbootconfig.c77 int __init xbc_get_info(int *node_size, size_t *data_size) in xbc_get_info() argument
82 if (node_size) in xbc_get_info()
83 *node_size = xbc_node_num; in xbc_get_info()
/linux/drivers/net/ethernet/huawei/hinic/
A 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/include/linux/
A Dbootconfig.h287 int __init xbc_get_info(int *node_size, size_t *data_size);

Completed in 34 milliseconds