Home
last modified time | relevance | path

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

/coreutils/src/
Dstatx.h33 statx_to_stat (struct statx *stx, struct stat *stat) in statx_to_stat() argument
35 stat->st_dev = makedev (stx->stx_dev_major, stx->stx_dev_minor); in statx_to_stat()
36 stat->st_ino = stx->stx_ino; in statx_to_stat()
37 stat->st_mode = stx->stx_mode; in statx_to_stat()
38 stat->st_nlink = stx->stx_nlink; in statx_to_stat()
39 stat->st_uid = stx->stx_uid; in statx_to_stat()
40 stat->st_gid = stx->stx_gid; in statx_to_stat()
41 stat->st_rdev = makedev (stx->stx_rdev_major, stx->stx_rdev_minor); in statx_to_stat()
42 stat->st_size = stx->stx_size; in statx_to_stat()
43 stat->st_blksize = stx->stx_blksize; in statx_to_stat()
[all …]
Dstat.c1373 struct statx stx = {0}; in do_stat() local
1397 fd = statx (fd, pathname, flags, format_to_mask (format), &stx); in do_stat()
1407 if (S_ISBLK (stx.stx_mode) || S_ISCHR (stx.stx_mode)) in do_stat()
1410 statx_to_stat (&stx, &st); in do_stat()
1411 if (stx.stx_mask & STATX_BTIME) in do_stat()
1412 pa.btime = statx_timestamp_to_timespec (stx.stx_btime); in do_stat()
Dls.c1176 struct statx stx; in do_statx() local
1178 int ret = statx (fd, name, flags | AT_NO_AUTOMOUNT, mask, &stx); in do_statx()
1181 statx_to_stat (&stx, st); in do_statx()
1186 if (stx.stx_mask & STATX_BTIME) in do_statx()
1187 st->st_mtim = statx_timestamp_to_timespec (stx.stx_btime); in do_statx()