Lines Matching refs:src_fd
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()
344 hfs_cat_build_key(sb, src_fd.search_key, src_dir->i_ino, src_name); in hfs_cat_move()
345 err = hfs_brec_find(&src_fd); in hfs_cat_move()
348 err = hfs_brec_remove(&src_fd); in hfs_cat_move()
360 hfs_cat_build_key(sb, src_fd.search_key, cnid, NULL); in hfs_cat_move()
361 err = hfs_brec_find(&src_fd); in hfs_cat_move()
364 err = hfs_brec_remove(&src_fd); in hfs_cat_move()
381 hfs_find_exit(&src_fd); in hfs_cat_move()