Lines Matching refs:result
176 * *result to the corresponding inode.
197 struct inode *result = NULL;
231 result = iget_locked(dir->i_sb, ino);
232 if (!result) {
236 if (result->i_state & I_NEW) {
237 hpfs_init_inode(result);
239 hpfs_read_inode(result);
241 hpfs_read_inode(result);
243 result->i_mode |= S_IFREG;
244 result->i_mode &= ~0111;
245 result->i_op = &hpfs_file_iops;
246 result->i_fop = &hpfs_file_ops;
247 result->i_nlink = 1;
249 unlock_new_inode(result);
251 hpfs_result = hpfs_i(result);
254 hpfs_decide_conv(result, name, len);
257 hpfs_error(result->i_sb, "ACLs or XPERM found. This is probably HPFS386. This driver doesn't support it now. Send me some info on these structures");
266 if (!result->i_ctime.tv_sec) {
267 if (!(result->i_ctime.tv_sec = local_to_gmt(dir->i_sb, de->creation_date)))
268 result->i_ctime.tv_sec = 1;
269 result->i_ctime.tv_nsec = 0;
270 result->i_mtime.tv_sec = local_to_gmt(dir->i_sb, de->write_date);
271 result->i_mtime.tv_nsec = 0;
272 result->i_atime.tv_sec = local_to_gmt(dir->i_sb, de->read_date);
273 result->i_atime.tv_nsec = 0;
276 result->i_mode &= ~0222;
278 if (result->i_size == -1) {
279 result->i_size = de->file_size;
280 result->i_data.a_ops = &hpfs_aops;
281 hpfs_i(result)->mmu_private = result->i_size;
288 result->i_blocks = 1 + ((result->i_size + 511) >> 9);
303 d_add(dentry, result);