Home
last modified time | relevance | path

Searched refs:create_file (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_fs.c85 static int create_file(const char *name, umode_t mode, in create_file() function
366 ret = create_file(unit, S_IFDIR|S_IRUGO|S_IXUGO, sb->s_root, &dir, in add_cntr_files()
374 ret = create_file("counters", S_IFREG|S_IRUGO, dir, &tmp, in add_cntr_files()
381 ret = create_file("counter_names", S_IFREG|S_IRUGO, dir, &tmp, in add_cntr_files()
388 ret = create_file("portcounter_names", S_IFREG|S_IRUGO, dir, &tmp, in add_cntr_files()
400 ret = create_file(fname, S_IFREG|S_IRUGO, dir, &tmp, in add_cntr_files()
410 ret = create_file(fname, S_IFREG|S_IRUGO, dir, &tmp, in add_cntr_files()
419 ret = create_file("flash", S_IFREG|S_IWUSR|S_IRUGO, dir, &tmp, in add_cntr_files()
/linux-6.6.21/tools/testing/selftests/landlock/
Dfs_test.c192 static void create_file(struct __test_metadata *const _metadata, in create_file() function
315 create_file(_metadata, file1_s1d1); in create_layout1()
316 create_file(_metadata, file1_s1d2); in create_layout1()
317 create_file(_metadata, file1_s1d3); in create_layout1()
318 create_file(_metadata, file2_s1d1); in create_layout1()
319 create_file(_metadata, file2_s1d2); in create_layout1()
320 create_file(_metadata, file2_s1d3); in create_layout1()
322 create_file(_metadata, file1_s2d1); in create_layout1()
323 create_file(_metadata, file1_s2d2); in create_layout1()
324 create_file(_metadata, file1_s2d3); in create_layout1()
[all …]