Searched refs:pfile (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/gpu/drm/panthor/ |
| H A D | panthor_drv.c | 876 struct panthor_file *pfile = file->driver_priv; in panthor_ioctl_vm_create() local 883 ret = panthor_vm_pool_create_vm(ptdev, pfile->vms, args); in panthor_ioctl_vm_create() 896 struct panthor_file *pfile = file->driver_priv; in panthor_ioctl_vm_destroy() local 902 return panthor_vm_pool_destroy_vm(pfile->vms, args->id); in panthor_ioctl_vm_destroy() 911 struct panthor_file *pfile = file->driver_priv; in panthor_ioctl_bo_create() local 932 vm = panthor_vm_pool_get_vm(pfile->vms, args->exclusive_vm_id); in panthor_ioctl_bo_create() 984 struct panthor_file *pfile = file->driver_priv; in panthor_ioctl_group_submit() local 1009 job = panthor_job_create(pfile, args->group_handle, qsubmit, in panthor_ioctl_group_submit() 1090 struct panthor_file *pfile = file->driver_priv; in panthor_ioctl_group_destroy() local 1096 return panthor_group_destroy(pfile, args->group_handle); in panthor_ioctl_group_destroy() [all …]
|
| H A D | panthor_mmu.h | 40 void panthor_vm_heaps_sizes(struct panthor_file *pfile, struct drm_memory_stats *stats); 60 void panthor_vm_pool_destroy(struct panthor_file *pfile); 61 int panthor_vm_pool_create(struct panthor_file *pfile);
|
| H A D | panthor_sched.c | 3020 void panthor_fdinfo_gather_group_samples(struct panthor_file *pfile) in panthor_fdinfo_gather_group_samples() argument 3022 struct panthor_group_pool *gpool = pfile->groups; in panthor_fdinfo_gather_group_samples() 3032 pfile->stats.cycles += group->fdinfo.data.cycles; in panthor_fdinfo_gather_group_samples() 3033 pfile->stats.time += group->fdinfo.data.time; in panthor_fdinfo_gather_group_samples() 3633 int panthor_group_create(struct panthor_file *pfile, in panthor_group_create() argument 3638 struct panthor_device *ptdev = pfile->ptdev; in panthor_group_create() 3639 struct panthor_group_pool *gpool = pfile->groups; in panthor_group_create() 3687 group->vm = panthor_vm_pool_get_vm(pfile->vms, group_args->vm_id); in panthor_group_create() 3774 int panthor_group_destroy(struct panthor_file *pfile, u32 group_handle) in panthor_group_destroy() argument 3776 struct panthor_group_pool *gpool = pfile->groups; in panthor_group_destroy() [all …]
|
| H A D | panthor_mmu.c | 1565 void panthor_vm_pool_destroy(struct panthor_file *pfile) in panthor_vm_pool_destroy() argument 1570 if (!pfile->vms) in panthor_vm_pool_destroy() 1573 xa_for_each(&pfile->vms->xa, i, vm) in panthor_vm_pool_destroy() 1576 xa_destroy(&pfile->vms->xa); in panthor_vm_pool_destroy() 1577 kfree(pfile->vms); in panthor_vm_pool_destroy() 1586 int panthor_vm_pool_create(struct panthor_file *pfile) in panthor_vm_pool_create() argument 1588 pfile->vms = kzalloc_obj(*pfile->vms); in panthor_vm_pool_create() 1589 if (!pfile->vms) in panthor_vm_pool_create() 1592 xa_init_flags(&pfile->vms->xa, XA_FLAGS_ALLOC1); in panthor_vm_pool_create() 1988 void panthor_vm_heaps_sizes(struct panthor_file *pfile, struct drm_memory_stats *stats) in panthor_vm_heaps_sizes() argument [all …]
|
| /linux/scripts/dtc/ |
| H A D | fstree.c | 38 FILE *pfile; in read_fstree() local 40 pfile = fopen(tmpname, "rb"); in read_fstree() 41 if (! pfile) { in read_fstree() 47 data_copy_file(pfile, in read_fstree() 51 fclose(pfile); in read_fstree()
|
| /linux/drivers/gpu/drm/panfrost/ |
| H A D | panfrost_drv.c | 826 static int show_file_jm_ctxs(struct panfrost_file_priv *pfile, in show_file_jm_ctxs() argument 832 xa_lock(&pfile->jm_ctxs); in show_file_jm_ctxs() 833 xa_for_each(&pfile->jm_ctxs, i, jm_ctx) { in show_file_jm_ctxs() 835 xa_unlock(&pfile->jm_ctxs); in show_file_jm_ctxs() 838 xa_lock(&pfile->jm_ctxs); in show_file_jm_ctxs() 840 xa_unlock(&pfile->jm_ctxs); in show_file_jm_ctxs() 874 struct panfrost_file_priv *pfile = file->driver_priv; in show_each_file() local 891 ret = show(pfile, m); in show_each_file()
|
| /linux/drivers/target/ |
| H A D | target_core_file.c | 590 struct file *pfile = fd_dev->fd_prot_file; in fd_execute_rw_buffered() local 599 ret = fd_do_rw(cmd, pfile, dev->prot_length, in fd_execute_rw_buffered() 652 ret = fd_do_rw(cmd, pfile, dev->prot_length, in fd_execute_rw_buffered()
|
| /linux/drivers/net/netdevsim/ |
| H A D | netdevsim.h | 54 struct dentry *pfile; member
|
| /linux/fs/smb/client/ |
| H A D | smb2ops.c | 2355 smb3_notify(const unsigned int xid, struct file *pfile, in smb3_notify() argument 2360 struct dentry *dentry = pfile->f_path.dentry; in smb3_notify() 2361 struct inode *inode = file_inode(pfile); in smb3_notify()
|