Home
last modified time | relevance | path

Searched refs:bnode (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/fs/hfs/
Dbfind.c22 fd->bnode = NULL; in hfs_find_init()
48 hfs_bnode_put(fd->bnode); in hfs_find_exit()
57 int __hfs_brec_find(struct hfs_bnode *bnode, struct hfs_find_data *fd) in __hfs_brec_find() argument
66 e = bnode->num_recs - 1; in __hfs_brec_find()
70 len = hfs_brec_lenoff(bnode, rec, &off); in __hfs_brec_find()
71 keylen = hfs_brec_keylen(bnode, rec); in __hfs_brec_find()
76 hfs_bnode_read(bnode, fd->key, off, keylen); in __hfs_brec_find()
77 cmpval = bnode->tree->keycmp(fd->key, fd->search_key); in __hfs_brec_find()
89 len = hfs_brec_lenoff(bnode, e, &off); in __hfs_brec_find()
90 keylen = hfs_brec_keylen(bnode, e); in __hfs_brec_find()
[all …]
Dbrec.c75 if (!fd->bnode) { in hfs_brec_insert()
81 fd->bnode = node; in hfs_brec_insert()
91 node = fd->bnode; in hfs_brec_insert()
146 hfs_bnode_put(fd->bnode); in hfs_brec_insert()
151 fd->bnode = hfs_bnode_find(tree, new_node->parent); in hfs_brec_insert()
160 __hfs_brec_find(fd->bnode, fd); in hfs_brec_insert()
184 node = fd->bnode; in hfs_brec_remove()
204 node = fd->bnode = parent; in hfs_brec_remove()
240 node = fd->bnode; in hfs_bnode_split()
292 fd->bnode = new_node; in hfs_bnode_split()
[all …]
Dattr.c40 hfs_bnode_read(fd.bnode, &rec, fd.entryoffset, in __hfs_setxattr()
61 hfs_bnode_write(fd.bnode, &rec, fd.entryoffset, in __hfs_setxattr()
87 hfs_bnode_read(fd.bnode, &rec, fd.entryoffset, in __hfs_getxattr()
Dcatalog.c239 type = hfs_bnode_read_u8(fd.bnode, fd.entryoffset); in hfs_cat_delete()
242 hfs_bnode_read(fd.bnode, &file, fd.entryoffset, sizeof(file)); in hfs_cat_delete()
324 hfs_bnode_read(src_fd.bnode, &entry, src_fd.entryoffset, in hfs_cat_move()
380 hfs_bnode_put(dst_fd.bnode); in hfs_cat_move()
DMakefile8 hfs-objs := bitmap.o bfind.o bnode.o brec.o btree.o \
Dinode.c467 hfs_bnode_read(fd.bnode, &rec, fd.entryoffset, in hfs_write_inode()
476 hfs_bnode_write(fd.bnode, &rec, fd.entryoffset, in hfs_write_inode()
481 hfs_bnode_read(fd.bnode, &rec, fd.entryoffset, in hfs_write_inode()
485 hfs_bnode_write(fd.bnode, &rec, fd.entryoffset, in hfs_write_inode()
490 hfs_bnode_read(fd.bnode, &rec, fd.entryoffset, in hfs_write_inode()
503 hfs_bnode_write(fd.bnode, &rec, fd.entryoffset, in hfs_write_inode()
Ddir.c82 hfs_bnode_read(fd.bnode, &entry, fd.entryoffset, fd.entrylength); in hfs_readdir()
116 hfs_bnode_read(fd.bnode, &entry, fd.entryoffset, fd.entrylength); in hfs_readdir()
Dbtree.h81 struct hfs_bnode *bnode; member
Dextent.c129 hfs_bnode_write(fd->bnode, HFS_I(inode)->cached_extents, fd->entryoffset, fd->entrylength); in __hfs_ext_write_extent()
165 hfs_bnode_read(fd->bnode, extent, fd->entryoffset, sizeof(hfs_extent_rec)); in __hfs_ext_read_extent()
Dsuper.c425 hfs_bnode_read(fd.bnode, &rec, fd.entryoffset, fd.entrylength); in hfs_fill_super()
/kernel/linux/linux-5.10/fs/hfsplus/
Dbfind.c20 fd->bnode = NULL; in hfs_find_init()
46 hfs_bnode_put(fd->bnode); in hfs_find_exit()
54 int hfs_find_1st_rec_by_cnid(struct hfs_bnode *bnode, in hfs_find_1st_rec_by_cnid() argument
63 if (bnode->tree->cnid == HFSPLUS_EXT_CNID) { in hfs_find_1st_rec_by_cnid()
66 } else if (bnode->tree->cnid == HFSPLUS_CAT_CNID) { in hfs_find_1st_rec_by_cnid()
69 } else if (bnode->tree->cnid == HFSPLUS_ATTR_CNID) { in hfs_find_1st_rec_by_cnid()
92 int hfs_find_rec_by_key(struct hfs_bnode *bnode, in hfs_find_rec_by_key() argument
100 cmpval = bnode->tree->keycmp(fd->key, fd->search_key); in hfs_find_rec_by_key()
114 int __hfs_brec_find(struct hfs_bnode *bnode, struct hfs_find_data *fd, in __hfs_brec_find() argument
124 e = bnode->num_recs - 1; in __hfs_brec_find()
[all …]
Dxattr.c296 hfs_bnode_read(cat_fd.bnode, &entry, cat_fd.entryoffset, in __hfsplus_setxattr()
302 hfs_bnode_write(cat_fd.bnode, &entry, in __hfsplus_setxattr()
315 hfs_bnode_write(cat_fd.bnode, &entry, in __hfsplus_setxattr()
360 cat_entry_type = hfs_bnode_read_u16(cat_fd.bnode, cat_fd.entryoffset); in __hfsplus_setxattr()
362 cat_entry_flags = hfs_bnode_read_u16(cat_fd.bnode, in __hfsplus_setxattr()
368 hfs_bnode_write_u16(cat_fd.bnode, cat_fd.entryoffset + in __hfsplus_setxattr()
373 cat_entry_flags = hfs_bnode_read_u16(cat_fd.bnode, in __hfsplus_setxattr()
379 hfs_bnode_write_u16(cat_fd.bnode, cat_fd.entryoffset + in __hfsplus_setxattr()
461 entry_type = hfs_bnode_read_u16(fd.bnode, fd.entryoffset); in hfsplus_getxattr_finder_info()
464 hfs_bnode_read(fd.bnode, folder_finder_info, in hfsplus_getxattr_finder_info()
[all …]
Dbrec.c73 if (!fd->bnode) { in hfs_brec_insert()
79 fd->bnode = node; in hfs_brec_insert()
89 node = fd->bnode; in hfs_brec_insert()
146 hfs_bnode_put(fd->bnode); in hfs_brec_insert()
151 fd->bnode = hfs_bnode_find(tree, new_node->parent); in hfs_brec_insert()
160 __hfs_brec_find(fd->bnode, fd, hfs_find_rec_by_key); in hfs_brec_insert()
186 node = fd->bnode; in hfs_brec_remove()
206 node = fd->bnode = parent; in hfs_brec_remove()
244 node = fd->bnode; in hfs_bnode_split()
296 fd->bnode = new_node; in hfs_bnode_split()
[all …]
Dcatalog.c363 hfs_bnode_read(fd.bnode, in hfsplus_delete_cat()
366 hfs_bnode_read(fd.bnode, in hfsplus_delete_cat()
380 type = hfs_bnode_read_u16(fd.bnode, fd.entryoffset); in hfsplus_delete_cat()
384 hfs_bnode_read(fd.bnode, &fork, off, sizeof(fork)); in hfsplus_delete_cat()
390 hfs_bnode_read(fd.bnode, &fork, off, sizeof(fork)); in hfsplus_delete_cat()
474 hfs_bnode_read(src_fd.bnode, &entry, src_fd.entryoffset, in hfsplus_rename_cat()
521 type = hfs_bnode_read_u16(src_fd.bnode, src_fd.entryoffset); in hfsplus_rename_cat()
546 hfs_bnode_put(dst_fd.bnode); in hfsplus_rename_cat()
Dinode.c494 type = hfs_bnode_read_u16(fd->bnode, fd->entryoffset); in hfsplus_cat_read_inode()
505 hfs_bnode_read(fd->bnode, &entry, fd->entryoffset, in hfsplus_cat_read_inode()
529 hfs_bnode_read(fd->bnode, &entry, fd->entryoffset, in hfsplus_cat_read_inode()
592 hfs_bnode_read(fd.bnode, &entry, fd.entryoffset, in hfsplus_cat_write_inode()
604 hfs_bnode_write(fd.bnode, &entry, fd.entryoffset, in hfsplus_cat_write_inode()
608 hfs_bnode_read(fd.bnode, &entry, fd.entryoffset, in hfsplus_cat_write_inode()
611 hfs_bnode_write(fd.bnode, &entry, fd.entryoffset, in hfsplus_cat_write_inode()
621 hfs_bnode_read(fd.bnode, &entry, fd.entryoffset, in hfsplus_cat_write_inode()
634 hfs_bnode_write(fd.bnode, &entry, fd.entryoffset, in hfsplus_cat_write_inode()
Dattributes.c272 hfs_bnode_read(fd->bnode, &found_cnid, in __hfsplus_delete_attr()
279 hfs_bnode_read(fd->bnode, &record_type, in __hfsplus_delete_attr()
296 hfs_bnode_read(fd->bnode, fd->search_key, in __hfsplus_delete_attr()
DMakefile9 bnode.o brec.o bfind.o tables.o unicode.o wrapper.o bitmap.o part_tbl.o \
Dhfsplus_fs.h291 struct hfs_bnode *bnode; member
436 int hfs_find_1st_rec_by_cnid(struct hfs_bnode *bnode, struct hfs_find_data *fd,
438 int hfs_find_rec_by_key(struct hfs_bnode *bnode, struct hfs_find_data *fd,
440 int __hfs_brec_find(struct hfs_bnode *bnode, struct hfs_find_data *fd,
Ddir.c169 hfs_bnode_read(fd.bnode, &entry, fd.entryoffset, in hfsplus_readdir()
203 hfs_bnode_read(fd.bnode, &entry, fd.entryoffset, in hfsplus_readdir()
Dextents.c113 hfs_bnode_write(fd->bnode, hip->cached_extents, in __hfsplus_ext_write_extent()
172 hfs_bnode_read(fd->bnode, extent, fd->entryoffset, in __hfsplus_ext_read_extent()
/kernel/linux/linux-5.10/kernel/rcu/
Dtree.c3184 struct kvfree_rcu_bulk_data *bnode) in put_cached_bnode() argument
3190 llist_add((struct llist_node *) bnode, &krcp->bkvcache); in put_cached_bnode()
3413 struct kvfree_rcu_bulk_data *bnode; in fill_page_cache_func() local
3422 bnode = (struct kvfree_rcu_bulk_data *) in fill_page_cache_func()
3425 if (!bnode) in fill_page_cache_func()
3429 pushed = put_cached_bnode(krcp, bnode); in fill_page_cache_func()
3433 free_page((unsigned long) bnode); in fill_page_cache_func()
3456 struct kvfree_rcu_bulk_data *bnode; in kvfree_call_rcu_add_ptr_to_bulk() local
3468 bnode = get_cached_bnode(krcp); in kvfree_call_rcu_add_ptr_to_bulk()
3470 if (!bnode) in kvfree_call_rcu_add_ptr_to_bulk()
[all …]