/freebsd/lib/libc/gen/ |
H A D | getcwd.c | 62 char *bpt; in __ssp_real() local 94 bpt = pt; in __ssp_real() 96 while (bpt < ept) { in __ssp_real() 97 c = *bpt; in __ssp_real() 98 *bpt++ = *ept; in __ssp_real() 104 bpt = ept - 1; in __ssp_real() 105 *bpt = '\0'; in __ssp_real() 126 *--bpt = '/'; in __ssp_real() 132 bcopy(bpt, pt, ept - bpt); in __ssp_real() 186 while (bpt - pt < dp->d_namlen + (first ? 1 : 2)) { in __ssp_real() [all …]
|
/freebsd/usr.sbin/fdwrite/ |
H A D | fdwrite.c | 67 int bpt, verbose=1, nbytes=0, track; in main() 133 bpt = fdt.sectrac * (1<<fdt.secsize) * 128; in main() 135 trackbuf = malloc(bpt); in main() 139 vrfybuf = malloc(bpt); in main() 147 fdt.tracks*bpt*fdt.heads/1024); in main() 150 memset(trackbuf,0,bpt); in main() 151 for(j=0;inputfd >= 0 && j<bpt;j+=i) { in main() 152 if(!(i = read(inputfd,trackbuf+j,bpt-j))) { in main() 168 if (lseek (fd, (long) track*bpt, 0) < 0) err(1, "lseek"); in main() 169 if (write (fd, trackbuf, bpt) ! in main() 68 int bpt, verbose=1, nbytes=0, track; main() local [all...] |
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | getcwd.c | 58 char *bpt, *bup; in getcwd() local 86 bpt = ept - 1; in getcwd() 87 *bpt = '\0'; in getcwd() 120 *--bpt = '/'; in getcwd() 126 memmove(pt, bpt, ept - bpt); in getcwd() 192 if (bpt - pt < dp->d_namlen + (first ? 1 : 2)) { in getcwd() 200 len = ept - bpt; in getcwd() 203 bpt = npt + (bpt - pt); in getcwd() 206 memmove(ept - len, bpt, len); in getcwd() 207 bpt = ept - len; in getcwd() [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_fg.c | 222 char *bpt; in fg_receive() local 251 bpt = (char *)rbufp->recv_buffer; in fg_receive() 252 while (*bpt != '\x10') in fg_receive() 253 bpt++; in fg_receive() 255 #define BP2(x) ( bpt[x] & 15 ) in fg_receive() 256 #define BP1(x) (( bpt[x] & 240 ) >> 4) in fg_receive()
|
/freebsd/sbin/restore/ |
H A D | dirs.c | 215 long bpt; in treescan() local 250 bpt = rst_telldir(dirp); in treescan() 262 rst_seekdir(dirp, bpt, itp->t_seekpt); in treescan() 265 bpt = rst_telldir(dirp); in treescan()
|
/freebsd/sys/cddl/dev/kinst/aarch64/ |
H A D | kinst_isa.c | 151 static uint32_t bpt = KINST_PATCHVAL; in kinst_trampoline_populate() local 154 kinst_memcpy(&kp->kp_tramp[INSN_SIZE], &bpt, INSN_SIZE); in kinst_trampoline_populate()
|
/freebsd/sys/i386/i386/ |
H A D | trap.c | 118 extern inthand_t IDTVEC(bpt), IDTVEC(dbg), IDTVEC(int0x80_syscall); 676 frame->tf_eip == (uintptr_t)IDTVEC(bpt) + in trap()
|
H A D | exception.S | 102 IDTVEC(bpt)
|
H A D | machdep.c | 624 IDTVEC(div), IDTVEC(dbg), IDTVEC(nmi), IDTVEC(bpt), IDTVEC(ofl), 1318 setidt(IDT_BP, &IDTVEC(bpt), SDT_SYS386IGT, SEL_UPL, in i386_setidt1()
|
/freebsd/sys/dev/cxgb/common/ |
H A D | cxgb_t3_hw.c | 3691 unsigned int v, tps, cpt, bpt, delta, mindelta = ~0; in t3_config_sched() local 3699 bpt = (kbps + tps / 2) / tps; in t3_config_sched() 3700 if (bpt > 0 && bpt <= 255) { in t3_config_sched() 3701 v = bpt * tps; in t3_config_sched() 3706 selected_bpt = bpt; in t3_config_sched() 3766 unsigned int v, addr, bpt, cpt; in t3_get_tx_sched() local 3774 bpt = (v >> 8) & 0xff; in t3_get_tx_sched() 3780 *kbps = (v * bpt) / 125; in t3_get_tx_sched()
|
/freebsd/sys/amd64/amd64/ |
H A D | trap.c | 101 extern inthand_t IDTVEC(bpt), IDTVEC(bpt_pti), IDTVEC(dbg), 590 frame->tf_rip == (uintptr_t)IDTVEC(bpt)) in trap()
|
H A D | machdep.c | 494 IDTVEC(div), IDTVEC(dbg), IDTVEC(nmi), IDTVEC(bpt), IDTVEC(ofl), 1425 setidt(IDT_BP, pti ? &IDTVEC(bpt_pti) : &IDTVEC(bpt), SDT_SYSIGT, in hammer_time()
|
H A D | exception.S | 132 TRAP_NOEN bpt, T_BPTFLT
|
/freebsd/sys/amd64/include/ |
H A D | vmm.h | 742 } bpt; member
|
/freebsd/sys/dev/cxgbe/common/ |
H A D | t4_hw.c | 6443 unsigned int v, tps, cpt, bpt, delta, mindelta = ~0; in t4_set_sched_bps() local 6451 bpt = (kbps + tps / 2) / tps; in t4_set_sched_bps() 6452 if (bpt > 0 && bpt <= 255) { in t4_set_sched_bps() 6453 v = bpt * tps; in t4_set_sched_bps() 6458 selected_bpt = bpt; in t4_set_sched_bps() 10369 unsigned int v, addr, bpt, cpt; in t4_get_tx_sched() local 10376 bpt = (v >> 8) & 0xff; in t4_get_tx_sched() 10382 *kbps = (v * bpt) / 125; in t4_get_tx_sched()
|
/freebsd/usr.sbin/bhyve/ |
H A D | gdb.c | 1147 vmexit->u.bpt.inst_length); in gdb_cpu_breakpoint()
|
/freebsd/sys/amd64/vmm/amd/ |
H A D | svm.c | 1490 vmexit->u.bpt.inst_length = vmexit->inst_length; in svm_vmexit()
|
/freebsd/sys/amd64/vmm/intel/ |
H A D | vmx.c | 2707 vmexit->u.bpt.inst_length = vmexit->inst_length; in vmx_exit_process()
|