Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/core/
A Dclose_range_test.c257 ret = sys_close_range(1000, 1000, CLOSE_RANGE_CLOEXEC); in TEST()
271 ret = sys_close_range(open_fds[0], open_fds[50], CLOSE_RANGE_CLOEXEC); in TEST()
273 ret = sys_close_range(open_fds[75], open_fds[100], CLOSE_RANGE_CLOEXEC); in TEST()
298 ret = sys_close_range(3, UINT_MAX, CLOSE_RANGE_CLOEXEC); in TEST()
325 ret = sys_close_range(1000, 1000, CLOSE_RANGE_CLOEXEC); in TEST()
340 CLOSE_RANGE_CLOEXEC | CLOSE_RANGE_UNSHARE); in TEST()
343 CLOSE_RANGE_CLOEXEC | CLOSE_RANGE_UNSHARE); in TEST()
369 CLOSE_RANGE_CLOEXEC | CLOSE_RANGE_UNSHARE); in TEST()
408 ret = sys_close_range(3, ~0U, CLOSE_RANGE_CLOEXEC); in TEST()
531 CLOSE_RANGE_CLOEXEC); in TEST()
/linux/include/uapi/linux/
A Dclose_range.h9 #define CLOSE_RANGE_CLOEXEC (1U << 2) macro
/linux/fs/
A Dfile.c730 if (flags & ~(CLOSE_RANGE_UNSHARE | CLOSE_RANGE_CLOEXEC)) in __close_range()
744 if (flags & CLOSE_RANGE_CLOEXEC) in __close_range()
757 if (flags & CLOSE_RANGE_CLOEXEC) in __close_range()

Completed in 13 milliseconds