/systemd-251/src/basic/ |
D | recurse-dir.c | 149 STRUCT_STATX_DEFINE(sx); in recurse_dir() 203 … r = statx_fallback(subdir_fd, "", AT_EMPTY_PATH, statx_mask, &sx); in recurse_dir() 245 … r = statx_fallback(inode_fd, "", AT_EMPTY_PATH, statx_mask | STATX_TYPE, &sx); in recurse_dir() 249 assert(sx.stx_mask & STATX_TYPE); in recurse_dir() 252 if (S_ISDIR(sx.stx_mode)) { in recurse_dir() 267 … statx_fallback(dir_fd, de->entries[i]->d_name, AT_SYMLINK_NOFOLLOW, statx_mask | STATX_TYPE, &sx); in recurse_dir() 290 assert(sx.stx_mask & STATX_TYPE); in recurse_dir() 293 if (S_ISDIR(sx.stx_mode)) { in recurse_dir() 324 if (sx.stx_mask & STATX_TYPE) { in recurse_dir() 325 assert((subdir_fd < 0) == !S_ISDIR(sx.stx_mode)); in recurse_dir() [all …]
|
D | dirent-util.c | 12 STRUCT_STATX_DEFINE(sx); in dirent_ensure_type() 27 … r = statx_fallback(dirfd(d), de->d_name, AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_TYPE, &sx); in dirent_ensure_type() 31 assert(FLAGS_SET(sx.stx_mask, STATX_TYPE)); in dirent_ensure_type() 32 de->d_type = IFTODT(sx.stx_mode); in dirent_ensure_type() 35 if (FLAGS_SET(sx.stx_mask, STATX_INO)) in dirent_ensure_type() 36 de->d_ino = sx.stx_ino; in dirent_ensure_type()
|
D | mountpoint-util.c | 180 STRUCT_STATX_DEFINE(sx); in fd_is_mount_point() 214 AT_NO_AUTOMOUNT, STATX_TYPE, &sx) < 0) { in fd_is_mount_point() 219 } else if (FLAGS_SET(sx.stx_attributes_mask, STATX_ATTR_MOUNT_ROOT)) /* yay! */ in fd_is_mount_point() 220 return FLAGS_SET(sx.stx_attributes, STATX_ATTR_MOUNT_ROOT); in fd_is_mount_point() 221 else if (FLAGS_SET(sx.stx_mask, STATX_TYPE) && S_ISLNK(sx.stx_mode)) in fd_is_mount_point() 343 if (statx(AT_FDCWD, path, AT_SYMLINK_NOFOLLOW|AT_NO_AUTOMOUNT, STATX_MNT_ID, &buf.sx) < 0) { in path_get_mnt_id()
|
D | xattr-util.c | 141 STRUCT_STATX_DEFINE(sx); in fd_getcrtime_at() 165 &sx) >= 0 && in fd_getcrtime_at() 166 (sx.stx_mask & STATX_BTIME) && in fd_getcrtime_at() 167 sx.stx_btime.tv_sec != 0) in fd_getcrtime_at() 168 a = (usec_t) sx.stx_btime.tv_sec * USEC_PER_SEC + in fd_getcrtime_at() 169 (usec_t) sx.stx_btime.tv_nsec / NSEC_PER_USEC; in fd_getcrtime_at()
|
D | stat-util.h | 71 int statx_fallback(int dfd, const char *path, int flags, unsigned mask, struct statx *sx); 79 struct statx sx; \ 87 struct statx sx; \
|
D | stat-util.c | 371 int statx_fallback(int dfd, const char *path, int flags, unsigned mask, struct statx *sx) { in statx_fallback() argument 376 if (statx(dfd, path, flags, mask, sx) < 0) { in statx_fallback() 399 *sx = (struct statx) { in statx_fallback()
|
D | recurse-dir.h | 56 const struct statx *sx, /* statx data (only if statx_mask was non-zero) */
|
/systemd-251/src/tmpfiles/ |
D | tmpfiles.c | 588 STRUCT_STATX_DEFINE(sx); in dir_cleanup() 594 &sx); in dir_cleanup() 604 if (FLAGS_SET(sx.stx_attributes_mask, STATX_ATTR_MOUNT_ROOT)) { in dir_cleanup() 606 if (FLAGS_SET(sx.stx_attributes, STATX_ATTR_MOUNT_ROOT)) { in dir_cleanup() 613 if (sx.stx_dev_major != rootdev_major || in dir_cleanup() 614 sx.stx_dev_minor != rootdev_minor) { in dir_cleanup() 622 if (S_ISDIR(sx.stx_mode)) { in dir_cleanup() 635 … atime_nsec = FLAGS_SET(sx.stx_mask, STATX_ATIME) ? load_statx_timestamp_nsec(&sx.stx_atime) : 0; in dir_cleanup() 636 … mtime_nsec = FLAGS_SET(sx.stx_mask, STATX_MTIME) ? load_statx_timestamp_nsec(&sx.stx_mtime) : 0; in dir_cleanup() 637 … ctime_nsec = FLAGS_SET(sx.stx_mask, STATX_CTIME) ? load_statx_timestamp_nsec(&sx.stx_ctime) : 0; in dir_cleanup() [all …]
|
/systemd-251/src/core/ |
D | kmod-setup.c | 38 const struct statx *sx, in has_virtio_rng_recurse_dir_cb() argument
|
D | execute.c | 2795 const struct statx *sx, in load_cred_recurse_dir_cb() argument
|
/systemd-251/src/shared/ |
D | kbd-util.c | 25 const struct statx *sx, in keymap_recurse_dir_callback() argument
|
D | mount-setup.c | 369 const struct statx *sx, in relabel_cb() argument
|
D | cgroup-setup.c | 222 const struct statx *sx, in trim_cb() argument
|
/systemd-251/src/test/ |
D | test-recurse-dir.c | 61 const struct statx *sx, in recurse_dir_callback() argument
|
/systemd-251/docs/ |
D | style.css | 336 .highlight .sx { 464 …c, .highlight .dl, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
|
/systemd-251/hwdb.d/ |
D | usb.ids | 10290 0194 ProKeys 88sx
|
D | 20-usb-vendor-model.hwdb | 30804 ID_MODEL_FROM_DATABASE=ProKeys 88sx
|