Searched refs:open_mode (Results 1 – 4 of 4) sorted by relevance
/linux/tools/testing/selftests/cachestat/ |
H A D | test_cachestat.c | 120 int open_flags, mode_t open_mode) in test_cachestat() argument 129 int fd = open(filename, open_flags, open_mode); in test_cachestat()
|
/linux/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 4212 const mode_t open_mode; in FIXTURE_VARIANT() local 4226 .open_mode = O_RDWR, in FIXTURE_VARIANT_ADD() 4235 .open_mode = O_RDWR, in FIXTURE_VARIANT_ADD() 4244 .open_mode = O_RDWR, in FIXTURE_VARIANT_ADD() 4266 file_fd = open("/dev/zero", variant->open_mode); in TEST_F_FORK() 4346 file_fd = open("/dev/zero", variant->open_mode); in TEST_F_FORK()
|
/linux/include/linux/ |
H A D | blkdev.h | 207 blk_mode_t open_mode; member
|
/linux/fs/nfs/ |
H A D | nfs4proc.c | 1521 int open_mode, enum open_claim_type4 claim) in can_open_cached() argument 1525 if (open_mode & (O_EXCL|O_TRUNC)) in can_open_cached() 1914 int open_mode = opendata->o_arg.open_flags; in nfs4_try_open_cached() local 1922 if (can_open_cached(state, fmode, open_mode, claim)) { in nfs4_try_open_cached() 1939 ret = nfs_may_open(state->inode, state->owner->so_cred, open_mode); in nfs4_try_open_cached()
|