Lines Matching defs:how
17 bool needs_openat2(const struct open_how *how)
19 return how->resolve != 0;
22 int raw_openat2(int dfd, const char *path, void *how, size_t size)
24 int ret = syscall(__NR_openat2, dfd, path, how, size);
28 int sys_openat2(int dfd, const char *path, struct open_how *how)
30 return raw_openat2(dfd, path, how, sizeof(*how));
33 int sys_openat(int dfd, const char *path, struct open_how *how)
35 int ret = openat(dfd, path, how->flags, how->mode);
98 struct open_how how = {};
104 fd = sys_openat2(AT_FDCWD, ".", &how);