Home
last modified time | relevance | path

Searched refs:pfile (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/staging/rtl8723bs/os_dep/
H A Dxmit_linux.c10 uint rtw_remainder_len(struct pkt_file *pfile) in rtw_remainder_len() argument
12 return (pfile->buf_len - ((SIZE_PTR)(pfile->cur_addr) - (SIZE_PTR)(pfile->buf_start))); in rtw_remainder_len()
15 void _rtw_open_pktfile(struct sk_buff *pktptr, struct pkt_file *pfile) in _rtw_open_pktfile() argument
17 pfile->pkt = pktptr; in _rtw_open_pktfile()
18 pfile->cur_addr = pfile->buf_start = pktptr->data; in _rtw_open_pktfile()
19 pfile->pkt_len = pfile->buf_len = pktptr->len; in _rtw_open_pktfile()
21 pfile->cur_buffer = pfile->buf_start; in _rtw_open_pktfile()
24 uint _rtw_pktfile_read(struct pkt_file *pfile, u8 *rmem, uint rlen) in _rtw_pktfile_read() argument
28 len = rtw_remainder_len(pfile); in _rtw_pktfile_read()
32 skb_copy_bits(pfile->pkt, pfile->buf_len - pfile->pkt_len, rmem, len); in _rtw_pktfile_read()
[all …]
/linux/scripts/dtc/
H A Dfstree.c38 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/staging/rtl8723bs/include/
H A Dxmit_osdep.h36 extern uint rtw_remainder_len(struct pkt_file *pfile);
37 extern void _rtw_open_pktfile(struct sk_buff *pkt, struct pkt_file *pfile);
38 extern uint _rtw_pktfile_read(struct pkt_file *pfile, u8 *rmem, uint rlen);
39 extern signed int rtw_endofpktfile(struct pkt_file *pfile);
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.h40 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 Dpanthor_sched.c3006 void panthor_fdinfo_gather_group_samples(struct panthor_file *pfile) in panthor_fdinfo_gather_group_samples() argument
3008 struct panthor_group_pool *gpool = pfile->groups; in panthor_fdinfo_gather_group_samples()
3018 pfile->stats.cycles += group->fdinfo.data.cycles; in panthor_fdinfo_gather_group_samples()
3019 pfile->stats.time += group->fdinfo.data.time; in panthor_fdinfo_gather_group_samples()
3607 int panthor_group_create(struct panthor_file *pfile, in panthor_group_create() argument
3612 struct panthor_device *ptdev = pfile->ptdev; in panthor_group_create()
3613 struct panthor_group_pool *gpool = pfile->groups; in panthor_group_create()
3661 group->vm = panthor_vm_pool_get_vm(pfile->vms, group_args->vm_id); in panthor_group_create()
3748 int panthor_group_destroy(struct panthor_file *pfile, u32 group_handle) in panthor_group_destroy() argument
3750 struct panthor_group_pool *gpool = pfile->groups; in panthor_group_destroy()
[all …]
H A Dpanthor_mmu.c1581 void panthor_vm_pool_destroy(struct panthor_file *pfile) in panthor_vm_pool_destroy() argument
1586 if (!pfile->vms) in panthor_vm_pool_destroy()
1589 xa_for_each(&pfile->vms->xa, i, vm) in panthor_vm_pool_destroy()
1592 xa_destroy(&pfile->vms->xa); in panthor_vm_pool_destroy()
1593 kfree(pfile->vms); in panthor_vm_pool_destroy()
1602 int panthor_vm_pool_create(struct panthor_file *pfile) in panthor_vm_pool_create() argument
1604 pfile->vms = kzalloc(sizeof(*pfile->vms), GFP_KERNEL); in panthor_vm_pool_create()
1605 if (!pfile->vms) in panthor_vm_pool_create()
1608 xa_init_flags(&pfile->vms->xa, XA_FLAGS_ALLOC1); in panthor_vm_pool_create()
1938 void panthor_vm_heaps_sizes(struct panthor_file *pfile, struct drm_memory_stats *stats) in panthor_vm_heaps_sizes() argument
[all …]
/linux/drivers/target/
H A Dtarget_core_file.c590 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/fs/smb/client/
H A Dcifsglob.h544 int (*notify)(const unsigned int xid, struct file *pfile,
1772 struct file *pfile; member
H A Dsmb2ops.c2349 smb3_notify(const unsigned int xid, struct file *pfile, in smb3_notify()
2354 struct dentry *dentry = pfile->f_path.dentry; in smb3_notify()
2355 struct inode *inode = file_inode(pfile); in smb3_notify()
2343 smb3_notify(const unsigned int xid,struct file * pfile,void __user * ioc_buf,bool return_changes) smb3_notify() argument