Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/gadget/function/
H A 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()
H A 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()
/openbmc/linux/init/
H A 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()
H A Dinitramfs.c372 wfile = filp_open(collected, openflags, mode); in do_name()
676 file = filp_open("/initrd.image", O_WRONLY|O_CREAT|O_LARGEFILE, 0700); in populate_initrd_image()
H A Dmain.c1512 struct file *file = filp_open("/dev/console", O_RDWR, 0); in console_on_rootfs()
/openbmc/linux/fs/
H A Dkernel_read_file.c137 file = filp_open(path, O_RDONLY, 0); in kernel_read_file_from_path()
H A Dopen.c1378 struct file *filp_open(const char *filename, int flags, umode_t mode) in filp_open() function
1389 EXPORT_SYMBOL(filp_open);
H A Dcoredump.c705 cprm.file = filp_open(cn.corename, open_flags, 0600); in do_coredump()
/openbmc/linux/fs/pstore/
H A Dblk.c212 psblk_file = filp_open(devpath, O_RDWR | O_DSYNC | O_NOATIME | O_EXCL, 0); in __register_pstore_blk()
/openbmc/linux/drivers/target/
H A 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()
H A 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()
H A Dtarget_core_alua.c860 struct file *file = filp_open(path, O_RDWR | O_CREAT | O_TRUNC, 0600); in core_alua_write_tpg_metadata()
H A Dtarget_core_pr.c1969 file = filp_open(path, flags, 0600); in __core_scsi3_write_aptpl_to_file()
/openbmc/linux/lib/
H A Dtest_lockup.c534 test_file = filp_open(test_file_path, O_RDONLY, 0); in test_lockup_init()
/openbmc/linux/drivers/nvme/target/
H A Dio-cmd-file.c41 ns->file = filp_open(ns->device_path, flags, 0); in nvmet_file_ns_enable()
H A Dpassthru.c591 file = filp_open(subsys->passthru_ctrl_path, O_RDWR, 0); in nvmet_passthru_ctrl_enable()
/openbmc/linux/fs/nfsd/
H A Dnfs4recover.c543 nn->rec_file = filp_open(user_recovery_dirname, O_RDONLY | O_DIRECTORY, 0); in nfsd4_init_recdir()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dnandsim.c542 cfile = filp_open(cache_file, O_CREAT | O_RDWR | O_LARGEFILE, 0600); in ns_alloc_device()
/openbmc/linux/drivers/block/zram/
H A Dzram_drv.c494 backing_dev = filp_open(file_name, O_RDWR|O_LARGEFILE, 0); in backing_dev_store()
/openbmc/linux/include/linux/
H A Dfs.h2505 extern struct file *filp_open(const char *, int, umode_t);