Home
last modified time | relevance | path

Searched refs:p9attr (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/net/9p/
H A Dprotocol.c662 struct p9_iattr_dotl *p9attr = va_arg(ap, in p9pdu_vwritef() local
667 p9attr->valid, in p9pdu_vwritef()
668 p9attr->mode, in p9pdu_vwritef()
669 p9attr->uid, in p9pdu_vwritef()
670 p9attr->gid, in p9pdu_vwritef()
671 p9attr->size, in p9pdu_vwritef()
672 p9attr->atime_sec, in p9pdu_vwritef()
673 p9attr->atime_nsec, in p9pdu_vwritef()
674 p9attr->mtime_sec, in p9pdu_vwritef()
675 p9attr->mtime_nsec); in p9pdu_vwritef()
H A Dclient.c1856 int p9_client_setattr(struct p9_fid *fid, struct p9_iattr_dotl *p9attr) in p9_client_setattr() argument
1865 p9attr->valid, p9attr->mode, in p9_client_setattr()
1866 from_kuid(&init_user_ns, p9attr->uid), in p9_client_setattr()
1867 from_kgid(&init_user_ns, p9attr->gid), in p9_client_setattr()
1868 p9attr->size); in p9_client_setattr()
1870 p9attr->atime_sec, p9attr->atime_nsec); in p9_client_setattr()
1872 p9attr->mtime_sec, p9attr->mtime_nsec); in p9_client_setattr()
1874 req = p9_client_rpc(clnt, P9_TSETATTR, "dI", fid->fid, p9attr); in p9_client_setattr()
/openbmc/linux/fs/9p/
H A Dvfs_inode_dotl.c542 struct p9_iattr_dotl p9attr = { in v9fs_vfs_setattr_dotl() local
555 p9attr.valid = v9fs_mapped_iattr_valid(iattr->ia_valid); in v9fs_vfs_setattr_dotl()
557 p9attr.mode = iattr->ia_mode; in v9fs_vfs_setattr_dotl()
559 p9attr.uid = iattr->ia_uid; in v9fs_vfs_setattr_dotl()
561 p9attr.gid = iattr->ia_gid; in v9fs_vfs_setattr_dotl()
563 p9attr.size = iattr->ia_size; in v9fs_vfs_setattr_dotl()
565 p9attr.atime_sec = iattr->ia_atime.tv_sec; in v9fs_vfs_setattr_dotl()
566 p9attr.atime_nsec = iattr->ia_atime.tv_nsec; in v9fs_vfs_setattr_dotl()
569 p9attr.mtime_sec = iattr->ia_mtime.tv_sec; in v9fs_vfs_setattr_dotl()
570 p9attr.mtime_nsec = iattr->ia_mtime.tv_nsec; in v9fs_vfs_setattr_dotl()
[all …]