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 | 4211 const mode_t open_mode; in FIXTURE_VARIANT() local 4225 .open_mode = O_RDWR, in FIXTURE_VARIANT_ADD() 4234 .open_mode = O_RDWR, in FIXTURE_VARIANT_ADD() 4243 .open_mode = O_RDWR, in FIXTURE_VARIANT_ADD() 4265 file_fd = open("/dev/zero", variant->open_mode); in TEST_F_FORK() 4345 file_fd = open("/dev/zero", variant->open_mode); in TEST_F_FORK()
|
/linux/include/linux/ |
H A D | blkdev.h | 214 blk_mode_t open_mode; member
|
/linux/fs/nfs/ |
H A D | nfs4proc.c | 1549 int open_mode, enum open_claim_type4 claim) in can_open_cached() argument 1553 if (open_mode & (O_EXCL|O_TRUNC)) in can_open_cached() 1942 int open_mode = opendata->o_arg.open_flags; in nfs4_try_open_cached() local 1950 if (can_open_cached(state, fmode, open_mode, claim)) { in nfs4_try_open_cached() 1967 ret = nfs_may_open(state->inode, state->owner->so_cred, open_mode); in nfs4_try_open_cached()
|