Home
last modified time | relevance | path

Searched refs:filep (Results 1 – 25 of 45) sorted by relevance

12

/netbsd-src/external/bsd/libevent/dist/
H A Devent_rpcgen.py93 def PrintIndented(filep, ident, code): argument
96 filep.write("%s%s\n" % (ident, entry))
105 def PrintTags(self, filep): argument
107 filep.write("/* Tag definition for %s */\n" % self._name)
108 filep.write("enum %s_ {\n" % self._name.lower())
110 filep.write(" %s=%d,\n" % (self.EntryTagName(entry), entry.Tag()))
111 filep.write(" %s_MAX_TAGS\n" % (self._name.upper()))
112 filep.write("};\n\n")
114 def PrintForwardDeclaration(self, filep): argument
115 filep.write("struct %s;\n" % self._name)
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdkfd/
H A Dkfd_chardev.c112 static int kfd_open(struct inode *inode, struct file *filep) in kfd_open() argument
130 process = kfd_create_process(filep); in kfd_open()
140 filep->private_data = process; in kfd_open()
148 static int kfd_release(struct inode *inode, struct file *filep) in kfd_release() argument
150 struct kfd_process *process = filep->private_data; in kfd_release()
158 static int kfd_ioctl_get_version(struct file *filep, struct kfd_process *p, in kfd_ioctl_get_version() argument
274 static int kfd_ioctl_create_queue(struct file *filep, struct kfd_process *p, in kfd_ioctl_create_queue() argument
312 err = pqm_create_queue(&p->pqm, dev, filep, &q_properties, &queue_id, in kfd_ioctl_create_queue()
469 static int kfd_ioctl_get_queue_wave_state(struct file *filep, in kfd_ioctl_get_queue_wave_state() argument
487 static int kfd_ioctl_set_memory_policy(struct file *filep, in kfd_ioctl_set_memory_policy() argument
[all …]
H A Dkfd_process.c72 static int kfd_process_init_cwsr_apu(struct kfd_process *p, struct file *filep);
273 struct kfd_process *kfd_create_process(struct file *filep) in kfd_create_process() argument
302 ret = kfd_process_init_cwsr_apu(process, filep); in kfd_create_process()
559 static int kfd_process_init_cwsr_apu(struct kfd_process *p, struct file *filep) in kfd_process_init_cwsr_apu() argument
572 qpd->tba_addr = (int64_t)vm_mmap(filep, 0, in kfd_process_init_cwsr_apu()
H A Dkfd_priv.h748 typedef int amdkfd_ioctl_t(struct file *filep, struct kfd_process *p,
762 struct kfd_process *kfd_create_process(struct file *filep);
/netbsd-src/external/cddl/dtracetoolkit/dist/FS/
H A Dfsrw.d80 this->filep = this->ufentryp->uf_file;
81 self->offset = this->filep->f_offset;
82 this->vnodep = this->filep != 0 ? this->filep->f_vnode : 0;
H A Dfspaging.d84 this->filep = this->ufentryp->uf_file;
85 self->offset = this->filep->f_offset;
86 this->vnodep = this->filep != 0 ? this->filep->f_vnode : 0;
/netbsd-src/external/cddl/dtracetoolkit/dist/Bin/
H A Dfsrw.d80 this->filep = this->ufentryp->uf_file;
81 self->offset = this->filep->f_offset;
82 this->vnodep = this->filep != 0 ? this->filep->f_vnode : 0;
H A Dmmapfiles.d48 this->filep = curthread->t_procp->p_user.u_finfo.fi_list[arg4].uf_file;
49 this->vnodep = this->filep != 0 ? this->filep->f_vnode : 0;
H A Dfspaging.d84 this->filep = this->ufentryp->uf_file;
85 self->offset = this->filep->f_offset;
86 this->vnodep = this->filep != 0 ? this->filep->f_vnode : 0;
/netbsd-src/external/cddl/dtracetoolkit/dist/Proc/
H A Dmmapfiles.d48 this->filep = curthread->t_procp->p_user.u_finfo.fi_list[arg4].uf_file;
49 this->vnodep = this->filep != 0 ? this->filep->f_vnode : 0;
/netbsd-src/crypto/external/bsd/netpgp/dist/src/lib/
H A Dbufgap.c133 FILE *filep; in bufgap_open() local
137 filep = NULL; in bufgap_open()
138 if (f != NULL && (filep = fopen(f, "r")) == NULL) { in bufgap_open()
145 (void) fstat(fileno(filep), &s); in bufgap_open()
149 (size_t)s.st_size, filep); in bufgap_open()
150 (void) fclose(filep); in bufgap_open()
503 bufgap_write(bufgap_t *bp, FILE *filep) in bufgap_write() argument
505 if (fwrite(bp->buf, sizeof(char), (size_t)bp->abc, filep) != (size_t)bp->abc) { in bufgap_write()
508 if (fwrite(&BEFSUB(bp, bp->bbc), sizeof(char), (size_t)bp->bbc, filep) != (size_t)bp->bbc) { in bufgap_write()
/netbsd-src/crypto/external/bsd/netpgp/dist/src/netpgpverify/
H A Dbufgap.c122 FILE *filep; in bufgap_open() local
126 filep = NULL; in bufgap_open()
127 if (f != NULL && (filep = fopen(f, "r")) == NULL) { in bufgap_open()
134 (void) fstat(fileno(filep), &s); in bufgap_open()
138 (size_t)s.st_size, filep); in bufgap_open()
139 (void) fclose(filep); in bufgap_open()
492 bufgap_write(bufgap_t *bp, FILE *filep) in bufgap_write() argument
494 if (fwrite(bp->buf, sizeof(char), (size_t)bp->abc, filep) != (size_t)bp->abc) { in bufgap_write()
497 if (fwrite(&BEFSUB(bp, bp->bbc), sizeof(char), (size_t)bp->bbc, filep) != (size_t)bp->bbc) { in bufgap_write()
/netbsd-src/external/cddl/dtracetoolkit/dist/Snippits/
H A Dfd2pathname.txt27 this->filep =
29 this->vnodep = this->filep != 0 ? this->filep->f_vnode : 0;
/netbsd-src/sys/external/bsd/drm2/dist/drm/
H A Ddrm_debugfs_crc.c198 static int crtc_crc_open(struct inode *inode, struct file *filep) in crtc_crc_open() argument
261 static int crtc_crc_release(struct inode *inode, struct file *filep) in crtc_crc_release() argument
263 struct drm_crtc *crtc = filep->f_inode->i_private; in crtc_crc_release()
287 static ssize_t crtc_crc_read(struct file *filep, char __user *user_buf, in crtc_crc_read() argument
290 struct drm_crtc *crtc = filep->f_inode->i_private; in crtc_crc_read()
305 if (filep->f_flags & O_NONBLOCK) { in crtc_crc_read()
/netbsd-src/external/ibm-public/postfix/dist/src/tls/
H A Dtls_certkey.c466 char **filep; in load_chain_files() local
471 for (filep = files->argv; ret == 0 && *filep; ++filep) { in load_chain_files()
472 st.source = *filep; in load_chain_files()
478 more = filep[1] ? PEM_LOAD_READ_MORE : PEM_LOAD_READ_LAST; in load_chain_files()
/netbsd-src/sys/arch/mvmeppc/stand/libsa/
H A Dparse_args.c40 parse_args(char *astart, const char *aend, const char **filep, int *flagp, int *partp) in parse_args() argument
79 *filep = name; in parse_args()
/netbsd-src/sys/arch/mvme68k/stand/libsa/
H A Dparse_args.c41 parse_args(char **filep, int *flagp, int *partp) in parse_args() argument
79 *filep = name; in parse_args()
/netbsd-src/usr.bin/sdiff/
H A Dsdiff.c984 struct fileline *filep; in printc() local
986 filep = SIMPLEQ_FIRST(&delqhead); in printc()
987 enqueue(filep->line, '<', NULL); in printc()
989 free(filep); in printc()
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dwasm-module.c717 void * filep, in wasm_print_symbol() argument
721 FILE *file = (FILE *) filep; in wasm_print_symbol()
730 bfd_print_symbol_vandf (abfd, filep, symbol); in wasm_print_symbol()
H A Decofflink.c333 bool filep; member
397 && (*tail)->filep in add_file_shuffle()
417 n->filep = true; in add_file_shuffle()
450 n->filep = false; in add_memory_shuffle()
1530 if (! l->filep) in ecoff_write_shuffle()
2512 if (! l->filep) in ecoff_collect_shuffle()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dwasm-module.c717 void * filep, in wasm_print_symbol() argument
721 FILE *file = (FILE *) filep; in wasm_print_symbol()
730 bfd_print_symbol_vandf (abfd, filep, symbol); in wasm_print_symbol()
H A Decofflink.c333 bool filep; member
397 && (*tail)->filep in add_file_shuffle()
417 n->filep = true; in add_file_shuffle()
450 n->filep = false; in add_memory_shuffle()
1532 if (! l->filep) in ecoff_write_shuffle()
2407 if (! l->filep) in ecoff_collect_shuffle()
/netbsd-src/libexec/tftpd/
H A Dtftpd.c774 validate_access(char **filep, int mode) in validate_access() argument
784 filename = *filep; in validate_access()
846 *filep = filename = pathname; in validate_access()
888 *filep = filename; in validate_access()
/netbsd-src/sys/external/bsd/drm2/dist/include/drm/
H A Ddrm_gem.h439 long drm_gem_dma_resv_wait(struct drm_file *filep, u32 handle,
/netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/
H A Dradeon_ttm.c1184 static int radeon_ttm_vram_open(struct inode *inode, struct file *filep) in radeon_ttm_vram_open() argument
1188 filep->private_data = inode->i_private; in radeon_ttm_vram_open()
1236 static int radeon_ttm_gtt_open(struct inode *inode, struct file *filep) in radeon_ttm_gtt_open() argument
1240 filep->private_data = inode->i_private; in radeon_ttm_gtt_open()

12