Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/rtl8712/
H A Dxmit_linux.c34 return (uint)(pfile->buf_len - ((addr_t)(pfile->cur_addr) - in remainder_len()
35 (addr_t)(pfile->buf_start))); in remainder_len()
40 pfile->pkt = pktptr; in _r8712_open_pktfile()
41 pfile->cur_addr = pfile->buf_start = pktptr->data; in _r8712_open_pktfile()
42 pfile->pkt_len = pfile->buf_len = pktptr->len; in _r8712_open_pktfile()
43 pfile->cur_buffer = pfile->buf_start; in _r8712_open_pktfile()
50 len = remainder_len(pfile); in _r8712_pktfile_read()
53 skb_copy_bits(pfile->pkt, pfile->buf_len - pfile->pkt_len, in _r8712_pktfile_read()
55 pfile->cur_addr += len; in _r8712_pktfile_read()
56 pfile->pkt_len -= len; in _r8712_pktfile_read()
[all …]
H A Dxmit_osdep.h46 void _r8712_open_pktfile(_pkt *pktptr, struct pkt_file *pfile);
47 uint _r8712_pktfile_read(struct pkt_file *pfile, u8 *rmem, uint rlen);
48 sint r8712_endofpktfile(struct pkt_file *pfile);
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/
H A Dxmit_linux.c11 uint rtw_remainder_len(struct pkt_file *pfile) in rtw_remainder_len() argument
13 return (pfile->buf_len - ((SIZE_PTR)(pfile->cur_addr) - (SIZE_PTR)(pfile->buf_start))); in rtw_remainder_len()
18 pfile->pkt = pktptr; in _rtw_open_pktfile()
19 pfile->cur_addr = pfile->buf_start = pktptr->data; in _rtw_open_pktfile()
20 pfile->pkt_len = pfile->buf_len = pktptr->len; in _rtw_open_pktfile()
22 pfile->cur_buffer = pfile->buf_start; in _rtw_open_pktfile()
29 len = rtw_remainder_len(pfile); in _rtw_pktfile_read()
33 skb_copy_bits(pfile->pkt, pfile->buf_len - pfile->pkt_len, rmem, len); in _rtw_pktfile_read()
35 pfile->cur_addr += len; in _rtw_pktfile_read()
36 pfile->pkt_len -= len; in _rtw_pktfile_read()
[all …]
/openbmc/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()
/openbmc/u-boot/scripts/dtc/
H A Dfstree.c53 FILE *pfile; in read_fstree() local
55 pfile = fopen(tmpname, "rb"); in read_fstree()
56 if (! pfile) { in read_fstree()
62 data_copy_file(pfile, in read_fstree()
65 fclose(pfile); in read_fstree()
/openbmc/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);
/openbmc/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_perfcnt.c271 struct panfrost_file_priv *pfile = file_priv->driver_priv; in panfrost_perfcnt_close() local
272 struct panfrost_device *pfdev = pfile->pfdev; in panfrost_perfcnt_close()
277 if (perfcnt->user == pfile) in panfrost_perfcnt_close()
/openbmc/linux/drivers/net/netdevsim/
H A Dipsec.c291 ns->ipsec.pfile = debugfs_create_file("ipsec", 0400, in nsim_ipsec_init()
303 debugfs_remove_recursive(ipsec->pfile); in nsim_ipsec_teardown()
H A Dnetdevsim.h51 struct dentry *pfile; member
/openbmc/linux/fs/smb/client/
H A Dcifsfs.h103 extern int cifs_flock(struct file *pfile, int cmd, struct file_lock *plock);
H A Dcifsglob.h511 int (*notify)(const unsigned int xid, struct file *pfile,
1788 struct file *pfile; member
H A Dsmb2ops.c2171 smb3_notify(const unsigned int xid, struct file *pfile, in smb3_notify() argument
2176 struct dentry *dentry = pfile->f_path.dentry; in smb3_notify()
2177 struct inode *inode = file_inode(pfile); in smb3_notify()
/openbmc/linux/drivers/target/
H A Dtarget_core_file.c594 struct file *pfile = fd_dev->fd_prot_file; in fd_execute_rw_buffered() local
603 ret = fd_do_rw(cmd, pfile, dev->prot_length, in fd_execute_rw_buffered()
656 ret = fd_do_rw(cmd, pfile, dev->prot_length, in fd_execute_rw_buffered()
/openbmc/openbmc/poky/meta/recipes-devtools/gcc/gcc/
H A D0002-gcc-poison-system-directories.patch200 @@ -399,6 +400,26 @@ merge_include_chains (const char *sysroot, cpp_reader *pfile, int verbose)
/openbmc/openbmc/poky/meta/classes/
H A Dcve-check.bbclass258 with open(pkgfilepath) as pfile:
259 text_data += pfile.read()