Lines Matching full:sx

1173 static void fuse_statx_to_attr(struct fuse_statx *sx, struct fuse_attr *attr)  in fuse_statx_to_attr()  argument
1176 attr->ino = sx->ino; in fuse_statx_to_attr()
1177 attr->size = sx->size; in fuse_statx_to_attr()
1178 attr->blocks = sx->blocks; in fuse_statx_to_attr()
1179 attr->atime = sx->atime.tv_sec; in fuse_statx_to_attr()
1180 attr->mtime = sx->mtime.tv_sec; in fuse_statx_to_attr()
1181 attr->ctime = sx->ctime.tv_sec; in fuse_statx_to_attr()
1182 attr->atimensec = sx->atime.tv_nsec; in fuse_statx_to_attr()
1183 attr->mtimensec = sx->mtime.tv_nsec; in fuse_statx_to_attr()
1184 attr->ctimensec = sx->ctime.tv_nsec; in fuse_statx_to_attr()
1185 attr->mode = sx->mode; in fuse_statx_to_attr()
1186 attr->nlink = sx->nlink; in fuse_statx_to_attr()
1187 attr->uid = sx->uid; in fuse_statx_to_attr()
1188 attr->gid = sx->gid; in fuse_statx_to_attr()
1189 attr->rdev = new_encode_dev(MKDEV(sx->rdev_major, sx->rdev_minor)); in fuse_statx_to_attr()
1190 attr->blksize = sx->blksize; in fuse_statx_to_attr()
1198 struct fuse_statx *sx; in fuse_do_statx() local
1229 sx = &outarg.stat; in fuse_do_statx()
1230 if (((sx->mask & STATX_SIZE) && !fuse_valid_size(sx->size)) || in fuse_do_statx()
1231 ((sx->mask & STATX_TYPE) && (!fuse_valid_type(sx->mode) || in fuse_do_statx()
1232 inode_wrong_type(inode, sx->mode)))) { in fuse_do_statx()
1238 if ((sx->mask & STATX_BASIC_STATS) == STATX_BASIC_STATS) { in fuse_do_statx()
1244 stat->result_mask = sx->mask & (STATX_BASIC_STATS | STATX_BTIME); in fuse_do_statx()
1245 stat->btime.tv_sec = sx->btime.tv_sec; in fuse_do_statx()
1246 stat->btime.tv_nsec = min_t(u32, sx->btime.tv_nsec, NSEC_PER_SEC - 1); in fuse_do_statx()