Home
last modified time | relevance | path

Searched refs:filp_open (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/drivers/usb/gadget/function/
Du_uac1_legacy.c211 snd->filp = filp_open(fn_cntl, O_RDWR, 0); in gaudio_open_snd_dev()
223 snd->filp = filp_open(fn_play, O_WRONLY, 0); in gaudio_open_snd_dev()
238 snd->filp = filp_open(fn_cap, O_RDONLY, 0); in gaudio_open_snd_dev()
Dstorage_common.c194 filp = filp_open(filename, O_RDWR | O_LARGEFILE, 0); in fsg_lun_open()
199 filp = filp_open(filename, O_RDONLY | O_LARGEFILE, 0); in fsg_lun_open()
/linux-6.6.21/init/
Ddo_mounts_rd.c198 out_file = filp_open("/dev/ram", O_RDWR, 0); in rd_load_image()
202 in_file = filp_open(from, O_RDONLY, 0); in rd_load_image()
Dinitramfs.c372 wfile = filp_open(collected, openflags, mode); in do_name()
676 file = filp_open("/initrd.image", O_WRONLY | O_CREAT, 0700); in populate_initrd_image()
Dmain.c1510 struct file *file = filp_open("/dev/console", O_RDWR, 0); in console_on_rootfs()
/linux-6.6.21/fs/
Dkernel_read_file.c137 file = filp_open(path, O_RDONLY, 0); in kernel_read_file_from_path()
Dopen.c1378 struct file *filp_open(const char *filename, int flags, umode_t mode) in filp_open() function
1389 EXPORT_SYMBOL(filp_open);
Dcoredump.c705 cprm.file = filp_open(cn.corename, open_flags, 0600); in do_coredump()
/linux-6.6.21/fs/pstore/
Dblk.c212 psblk_file = filp_open(devpath, O_RDWR | O_DSYNC | O_NOATIME | O_EXCL, 0); in __register_pstore_blk()
/linux-6.6.21/drivers/target/
Dtarget_core_file.c140 file = filp_open(fd_dev->fd_dev_name, flags, 0600); in fd_configure_device()
854 prot_file = filp_open(buf, flags, 0600); in fd_init_prot()
Dtarget_core_configfs.c134 fp = filp_open(db_root_stage, O_RDONLY, 0); in target_core_item_dbroot_store()
3617 fp = filp_open(db_root_stage, O_RDONLY, 0); in target_init_dbroot()
Dtarget_core_alua.c860 struct file *file = filp_open(path, O_RDWR | O_CREAT | O_TRUNC, 0600); in core_alua_write_tpg_metadata()
Dtarget_core_pr.c1969 file = filp_open(path, flags, 0600); in __core_scsi3_write_aptpl_to_file()
/linux-6.6.21/lib/
Dtest_lockup.c534 test_file = filp_open(test_file_path, O_RDONLY, 0); in test_lockup_init()
/linux-6.6.21/drivers/nvme/target/
Dio-cmd-file.c41 ns->file = filp_open(ns->device_path, flags, 0); in nvmet_file_ns_enable()
Dpassthru.c591 file = filp_open(subsys->passthru_ctrl_path, O_RDWR, 0); in nvmet_passthru_ctrl_enable()
/linux-6.6.21/fs/nfsd/
Dnfs4recover.c543 nn->rec_file = filp_open(user_recovery_dirname, O_RDONLY | O_DIRECTORY, 0); in nfsd4_init_recdir()
/linux-6.6.21/drivers/mtd/nand/raw/
Dnandsim.c542 cfile = filp_open(cache_file, O_CREAT | O_RDWR | O_LARGEFILE, 0600); in ns_alloc_device()
/linux-6.6.21/drivers/block/zram/
Dzram_drv.c494 backing_dev = filp_open(file_name, O_RDWR|O_LARGEFILE, 0); in backing_dev_store()
/linux-6.6.21/include/linux/
Dfs.h2499 extern struct file *filp_open(const char *, int, umode_t);