Home
last modified time | relevance | path

Searched refs:nr_open (Results 1 – 6 of 6) sorted by relevance

/linux/tools/testing/selftests/core/
H A Dunshare_test.c32 int nr_open; in TEST() local
34 fd = open("/proc/sys/fs/nr_open", O_RDWR); in TEST()
41 ASSERT_EQ(sscanf(buf, "%d", &nr_open), 1); in TEST()
45 /* bump fs.nr_open */ in TEST()
46 n2 = sprintf(buf2, "%d\n", nr_open + 1024); in TEST()
51 rlimit.rlim_cur = nr_open + 1024; in TEST()
52 rlimit.rlim_max = nr_open + 1024; in TEST()
59 /* get a descriptor past the old fs.nr_open */ in TEST()
60 EXPECT_GE(dup2(2, nr_open + 64), 0) { in TEST()
77 /* restore fs.nr_open */ in TEST()
[all...]
/linux/net/netrom/
H A Dnr_dev.c119 static int nr_open(struct net_device *dev) in nr_open() function
161 .ndo_open = nr_open,
/linux/tools/testing/selftests/splice/
H A Dshort_splice_read.sh122 expect_success "proc_handler: proc_dointvec_minmax() splice" test_splice /proc/sys/fs/nr_open
/linux/Documentation/admin-guide/sysctl/
H A Dfs.rst133 nr_open section in 1. /proc/sys/fs
/linux/Documentation/filesystems/caching/
H A Dcachefiles.rst600 ``/proc/sys/fs/nr_open`` and ``/proc/sys/fs/file-max``. Typically these needn't
/linux/fs/xfs/
H A Dxfs_trace.h367 __field(unsigned int, nr_open)
375 __entry->nr_open = mp->m_zone_info->zi_nr_open_zones;
381 __entry->nr_open)