Home
last modified time | relevance | path

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

/fs/hfsplus/
Dbfind.c19 fd->bnode = NULL; in hfs_find_init()
32 hfs_bnode_put(fd->bnode); in hfs_find_exit()
40 int __hfs_brec_find(struct hfs_bnode *bnode, struct hfs_find_data *fd) in __hfs_brec_find() argument
49 e = bnode->num_recs - 1; in __hfs_brec_find()
53 len = hfs_brec_lenoff(bnode, rec, &off); in __hfs_brec_find()
54 keylen = hfs_brec_keylen(bnode, rec); in __hfs_brec_find()
55 hfs_bnode_read(bnode, fd->key, off, keylen); in __hfs_brec_find()
56 cmpval = bnode->tree->keycmp(fd->key, fd->search_key); in __hfs_brec_find()
68 len = hfs_brec_lenoff(bnode, e, &off); in __hfs_brec_find()
69 keylen = hfs_brec_keylen(bnode, e); in __hfs_brec_find()
[all …]
Dbrec.c63 if (!fd->bnode) { in hfs_brec_insert()
66 fd->bnode = hfs_bnode_find(tree, tree->leaf_head); in hfs_brec_insert()
67 if (IS_ERR(fd->bnode)) in hfs_brec_insert()
68 return PTR_ERR(fd->bnode); in hfs_brec_insert()
78 node = fd->bnode; in hfs_brec_insert()
129 hfs_bnode_put(fd->bnode); in hfs_brec_insert()
134 fd->bnode = hfs_bnode_find(tree, new_node->parent); in hfs_brec_insert()
143 __hfs_brec_find(fd->bnode, fd); in hfs_brec_insert()
170 node = fd->bnode; in hfs_brec_remove()
189 node = fd->bnode = parent; in hfs_brec_remove()
[all …]
Dcatalog.c258 hfs_bnode_read(fd.bnode, &fd.search_key->cat.name.length, off, 2); in hfsplus_delete_cat()
260 hfs_bnode_read(fd.bnode, &fd.search_key->cat.name.unicode, off + 2, len); in hfsplus_delete_cat()
269 type = hfs_bnode_read_u16(fd.bnode, fd.entryoffset); in hfsplus_delete_cat()
273 hfs_bnode_read(fd.bnode, &fork, off, sizeof(fork)); in hfsplus_delete_cat()
278 hfs_bnode_read(fd.bnode, &fork, off, sizeof(fork)); in hfsplus_delete_cat()
333 hfs_bnode_read(src_fd.bnode, &entry, src_fd.entryoffset, in hfsplus_rename_cat()
369 type = hfs_bnode_read_u16(src_fd.bnode, src_fd.entryoffset); in hfsplus_rename_cat()
385 hfs_bnode_put(dst_fd.bnode); in hfsplus_rename_cat()
Dinode.c402 type = hfs_bnode_read_u16(fd->bnode, fd->entryoffset); in hfsplus_cat_read_inode()
410 hfs_bnode_read(fd->bnode, &entry, fd->entryoffset, in hfsplus_cat_read_inode()
427 hfs_bnode_read(fd->bnode, &entry, fd->entryoffset, in hfsplus_cat_read_inode()
483 hfs_bnode_read(fd.bnode, &entry, fd.entryoffset, in hfsplus_cat_write_inode()
491 hfs_bnode_write(fd.bnode, &entry, fd.entryoffset, in hfsplus_cat_write_inode()
495 hfs_bnode_read(fd.bnode, &entry, fd.entryoffset, in hfsplus_cat_write_inode()
498 hfs_bnode_write(fd.bnode, &entry, fd.entryoffset, in hfsplus_cat_write_inode()
505 hfs_bnode_read(fd.bnode, &entry, fd.entryoffset, in hfsplus_cat_write_inode()
520 hfs_bnode_write(fd.bnode, &entry, fd.entryoffset, in hfsplus_cat_write_inode()
Dioctl.c113 hfs_bnode_read(fd.bnode, &entry, fd.entryoffset, in hfsplus_setxattr()
130 hfs_bnode_write(fd.bnode, &entry, fd.entryoffset, in hfsplus_setxattr()
156 hfs_bnode_read(fd.bnode, &entry, fd.entryoffset, in hfsplus_getxattr()
DMakefile8 bnode.o brec.o bfind.o tables.o unicode.o wrapper.o bitmap.o part_tbl.o
Ddir.c141 hfs_bnode_read(fd.bnode, &entry, fd.entryoffset, fd.entrylength); in hfsplus_readdir()
171 hfs_bnode_read(fd.bnode, &entry, fd.entryoffset, fd.entrylength); in hfsplus_readdir()
Dextents.c101 hfs_bnode_write(fd->bnode, HFSPLUS_I(inode).cached_extents, fd->entryoffset, fd->entrylength); in __hfsplus_ext_write_extent()
133 hfs_bnode_read(fd->bnode, extent, fd->entryoffset, sizeof(hfsplus_extent_rec)); in __hfsplus_ext_read_extent()
Dhfsplus_fs.h196 struct hfs_bnode *bnode; member
/fs/hfs/
Dbfind.c19 fd->bnode = NULL; in hfs_find_init()
32 hfs_bnode_put(fd->bnode); in hfs_find_exit()
40 int __hfs_brec_find(struct hfs_bnode *bnode, struct hfs_find_data *fd) in __hfs_brec_find() argument
49 e = bnode->num_recs - 1; in __hfs_brec_find()
53 len = hfs_brec_lenoff(bnode, rec, &off); in __hfs_brec_find()
54 keylen = hfs_brec_keylen(bnode, rec); in __hfs_brec_find()
59 hfs_bnode_read(bnode, fd->key, off, keylen); in __hfs_brec_find()
60 cmpval = bnode->tree->keycmp(fd->key, fd->search_key); in __hfs_brec_find()
72 len = hfs_brec_lenoff(bnode, e, &off); in __hfs_brec_find()
73 keylen = hfs_brec_keylen(bnode, e); in __hfs_brec_find()
[all …]
Dbrec.c76 if (!fd->bnode) { in hfs_brec_insert()
79 fd->bnode = hfs_bnode_find(tree, tree->leaf_head); in hfs_brec_insert()
80 if (IS_ERR(fd->bnode)) in hfs_brec_insert()
81 return PTR_ERR(fd->bnode); in hfs_brec_insert()
91 node = fd->bnode; in hfs_brec_insert()
142 hfs_bnode_put(fd->bnode); in hfs_brec_insert()
147 fd->bnode = hfs_bnode_find(tree, new_node->parent); in hfs_brec_insert()
156 __hfs_brec_find(fd->bnode, fd); in hfs_brec_insert()
183 node = fd->bnode; in hfs_brec_remove()
202 node = fd->bnode = parent; in hfs_brec_remove()
[all …]
Dattr.c35 hfs_bnode_read(fd.bnode, &rec, fd.entryoffset, in hfs_setxattr()
52 hfs_bnode_write(fd.bnode, &rec, fd.entryoffset, in hfs_setxattr()
79 hfs_bnode_read(fd.bnode, &rec, fd.entryoffset, in hfs_getxattr()
Dcatalog.c224 type = hfs_bnode_read_u8(fd.bnode, fd.entryoffset); in hfs_cat_delete()
227 hfs_bnode_read(fd.bnode, &file, fd.entryoffset, sizeof(file)); in hfs_cat_delete()
293 hfs_bnode_read(src_fd.bnode, &entry, src_fd.entryoffset, in hfs_cat_move()
349 hfs_bnode_put(dst_fd.bnode); in hfs_cat_move()
Dinode.c423 hfs_bnode_read(fd.bnode, &rec, fd.entryoffset, in hfs_write_inode()
432 hfs_bnode_write(fd.bnode, &rec, fd.entryoffset, in hfs_write_inode()
435 hfs_bnode_read(fd.bnode, &rec, fd.entryoffset, in hfs_write_inode()
439 hfs_bnode_write(fd.bnode, &rec, fd.entryoffset, in hfs_write_inode()
444 hfs_bnode_read(fd.bnode, &rec, fd.entryoffset, in hfs_write_inode()
457 hfs_bnode_write(fd.bnode, &rec, fd.entryoffset, in hfs_write_inode()
DMakefile7 hfs-objs := bitmap.o bfind.o bnode.o brec.o btree.o \
Ddir.c82 hfs_bnode_read(fd.bnode, &entry, fd.entryoffset, fd.entrylength); in hfs_readdir()
112 hfs_bnode_read(fd.bnode, &entry, fd.entryoffset, fd.entrylength); in hfs_readdir()
Dbtree.h73 struct hfs_bnode *bnode; member
Dextent.c125 hfs_bnode_write(fd->bnode, HFS_I(inode)->cached_extents, fd->entryoffset, fd->entrylength); in __hfs_ext_write_extent()
156 hfs_bnode_read(fd->bnode, extent, fd->entryoffset, sizeof(hfs_extent_rec)); in __hfs_ext_read_extent()
Dsuper.c390 hfs_bnode_read(fd.bnode, &rec, fd.entryoffset, fd.entrylength); in hfs_fill_super()