Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/qib/
H A 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/tools/testing/selftests/landlock/
H A Dfs_test.c212 static void create_file(struct __test_metadata *const _metadata, in create_file() function
343 create_file(_metadata, file1_s1d1); in create_layout1()
344 create_file(_metadata, file1_s1d2); in create_layout1()
345 create_file(_metadata, file1_s1d3); in create_layout1()
346 create_file(_metadata, file2_s1d1); in create_layout1()
347 create_file(_metadata, file2_s1d2); in create_layout1()
348 create_file(_metadata, file2_s1d3); in create_layout1()
350 create_file(_metadata, file1_s2d1); in create_layout1()
351 create_file(_metadata, file1_s2d2); in create_layout1()
352 create_file(_metadata, file1_s2d3); in create_layout1()
[all …]