Searched refs:src_fd (Results 1 – 3 of 3) sorted by relevance
/fs/hfs/ |
D | catalog.c | 292 struct hfs_find_data src_fd, dst_fd; in hfs_cat_move() local 301 err = hfs_find_init(HFS_SB(sb)->cat_tree, &src_fd); in hfs_cat_move() 304 dst_fd = src_fd; in hfs_cat_move() 310 err = hfs_bmap_reserve(src_fd.tree, 2 * src_fd.tree->depth); in hfs_cat_move() 315 hfs_cat_build_key(sb, src_fd.search_key, src_dir->i_ino, src_name); in hfs_cat_move() 316 err = hfs_brec_find(&src_fd); in hfs_cat_move() 319 if (src_fd.entrylength > sizeof(entry) || src_fd.entrylength < 0) { in hfs_cat_move() 324 hfs_bnode_read(src_fd.bnode, &entry, src_fd.entryoffset, in hfs_cat_move() 325 src_fd.entrylength); in hfs_cat_move() 336 err = hfs_brec_insert(&dst_fd, &entry, src_fd.entrylength); in hfs_cat_move() [all …]
|
/fs/hfsplus/ |
D | catalog.c | 439 struct hfs_find_data src_fd, dst_fd; in hfsplus_rename_cat() local 447 err = hfs_find_init(HFSPLUS_SB(sb)->cat_tree, &src_fd); in hfsplus_rename_cat() 450 dst_fd = src_fd; in hfsplus_rename_cat() 456 err = hfs_bmap_reserve(src_fd.tree, 4 * (int)src_fd.tree->depth - 1); in hfsplus_rename_cat() 461 err = hfsplus_cat_build_key(sb, src_fd.search_key, in hfsplus_rename_cat() 466 err = hfs_brec_find(&src_fd, hfs_find_rec_by_key); in hfsplus_rename_cat() 469 if (src_fd.entrylength > sizeof(entry) || src_fd.entrylength < 0) { in hfsplus_rename_cat() 474 hfs_bnode_read(src_fd.bnode, &entry, src_fd.entryoffset, in hfsplus_rename_cat() 475 src_fd.entrylength); in hfsplus_rename_cat() 491 err = hfs_brec_insert(&dst_fd, &entry, src_fd.entrylength); in hfsplus_rename_cat() [all …]
|
/fs/ |
D | ioctl.c | 258 return ioctl_file_clone(file, args.src_fd, args.src_offset, in ioctl_file_clone_range()
|