/freebsd/lib/libc/stdio/ |
H A D | local.h | 91 __fgetwc(FILE *fp, locale_t locale) in __fgetwc() 102 #define prepwrite(fp) \ argument 111 #define HASUB(fp) ((fp)->_ub._base != NULL) argument 112 #define FREEUB(fp) { \ argument 121 #define HASLB(fp) ((fp)->_lb._base != NULL) argument 122 #define FREELB(fp) { \ argument 139 #define ORIENT(fp, o) do { \ argument 145 #define FLOCKFILE_CANCELSAFE(fp) \ argument
|
H A D | _flock_stub.c | 61 _flockfile(FILE *fp) in _flockfile() 82 _flockfile_debug_stub(FILE *fp, char *fname, int lineno) in _flockfile_debug_stub() 88 _ftrylockfile(FILE *fp) in _ftrylockfile() 109 _funlockfile(FILE *fp) in _funlockfile()
|
H A D | stdio.c | 51 FILE *fp = cookie; in __sread() local 59 FILE *fp = cookie; in __swrite() local 67 FILE *fp = cookie; in __sseek() local 83 _sread(FILE *fp, char *buf, int n) in _sread() 101 _swrite(FILE *fp, char const *buf, int n) in _swrite() 128 _sseek(FILE *fp, fpos_t offset, int whence) in _sseek()
|
H A D | fflush.c | 49 fflush(FILE *fp) in fflush() 84 __fflush(FILE *fp) in __fflush() 100 __sflush(FILE *fp) in __sflush() 139 sflush_locked(FILE *fp) in sflush_locked()
|
/freebsd/usr.sbin/ppp/ |
H A D | fsm.c | 129 struct fsm *fp = (struct fsm *)v; in StoppedTimeout() local 142 fsm_Init(struct fsm *fp, const char *name, u_short proto, int mincode, in fsm_Init() 169 NewState(struct fsm *fp, int new) in NewState() 188 fsm_Output(struct fsm *fp, u_int code, u_int id, u_char *ptr, unsigned count, in fsm_Output() 229 struct fsm *fp = (struct fsm *)v; in FsmOpenNow() local 255 fsm_Open(struct fsm *fp) in fsm_Open() 293 fsm_Up(struct fsm *fp) in fsm_Up() 314 fsm_Down(struct fsm *fp) in fsm_Down() 346 fsm_Close(struct fsm *fp) in fsm_Close() 383 FsmSendConfigReq(struct fsm *fp) in FsmSendConfigReq() [all …]
|
/freebsd/contrib/sendmail/libsm/ |
H A D | stdio.c | 60 sm_stdopen(fp, info, flags, rpool) in sm_stdopen() argument 125 sm_stdread(fp, buf, n) in sm_stdread() argument 154 sm_stdwrite(fp, buf, n) in sm_stdwrite() argument 179 sm_stdseek(fp, offset, whence) in sm_stdseek() argument 204 sm_stdclose(fp) in sm_stdclose() argument 225 sm_stdsetmode(fp, mode) in sm_stdsetmode() argument 267 sm_stdgetmode(fp, mode) in sm_stdgetmode() argument 303 sm_stdsetinfo(fp, what, valp) in sm_stdsetinfo() argument 335 sm_stdgetinfo(fp, what, valp) in sm_stdgetinfo() argument 404 sm_stdfdopen(fp, info, flags, rpool) in sm_stdfdopen() argument [all …]
|
H A D | local.h | 82 #define cantwrite(fp) \ argument 91 #define HASUB(fp) ((fp)->f_ub.smb_base != NULL) argument 92 #define FREEUB(fp) \ argument 103 #define sm_io_flockfile(fp) ((void) 0) argument 104 #define sm_io_funlockfile(fp) ((void) 0) argument 146 # define SM_CONVERT_TIME(fp, fd, val, time) { \ argument 225 #define SM_IO_WR_TIMEOUT(fp, fd, to) { \ argument
|
H A D | smstdio.c | 50 sm_stdioopen(fp, info, flags, rpool) in sm_stdioopen() argument 113 setup(fp) in setup() argument 149 sm_stdioread(fp, buf, n) in sm_stdioread() argument 175 sm_stdiowrite(fp, buf, n) in sm_stdiowrite() argument 201 sm_stdioseek(fp, offset, whence) in sm_stdioseek() argument 225 sm_stdioclose(fp) in sm_stdioclose() argument 251 sm_stdiosetinfo(fp, what, valp) in sm_stdiosetinfo() argument 280 sm_stdiogetinfo(fp, what, valp) in sm_stdiogetinfo() argument 332 SM_FILE_T *fp; local
|
H A D | strio.c | 92 sm_strread(fp, buf, n) in sm_strread() argument 125 sm_strwrite(fp, buf, n) in sm_strwrite() argument 164 sm_strseek(fp, offset, whence) in sm_strseek() argument 217 sm_stropen(fp, info, flags, rpool) in sm_stropen() argument 292 sm_strclose(fp) in sm_strclose() argument 320 sm_strsetmode(fp, mode) in sm_strsetmode() argument 363 sm_strgetmode(fp, mode) in sm_strgetmode() argument 403 sm_strsetinfo(fp, what, valp) in sm_strsetinfo() argument 434 sm_strgetinfo(fp, what, valp) in sm_strgetinfo() argument 474 sm_strio_init(fp, buf, size) in sm_strio_init() argument
|
H A D | syslogio.c | 75 sm_syslogread(fp, buf, n) in sm_syslogread() argument 104 sm_syslogwrite(fp, buf, n) in sm_syslogwrite() argument 129 sm_syslogseek(fp, offset, whence) in sm_syslogseek() argument 150 sm_syslogclose(fp) in sm_syslogclose() argument 173 sm_syslogsetinfo(fp, what, valp) in sm_syslogsetinfo() argument 206 sm_sysloggetinfo(fp, what, valp) in sm_sysloggetinfo() argument
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_file_os.c | 54 struct file *fp; in zfs_file_open() local 109 zfs_file_close(zfs_file_t *fp) in zfs_file_close() 115 zfs_file_write_impl(zfs_file_t *fp, const void *buf, size_t count, loff_t *offp, in zfs_file_write_impl() 152 zfs_file_write(zfs_file_t *fp, const void *buf, size_t count, ssize_t *resid) in zfs_file_write() 165 zfs_file_pwrite(zfs_file_t *fp, const void *buf, size_t count, loff_t off, in zfs_file_pwrite() 172 zfs_file_read_impl(zfs_file_t *fp, void *buf, size_t count, loff_t *offp, in zfs_file_read_impl() 204 zfs_file_read(zfs_file_t *fp, void *buf, size_t count, ssize_t *resid) in zfs_file_read() 216 zfs_file_pread(zfs_file_t *fp, void *buf, size_t count, loff_t off, in zfs_file_pread() 223 zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence) in zfs_file_seek() 238 zfs_file_getattr(zfs_file_t *fp, zfs_file_attr_t *zfattr) in zfs_file_getattr() [all …]
|
/freebsd/lib/libsysdecode/ |
H A D | flags.c | 98 sysdecode_atflags(FILE *fp, int flag, int *rem) in sysdecode_atflags() 140 sysdecode_semget_flags(FILE *fp, int flag, int *rem) in sysdecode_semget_flags() 192 sysdecode_vmprot(FILE *fp, int type, int *rem) in sysdecode_vmprot() 203 sysdecode_socket_type(FILE *fp, int type, int *rem) in sysdecode_socket_type() 224 sysdecode_access_mode(FILE *fp, int mode, int *rem) in sysdecode_access_mode() 239 sysdecode_cap_fcntlrights(FILE *fp, uint32_t rights, uint32_t *rem) in sysdecode_cap_fcntlrights() 246 sysdecode_close_range_flags(FILE *fp, int flags, int *rem) in sysdecode_close_range_flags() 267 sysdecode_open_flags(FILE *fp, int flags, int *rem) in sysdecode_open_flags() 306 sysdecode_fcntl_fileflags(FILE *fp, int flags, int *rem) in sysdecode_fcntl_fileflags() 330 sysdecode_flock_operation(FILE *fp, int operation, int *rem) in sysdecode_flock_operation() [all …]
|
H A D | support.c | 50 print_mask_part(FILE *fp, struct name_table *table, uintmax_t *valp, in print_mask_part() 81 print_mask_int(FILE *fp, struct name_table *table, int ival, int *rem) in print_mask_int() 98 print_mask_0(FILE *fp, struct name_table *table, int val, int *rem) in print_mask_0() 114 print_mask_0ul(FILE *fp, struct name_table *table, u_long lval, u_long *rem) in print_mask_0ul() 135 print_integer(FILE *fp, int val, int base) in print_integer() 155 print_value(FILE *fp, struct name_table *table, uintmax_t val) in print_value()
|
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_dis.c | 41 dt_dis_log(const dtrace_difo_t *dp, const char *name, dif_instr_t in, FILE *fp) in dt_dis_log() argument 50 dif_instr_t in, FILE *fp) in dt_dis_branch() argument 57 dt_dis_load(const dtrace_difo_t *dp, const char *name, dif_instr_t in, FILE *fp) in dt_dis_load() argument 66 dif_instr_t in, FILE *fp) in dt_dis_store() argument 74 dt_dis_str(const dtrace_difo_t *dp, const char *name, dif_instr_t in, FILE *fp) in dt_dis_str() argument 81 dt_dis_r1rd(const dtrace_difo_t * dp,const char * name,dif_instr_t in,FILE * fp) dt_dis_r1rd() argument 89 dt_dis_cmp(const dtrace_difo_t * dp,const char * name,dif_instr_t in,FILE * fp) dt_dis_cmp() argument 97 dt_dis_tst(const dtrace_difo_t * dp,const char * name,dif_instr_t in,FILE * fp) dt_dis_tst() argument 131 dt_dis_lda(const dtrace_difo_t * dp,const char * name,dif_instr_t in,FILE * fp) dt_dis_lda() argument 144 dt_dis_ldv(const dtrace_difo_t * dp,const char * name,dif_instr_t in,FILE * fp) dt_dis_ldv() argument 157 dt_dis_stv(const dtrace_difo_t * dp,const char * name,dif_instr_t in,FILE * fp) dt_dis_stv() argument 170 dt_dis_setx(const dtrace_difo_t * dp,const char * name,dif_instr_t in,FILE * fp) dt_dis_setx() argument 184 dt_dis_sets(const dtrace_difo_t * dp,const char * name,dif_instr_t in,FILE * fp) dt_dis_sets() argument 197 dt_dis_ret(const dtrace_difo_t * dp,const char * name,dif_instr_t in,FILE * fp) dt_dis_ret() argument 204 dt_dis_call(const dtrace_difo_t * dp,const char * name,dif_instr_t in,FILE * fp) dt_dis_call() argument 215 dt_dis_pushts(const dtrace_difo_t * dp,const char * name,dif_instr_t in,FILE * fp) dt_dis_pushts() argument 239 dt_dis_xlate(const dtrace_difo_t * dp,const char * name,dif_instr_t in,FILE * fp) dt_dis_xlate() argument 329 dt_dis_rtab(const char * rtag,const dtrace_difo_t * dp,FILE * fp,const dof_relodesc_t * rp,uint32_t len) dt_dis_rtab() argument 344 dt_dis(const dtrace_difo_t * dp,FILE * fp) dt_dis() argument [all...] |
/freebsd/contrib/ntp/ntpdc/ |
H A D | ntpdc_ops.c | 292 FILE *fp in checkitems() 328 FILE *fp in check1item() 351 FILE *fp in peerlist() 407 FILE *fp in peers() 419 FILE *fp in dmpeers() 433 FILE *fp, in dopeers() 535 FILE * fp, in print_pflag() 592 FILE *fp in printpeer() 685 FILE *fp in showpeer() 758 FILE *fp in peerstats() [all …]
|
/freebsd/contrib/openbsm/libbsm/ |
H A D | bsm_io.c | 146 print_delim(FILE *fp, const char *del) in print_delim() 156 print_1_byte(FILE *fp, u_char val, const char *format) in print_1_byte() 166 print_2_bytes(FILE *fp, u_int16_t val, const char *format) in print_2_bytes() 176 print_4_bytes(FILE *fp, u_int32_t val, const char *format) in print_4_bytes() 186 print_8_bytes(FILE *fp, u_int64_t val, const char *format) in print_8_bytes() 196 print_mem(FILE *fp, u_char *data, size_t len) in print_mem() 211 print_string(FILE *fp, const char *str, size_t len) in print_string() 227 print_xml_string(FILE *fp, const char *str, size_t len) in print_xml_string() 272 open_attr(FILE *fp, const char *str) in open_attr() 282 close_attr(FILE *fp) in close_attr() [all …]
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_file_os.c | 67 zfs_file_close(zfs_file_t *fp) in zfs_file_close() 84 zfs_file_write(zfs_file_t *fp, const void *buf, size_t count, ssize_t *resid) in zfs_file_write() 116 zfs_file_pwrite(zfs_file_t *fp, const void *buf, size_t count, loff_t off, in zfs_file_pwrite() 146 zfs_file_read(zfs_file_t *fp, void *buf, size_t count, ssize_t *resid) in zfs_file_read() 178 zfs_file_pread(zfs_file_t *fp, void *buf, size_t count, loff_t off, in zfs_file_pread() 206 zfs_file_seek(zfs_file_t *fp, loff_t *offp, int whence) in zfs_file_seek() 291 zfs_file_deallocate(zfs_file_t *fp, loff_t offset, loff_t len) in zfs_file_deallocate() 327 zfs_file_off(zfs_file_t *fp) in zfs_file_off() 340 zfs_file_private(zfs_file_t *fp) in zfs_file_private() 379 zfs_file_put(zfs_file_t *fp) in zfs_file_put()
|
/freebsd/crypto/openssl/crypto/x509/ |
H A D | x_all.c | 174 X509 *d2i_X509_fp(FILE *fp, X509 **x509) in d2i_X509_fp() 179 int i2d_X509_fp(FILE *fp, const X509 *x509) in i2d_X509_fp() 196 X509_CRL *d2i_X509_CRL_fp(FILE *fp, X509_CRL **crl) in d2i_X509_CRL_fp() 201 int i2d_X509_CRL_fp(FILE *fp, const X509_CRL *crl) in i2d_X509_CRL_fp() 218 PKCS7 *d2i_PKCS7_fp(FILE *fp, PKCS7 **p7) in d2i_PKCS7_fp() 235 int i2d_PKCS7_fp(FILE *fp, const PKCS7 *p7) in i2d_PKCS7_fp() 264 X509_REQ *d2i_X509_REQ_fp(FILE *fp, X509_REQ **req) in d2i_X509_REQ_fp() 269 int i2d_X509_REQ_fp(FILE *fp, const X509_REQ *req) in i2d_X509_REQ_fp() 294 RSA *d2i_RSAPrivateKey_fp(FILE *fp, RSA **rsa) in d2i_RSAPrivateKey_fp() 299 int i2d_RSAPrivateKey_fp(FILE *fp, const RSA *rsa) in i2d_RSAPrivateKey_fp() [all …]
|
/freebsd/crypto/openssl/crypto/ts/ |
H A D | ts_asn1.c | 33 TS_MSG_IMPRINT *d2i_TS_MSG_IMPRINT_fp(FILE *fp, TS_MSG_IMPRINT **a) in d2i_TS_MSG_IMPRINT_fp() 39 int i2d_TS_MSG_IMPRINT_fp(FILE *fp, const TS_MSG_IMPRINT *a) in i2d_TS_MSG_IMPRINT_fp() 66 TS_REQ *d2i_TS_REQ_fp(FILE *fp, TS_REQ **a) in d2i_TS_REQ_fp() 71 int i2d_TS_REQ_fp(FILE *fp, const TS_REQ *a) in i2d_TS_REQ_fp() 112 TS_TST_INFO *d2i_TS_TST_INFO_fp(FILE *fp, TS_TST_INFO **a) in d2i_TS_TST_INFO_fp() 118 int i2d_TS_TST_INFO_fp(FILE *fp, const TS_TST_INFO *a) in i2d_TS_TST_INFO_fp() 192 TS_RESP *d2i_TS_RESP_fp(FILE *fp, TS_RESP **a) in d2i_TS_RESP_fp() 197 int i2d_TS_RESP_fp(FILE *fp, const TS_RESP *a) in i2d_TS_RESP_fp()
|
/freebsd/sys/kern/ |
H A D | kern_fail.c | 92 #define FP_SLEEP_CHANNEL(fp) (void*)(fp) argument 93 #define FP_PAUSE_CHANNEL(fp) __DEVOLATILE(void*, &fp->fp_setting) argument 219 fail_point_is_off(struct fail_point *fp) in fail_point_is_off() 244 fail_point_setting_new(struct fail_point *fp) in fail_point_setting_new() 301 fail_point_setting_get_ref(struct fail_point *fp) in fail_point_setting_get_ref() 314 fail_point_setting_release_ref(struct fail_point *fp) in fail_point_setting_release_ref() 334 fail_point_swap_settings(struct fail_point *fp, in fail_point_swap_settings() 346 fail_point_eval_swap_out(struct fail_point *fp, in fail_point_eval_swap_out() 390 fail_point_drain(struct fail_point *fp, int expected_ref) in fail_point_drain() 410 fail_point_pause(struct fail_point *fp, enum fail_point_return_code *pret, in fail_point_pause() [all …]
|
H A D | tty_pts.c | 111 ptsdev_read(struct file *fp, struct uio *uio, struct ucred *active_cred, in ptsdev_read() 185 ptsdev_write(struct file *fp, struct uio *uio, struct ucred *active_cred, in ptsdev_write() 258 ptsdev_ioctl(struct file *fp, u_long cmd, void *data, in ptsdev_ioctl() 385 ptsdev_poll(struct file *fp, int events, struct ucred *active_cred, in ptsdev_poll() 442 struct file *fp = kn->kn_fp; in pts_kqops_read_detach() local 452 struct file *fp = kn->kn_fp; in pts_kqops_read_event() local 468 struct file *fp = kn->kn_fp; in pts_kqops_write_detach() local 478 struct file *fp = kn->kn_fp; in pts_kqops_write_event() local 503 ptsdev_kqfilter(struct file *fp, struct knote *kn) in ptsdev_kqfilter() 530 ptsdev_stat(struct file *fp, struct stat *sb, struct ucred *active_cred) in ptsdev_stat() [all …]
|
/freebsd/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_create.c | 60 ctf_file_t *fp; in ctf_create() local 90 ctf_copy_smembers(const ctf_file_t *fp, ctf_dtdef_t *dtd, uint_t soff, in ctf_copy_smembers() 131 ctf_copy_lmembers(const ctf_file_t *fp, ctf_dtdef_t *dtd, uint_t soff, in ctf_copy_lmembers() 221 ctf_ref_inc(ctf_file_t *fp, ctf_id_t tid) in ctf_ref_inc() 239 ctf_ref_dec(ctf_file_t *fp, ctf_id_t tid) in ctf_ref_dec() 273 ctf_update(ctf_file_t *fp) in ctf_update() 574 ctf_dtd_insert(ctf_file_t *fp, ctf_dtdef_t *dtd) in ctf_dtd_insert() 584 ctf_dtd_delete(ctf_file_t *fp, ctf_dtdef_t *dtd) in ctf_dtd_delete() 654 ctf_dtd_lookup(ctf_file_t *fp, ctf_id_t type) in ctf_dtd_lookup() 679 ctf_discard(ctf_file_t *fp) in ctf_discard() [all …]
|
H A D | ctf_types.c | 31 ctf_get_ctt_index(const ctf_file_t *fp, const void *v, uint_t *indexp, in ctf_get_ctt_index() 60 ctf_get_ctt_info(const ctf_file_t *fp, const void *v, uint_t *kindp, in ctf_get_ctt_info() 89 ctf_get_ctt_size(const ctf_file_t *fp, const void *v, ssize_t *sizep, in ctf_get_ctt_size() 128 ctf_get_ctm_info(const ctf_file_t *fp, const void *v, size_t size, in ctf_get_ctm_info() 184 ctf_member_iter(ctf_file_t *fp, ctf_id_t type, ctf_member_f *func, void *arg) in ctf_member_iter() 225 ctf_enum_iter(ctf_file_t *fp, ctf_id_t type, ctf_enum_f *func, void *arg) in ctf_enum_iter() 262 ctf_type_iter(ctf_file_t *fp, ctf_type_f *func, void *arg) in ctf_type_iter() 287 ctf_type_resolve(ctf_file_t *fp, ctf_id_t type) in ctf_type_resolve() 322 ctf_type_qlname(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len, in ctf_type_qlname() 435 ctf_type_lname(ctf_file_t *fp, ctf_id_t type, char *buf, size_t len) in ctf_type_lname() [all …]
|
/freebsd/usr.bin/at/ |
H A D | perm.c | 60 static int check_for_user(FILE *fp,const char *name) in check_for_user() 86 FILE *fp; in check_permission() local 98 fp=fopen(PERM_PATH "at.allow","r"); in check_permission() local 111 fp=fopen(PERM_PATH "at.deny", "r"); in check_permission() local
|
/freebsd/usr.bin/mail/ |
H A D | popen.c | 42 struct fp { struct 43 FILE *fp; argument 46 struct fp *link; argument 66 FILE *fp; in Fopen() local 78 FILE *fp; in Fdopen() local 88 Fclose(FILE *fp) in Fclose() 102 FILE *fp; in Popen() local 159 register_file(FILE *fp, int pipe, pid_t pid) in register_file() 173 unregister_file(FILE *fp) in unregister_file() 188 file_pid(FILE *fp) in file_pid()
|