Lines Matching refs:entry
95 static int hfsplus_cat_build_record(hfsplus_cat_entry *entry, in hfsplus_cat_build_record() argument
103 folder = &entry->folder; in hfsplus_cat_build_record()
120 file = &entry->file; in hfsplus_cat_build_record()
165 hfsplus_cat_entry *entry, int type, in hfsplus_fill_cat_thread() argument
168 entry->type = cpu_to_be16(type); in hfsplus_fill_cat_thread()
169 entry->thread.reserved = 0; in hfsplus_fill_cat_thread()
170 entry->thread.parentID = cpu_to_be32(parentid); in hfsplus_fill_cat_thread()
171 hfsplus_asc2uni(sb, &entry->thread.nodeName, HFSPLUS_MAX_STRLEN, in hfsplus_fill_cat_thread()
173 return 10 + be16_to_cpu(entry->thread.nodeName.length) * 2; in hfsplus_fill_cat_thread()
211 hfsplus_cat_entry entry; in hfsplus_create_cat() local
222 entry_size = hfsplus_fill_cat_thread(sb, &entry, in hfsplus_create_cat()
232 err = hfs_brec_insert(&fd, &entry, entry_size); in hfsplus_create_cat()
237 entry_size = hfsplus_cat_build_record(&entry, cnid, inode); in hfsplus_create_cat()
245 err = hfs_brec_insert(&fd, &entry, entry_size); in hfsplus_create_cat()
359 hfsplus_cat_entry entry; in hfsplus_rename_cat() local
376 if (src_fd.entrylength > sizeof(entry) || src_fd.entrylength < 0) { in hfsplus_rename_cat()
381 hfs_bnode_read(src_fd.bnode, &entry, src_fd.entryoffset, in hfsplus_rename_cat()
393 err = hfs_brec_insert(&dst_fd, &entry, src_fd.entrylength); in hfsplus_rename_cat()
422 entry_size = hfsplus_fill_cat_thread(sb, &entry, type, in hfsplus_rename_cat()
430 err = hfs_brec_insert(&dst_fd, &entry, entry_size); in hfsplus_rename_cat()