/freebsd/contrib/nvi/ex/ |
H A D | ex_tag.c | 542 TAGF *atfp, *tfp; in ex_tag_copy() local 564 if (tagf_copy(sp, atfp, &tfp)) in ex_tag_copy() 566 TAILQ_INSERT_TAIL(nexp->tagfq, tfp, q); in ex_tag_copy() 586 TAGF *tfp; in tagf_copy() local 588 MALLOC_RET(sp, tfp, sizeof(TAGF)); in tagf_copy() 589 *tfp = *otfp; in tagf_copy() 592 if ((tfp->name = strdup(otfp->name)) == NULL) { in tagf_copy() 593 free(tfp); in tagf_copy() 597 *tfpp = tfp; in tagf_copy() 662 tagf_free(SCR *sp, TAGF *tfp) in tagf_free() argument [all …]
|
/freebsd/sbin/ipf/libipf/ |
H A D | ipft_hx.c | 22 static FILE *tfp = NULL; variable 28 if (tfp && tfd != -1) { in hex_open() 29 rewind(tfp); in hex_open() 35 tfp = stdin; in hex_open() 39 tfp = fdopen(tfd, "r"); in hex_open() 73 while (fgets(line, sizeof(line)-1, tfp)) { in hex_readip() 144 if (feof(tfp)) in hex_readip()
|
H A D | ipft_tx.c | 28 static FILE *tfp = NULL; variable 84 if (tfp && tfd != -1) { in text_open() 85 rewind(tfp); in text_open() 91 tfp = stdin; in text_open() 95 tfp = fdopen(tfd, "r"); in text_open() 122 while (fgets(line, sizeof(line)-1, tfp)) { in text_readip() 150 if (feof(tfp)) in text_readip()
|
/freebsd/sys/riscv/include/ |
H A D | cpu.h | 44 #define TRAPF_PC(tfp) ((tfp)->tf_sepc) argument 45 #define TRAPF_USERMODE(tfp) (((tfp)->tf_sstatus & SSTATUS_SPP) == 0) argument
|
/freebsd/sys/i386/i386/ |
H A D | db_trace.c | 103 struct trapframe_vm86 *tfp; in db_frame_seg() local 112 tfp = (void *)kdb_frame; in db_frame_seg() 115 reg = (uint16_t *)&tfp->tf_cs; in db_frame_seg() 118 reg = (uint16_t *)&tfp->tf_vm86_ds; in db_frame_seg() 121 reg = (uint16_t *)&tfp->tf_vm86_es; in db_frame_seg() 124 reg = (uint16_t *)&tfp->tf_vm86_fs; in db_frame_seg() 153 struct trapframe_vm86 *tfp; in db_gs() local 156 tfp = (void *)kdb_frame; in db_gs() 158 *valuep = tfp->tf_vm86_gs; in db_gs() 160 tfp->tf_vm86_gs = *valuep; in db_gs()
|
H A D | db_interface.c | 87 db_segsize(struct trapframe *tfp) in db_segsize() argument 93 if (tfp == NULL) in db_segsize() 95 if (tfp->tf_eflags & PSL_VM) in db_segsize() 97 sel = tfp->tf_cs & 0xffff; in db_segsize()
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_pagealloc.c | 212 struct mlx5_fw_page *tfp; in mlx5_insert_fw_page_locked() local 216 tfp = rb_entry(parent, struct mlx5_fw_page, rb_node); in mlx5_insert_fw_page_locked() 217 if (tfp->dma_addr < nfp->dma_addr) in mlx5_insert_fw_page_locked() 219 else if (tfp->dma_addr > nfp->dma_addr) in mlx5_insert_fw_page_locked() 236 struct mlx5_fw_page *tfp; in mlx5_remove_fw_page_locked() local 239 tfp = rb_entry(tmp, struct mlx5_fw_page, rb_node); in mlx5_remove_fw_page_locked() 240 if (tfp->dma_addr < addr) { in mlx5_remove_fw_page_locked() 242 } else if (tfp->dma_addr > addr) { in mlx5_remove_fw_page_locked() 245 rb_erase(&tfp->rb_node, &dev->priv.page_root); in mlx5_remove_fw_page_locked() 246 result = tfp; in mlx5_remove_fw_page_locked()
|
/freebsd/sys/arm64/include/ |
H A D | cpu.h | 51 #define TRAPF_PC(tfp) ((tfp)->tf_elr) argument 52 #define TRAPF_USERMODE(tfp) (((tfp)->tf_spsr & PSR_M_MASK) == PSR_M_EL0t) argument
|
/freebsd/contrib/nvi/common/ |
H A D | util.c | 372 FILE *tfp; local 375 if ((tfp = sp->gp->tracefp) == NULL) 378 (void)vfprintf(tfp, fmt, ap); 381 (void)fflush(tfp);
|
/freebsd/contrib/sendmail/src/ |
H A D | queue.c | 355 register SM_FILE_T *tfp; local 389 tfp = e->e_lockfp; 390 if (tfp == NULL && newid) 404 (tfp = sm_io_open(SmFtStdiofd, SM_TIME_DEFAULT, 413 tf, (long) geteuid(), tfd, (void *)tfp); 416 e->e_lockfp = tfp; 473 if (tfd < 0 || (tfp = sm_io_open(SmFtStdiofd, SM_TIME_DEFAULT, 504 dumpfd(sm_io_getinfo(tfp, SM_IO_WHAT_FD, NULL), true, false); 616 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "V%d\n", QF_VERSION); 619 (void) sm_io_fprintf(tfp, SM_TIME_DEFAULT, "T%ld\n", (long) e->e_ctime); [all …]
|
/freebsd/sys/fs/tarfs/ |
H A D | tarfs_vnops.c | 669 struct tarfs_fid *tfp; in tarfs_vptofh() local 674 tfp = (struct tarfs_fid *)ap->a_fhp; in tarfs_vptofh() 677 tfp->len = sizeof(struct tarfs_fid); in tarfs_vptofh() 678 tfp->ino = tnp->ino; in tarfs_vptofh() 679 tfp->gen = tnp->gen; in tarfs_vptofh()
|
H A D | tarfs_vfsops.c | 1212 struct tarfs_fid *tfp; in tarfs_fhtovp() local 1216 tfp = (struct tarfs_fid *)fhp; in tarfs_fhtovp() 1218 if (tfp->ino < TARFS_ROOTINO || tfp->ino > INT_MAX) in tarfs_fhtovp() 1221 error = VFS_VGET(mp, tfp->ino, LK_EXCLUSIVE, &nvp); in tarfs_fhtovp() 1228 tnp->gen != tfp->gen || in tarfs_fhtovp()
|
/freebsd/sys/i386/include/ |
H A D | db_machdep.h | 85 int db_segsize(struct trapframe *tfp);
|
/freebsd/sys/arm/include/ |
H A D | cpu.h | 691 #define TRAPF_PC(tfp) ((tfp)->tf_pc) argument
|