Lines Matching refs:file

130 		struct hfsplus_cat_file *file;  in hfsplus_cat_build_record()  local
132 file = &entry->file; in hfsplus_cat_build_record()
133 memset(file, 0, sizeof(*file)); in hfsplus_cat_build_record()
134 file->type = cpu_to_be16(HFSPLUS_FILE); in hfsplus_cat_build_record()
135 file->flags = cpu_to_be16(HFSPLUS_FILE_THREAD_EXISTS); in hfsplus_cat_build_record()
136 file->id = cpu_to_be32(cnid); in hfsplus_cat_build_record()
138 file->create_date = in hfsplus_cat_build_record()
139 file->content_mod_date = in hfsplus_cat_build_record()
140 file->attribute_mod_date = in hfsplus_cat_build_record()
141 file->access_date = hfsp_now2mt(); in hfsplus_cat_build_record()
143 hfsplus_cat_set_perms(inode, &file->permissions); in hfsplus_cat_build_record()
145 file->user_info.fdType = in hfsplus_cat_build_record()
147 file->user_info.fdCreator = in hfsplus_cat_build_record()
150 file->user_info.fdType = in hfsplus_cat_build_record()
152 file->user_info.fdCreator = in hfsplus_cat_build_record()
156 (file->permissions.rootflags | in hfsplus_cat_build_record()
157 file->permissions.userflags)) in hfsplus_cat_build_record()
158 file->flags |= in hfsplus_cat_build_record()
161 file->user_info.fdType = in hfsplus_cat_build_record()
163 file->user_info.fdCreator = in hfsplus_cat_build_record()
165 file->user_info.fdFlags = in hfsplus_cat_build_record()
167 file->create_date = in hfsplus_cat_build_record()
169 file->permissions.dev = in hfsplus_cat_build_record()
172 return sizeof(*file); in hfsplus_cat_build_record()
400 rd->file->f_pos--; in hfsplus_delete_cat()