Home
last modified time | relevance | path

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

/linux-4.19.296/fs/hfs/
Dbfind.c20 fd->bnode = NULL; in hfs_find_init()
46 hfs_bnode_put(fd->bnode); in hfs_find_exit()
55 int __hfs_brec_find(struct hfs_bnode *bnode, struct hfs_find_data *fd) in __hfs_brec_find() argument
64 e = bnode->num_recs - 1; in __hfs_brec_find()
68 len = hfs_brec_lenoff(bnode, rec, &off); in __hfs_brec_find()
69 keylen = hfs_brec_keylen(bnode, rec); in __hfs_brec_find()
74 hfs_bnode_read(bnode, fd->key, off, keylen); in __hfs_brec_find()
75 cmpval = bnode->tree->keycmp(fd->key, fd->search_key); in __hfs_brec_find()
87 len = hfs_brec_lenoff(bnode, e, &off); in __hfs_brec_find()
88 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()
DMakefile7 hfs-objs := bitmap.o bfind.o bnode.o brec.o btree.o \
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()
Dinode.c466 hfs_bnode_read(fd.bnode, &rec, fd.entryoffset, in hfs_write_inode()
475 hfs_bnode_write(fd.bnode, &rec, fd.entryoffset, in hfs_write_inode()
480 hfs_bnode_read(fd.bnode, &rec, fd.entryoffset, in hfs_write_inode()
484 hfs_bnode_write(fd.bnode, &rec, fd.entryoffset, in hfs_write_inode()
489 hfs_bnode_read(fd.bnode, &rec, fd.entryoffset, in hfs_write_inode()
502 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.c432 hfs_bnode_read(fd.bnode, &rec, fd.entryoffset, fd.entrylength); in hfs_fill_super()
/linux-4.19.296/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 …]
Dinode.c473 type = hfs_bnode_read_u16(fd->bnode, fd->entryoffset); in hfsplus_cat_read_inode()
484 hfs_bnode_read(fd->bnode, &entry, fd->entryoffset, in hfsplus_cat_read_inode()
508 hfs_bnode_read(fd->bnode, &entry, fd->entryoffset, in hfsplus_cat_read_inode()
571 hfs_bnode_read(fd.bnode, &entry, fd.entryoffset, in hfsplus_cat_write_inode()
583 hfs_bnode_write(fd.bnode, &entry, fd.entryoffset, in hfsplus_cat_write_inode()
587 hfs_bnode_read(fd.bnode, &entry, fd.entryoffset, in hfsplus_cat_write_inode()
590 hfs_bnode_write(fd.bnode, &entry, fd.entryoffset, in hfsplus_cat_write_inode()
600 hfs_bnode_read(fd.bnode, &entry, fd.entryoffset, in hfsplus_cat_write_inode()
613 hfs_bnode_write(fd.bnode, &entry, fd.entryoffset, in hfsplus_cat_write_inode()
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()
DMakefile9 bnode.o brec.o bfind.o tables.o unicode.o wrapper.o bitmap.o part_tbl.o \
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()
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()
/linux-4.19.296/fs/btrfs/
Drelocation.c324 struct backref_node *bnode = rb_entry(rb_node, struct backref_node, in backref_tree_panic() local
326 if (bnode->root) in backref_tree_panic()
327 fs_info = bnode->root->fs_info; in backref_tree_panic()