Searched refs:open (Results 251 - 275 of 2544) sorted by path

<<11121314151617181920>>

/linux-master/arch/x86/mm/pat/
H A Dset_memory.c188 .open = cpastats_open,
/linux-master/arch/x86/tools/
H A Dinsn_sanity.c109 fd = open("/dev/urandom", O_RDONLY);
119 usage("Failed to open /dev/urandom");
182 usage("Failed to open input file");
/linux-master/arch/xtensa/platforms/iss/
H A Dconsole.c97 .open = rs_open,
H A Dnetwork.c58 int (*open)(struct iss_net_private *lp); member in struct:iss_net_ops
166 pr_err("%s: failed to open /dev/net/tun, returned %d (errno = %d)\n",
215 .open = tuntap_open,
353 err = lp->tp.net_ops->open(lp);
H A Dsimdisk.c144 .open = simdisk_open,
167 pr_err("SIMDISK: Can't open %s: %d\n", filename, errno);
/linux-master/block/
H A Dbdev.c126 * Someone else has handle exclusively open. Try invalidating instead.
569 * Finish exclusive open of a block device. Mark the device as exlusively
570 * open by the holder and wake up all waiters for exclusive open to finish.
599 * Abort claiming of a block device when the exclusive open failed. This can be
600 * also used when exclusive open is not actually desired and we just needed
667 if (disk->fops->open) {
668 ret = disk->fops->open(disk, mode);
737 * failed to open that block device. Also this doesn't make sense.
848 * bdev_open - open
[all...]
H A Dblk-mq-debugfs.c592 .open = blk_mq_debugfs_open,
H A Dbsg.c162 .open = bsg_open,
H A Dfops.c559 * file_to_blk_mode - get block open flags from file flags
560 * @file: file whose open flags should be converted
562 * Look at file open flags and generate corresponding block open flags from
563 * them. The function works both for file just being open (e.g. during ->open
564 * callback) and for file that is already open. This is actually non-trivial
577 * to determine whether the open was exclusive for already open files.
846 .open
[all...]
/linux-master/drivers/accel/
H A Ddrm_accel.c214 * accel_open - open method for ACCEL file
218 * This function must be used by drivers as their &file_operations.open method.
220 * resources for it. It also calls the &drm_driver.open driver callback.
271 if (filp->f_op->open)
272 err = filp->f_op->open(inode, filp);
284 .open = accel_stub_open,
/linux-master/drivers/accel/habanalabs/common/
H A Ddebugfs.c1556 .open = hl_debugfs_open,
H A Ddevice.c499 * a user open the device while there a reset is about to happen.
520 * thread, we don't care because the in_reset is marked so if a user will try to open
678 .open = hl_device_open_ctrl,
1249 /* Flush anyone that is inside device open */
1436 * We killed the open users, but that doesn't mean they are closed.
1712 "%s Failed to kill all open processes, stopping hard reset\n",
1723 "%s Failed to kill all open processes, stopping hard reset\n",
2507 dev_crit(hdev->dev, "Failed to kill all open processes (%d)\n", rc);
2514 dev_crit(hdev->dev, "Failed to kill all control device open processes (%d)\n", rc);
H A Dfirmware_if.c608 int hl_fw_send_device_activity(struct hl_device *hdev, bool open) argument
615 pkt.value = cpu_to_le64(open);
618 dev_err(hdev->dev, "failed to send device activity msg(%u)\n", open);
H A Dhabanalabs.h600 * @max_asid: maximum number of open contexts (ASIDs).
1751 int (*send_device_activity)(struct hl_device *hdev, bool open);
3285 * @last_successful_open_ktime: timestamp (ktime) of the last successful device open.
3287 * device open.
3288 * @last_open_session_duration_jif: duration (jiffies) of the last device open
3290 * @open_counter: number of successful device open operations.
3968 int hl_fw_send_device_activity(struct hl_device *hdev, bool open);
H A Dhabanalabs_drv.c88 .open = accel_open,
107 .open = hl_device_open,
169 * hl_device_open() - open function for habanalabs device.
201 "Can't open %s because it is %s\n",
215 "Can't open %s during dram scrub\n",
223 "Can't open %s because another user is still releasing it\n",
231 "Can't open %s because another user is working on it\n",
310 "Can't open %s because it is disabled\n",
/linux-master/drivers/accel/habanalabs/gaudi/
H A Dgaudi.c9115 static int gaudi_send_device_activity(struct hl_device *hdev, bool open) argument
/linux-master/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c11560 int gaudi2_send_device_activity(struct hl_device *hdev, bool open) argument
11567 return hl_fw_send_device_activity(hdev, open);
H A Dgaudi2P.h610 int gaudi2_send_device_activity(struct hl_device *hdev, bool open);
/linux-master/drivers/accel/habanalabs/goya/
H A Dgoya.c5436 static int goya_send_device_activity(struct hl_device *hdev, bool open) argument
/linux-master/drivers/accel/ivpu/
H A Divpu_debugfs.c144 .open = simple_open,
177 .open = fw_log_fops_open,
207 .open = simple_open,
234 .open = simple_open,
261 .open = simple_open,
287 .open = simple_open,
312 .open = simple_open,
334 .open = simple_open,
H A Divpu_drv.c394 .open = ivpu_open,
H A Divpu_gem.c248 .open = ivpu_gem_bo_open,
/linux-master/drivers/accel/qaic/
H A Dqaic_data.c596 .open = drm_gem_vm_open,
H A Dqaic_debugfs.c74 .open = bootlog_fops_open,
95 .open = fifo_size_open,
125 .open = queued_open,
H A Dqaic_drv.c213 .open = qaic_open,

Completed in 453 milliseconds

<<11121314151617181920>>