Searched refs:getattr_ret (Results 1 – 2 of 2) sorted by relevance
77 struct hmdfs_getattr_ret *getattr_ret = NULL; in get_remote_inode_info() local84 err = hmdfs_remote_getattr(con, dentry, flags, &getattr_ret); in get_remote_inode_info()92 if ((getattr_ret->stat.result_mask & expected_flags) != in get_remote_inode_info()95 getattr_ret->stat.result_mask); in get_remote_inode_info()97 kfree(getattr_ret); in get_remote_inode_info()101 lookup_ret->i_mode = getattr_ret->stat.mode; in get_remote_inode_info()102 lookup_ret->i_size = getattr_ret->stat.size; in get_remote_inode_info()103 lookup_ret->i_mtime = getattr_ret->stat.mtime.tv_sec; in get_remote_inode_info()104 lookup_ret->i_mtime_nsec = getattr_ret->stat.mtime.tv_nsec; in get_remote_inode_info()105 lookup_ret->i_ino = getattr_ret->stat.ino; in get_remote_inode_info()[all …]
377 struct hmdfs_getattr_ret *getattr_ret = NULL; in hmdfs_remote_keep_writecache() local399 &getattr_ret); in hmdfs_remote_keep_writecache()405 if (!(getattr_ret->stat.result_mask & STATX_CTIME)) { in hmdfs_remote_keep_writecache()407 getattr_ret->stat.result_mask); in hmdfs_remote_keep_writecache()408 kfree(getattr_ret); in hmdfs_remote_keep_writecache()415 inode->i_ctime = getattr_ret->stat.ctime; in hmdfs_remote_keep_writecache()416 info->remote_ctime = getattr_ret->stat.ctime; in hmdfs_remote_keep_writecache()418 kfree(getattr_ret); in hmdfs_remote_keep_writecache()