| /freebsd-14.2/lib/libc/gen/ |
| H A D | getcwd.c | 63 char *bpt; in getcwd() local 95 bpt = pt; in getcwd() 98 c = *bpt; in getcwd() 99 *bpt++ = *ept; in getcwd() 105 bpt = ept - 1; in getcwd() 106 *bpt = '\0'; in getcwd() 127 *--bpt = '/'; in getcwd() 133 bcopy(bpt, pt, ept - bpt); in getcwd() 194 off = bpt - pt; in getcwd() 198 bpt = pt + off; in getcwd() [all …]
|
| /freebsd-14.2/usr.sbin/fdwrite/ |
| H A D | fdwrite.c | 68 int bpt, verbose=1, nbytes=0, track; in main() local 134 bpt = fdt.sectrac * (1<<fdt.secsize) * 128; in main() 136 trackbuf = malloc(bpt); in main() 140 vrfybuf = malloc(bpt); in main() 148 fdt.tracks*bpt*fdt.heads/1024); in main() 151 memset(trackbuf,0,bpt); in main() 152 for(j=0;inputfd >= 0 && j<bpt;j+=i) { in main() 170 if (write (fd, trackbuf, bpt) != bpt) err(1, "write"); in main() 174 if (read (fd, vrfybuf, bpt) != bpt) err(1, "read"); in main() 180 memset(trackbuf,0,bpt); in main() [all …]
|
| /freebsd-14.2/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() 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() 210 *--bpt = '/'; in getcwd() [all …]
|
| /freebsd-14.2/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-14.2/sbin/restore/ |
| H A D | dirs.c | 221 long bpt; in treescan() local 256 bpt = rst_telldir(dirp); in treescan() 268 rst_seekdir(dirp, bpt, itp->t_seekpt); in treescan() 271 bpt = rst_telldir(dirp); in treescan()
|
| /freebsd-14.2/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-14.2/sys/i386/i386/ |
| H A D | trap.c | 120 extern inthand_t IDTVEC(bpt), IDTVEC(dbg), IDTVEC(int0x80_syscall); 678 frame->tf_eip == (uintptr_t)IDTVEC(bpt) + in trap()
|
| H A D | exception.S | 102 IDTVEC(bpt)
|
| H A D | machdep.c | 626 IDTVEC(div), IDTVEC(dbg), IDTVEC(nmi), IDTVEC(bpt), IDTVEC(ofl), 1319 setidt(IDT_BP, &IDTVEC(bpt), SDT_SYS386IGT, SEL_UPL, in i386_setidt1()
|
| /freebsd-14.2/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-14.2/sys/amd64/amd64/ |
| H A D | trap.c | 103 extern inthand_t IDTVEC(bpt), IDTVEC(bpt_pti), IDTVEC(dbg), 592 frame->tf_rip == (uintptr_t)IDTVEC(bpt)) in trap()
|
| H A D | machdep.c | 496 IDTVEC(div), IDTVEC(dbg), IDTVEC(nmi), IDTVEC(bpt), IDTVEC(ofl), 1426 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-14.2/sys/amd64/include/ |
| H A D | vmm.h | 742 } bpt; member
|
| /freebsd-14.2/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-14.2/usr.sbin/bhyve/ |
| H A D | gdb.c | 1025 vmexit->u.bpt.inst_length); in gdb_cpu_breakpoint()
|
| /freebsd-14.2/sys/amd64/vmm/amd/ |
| H A D | svm.c | 1489 vmexit->u.bpt.inst_length = vmexit->inst_length; in svm_vmexit()
|
| /freebsd-14.2/sys/amd64/vmm/intel/ |
| H A D | vmx.c | 2706 vmexit->u.bpt.inst_length = vmexit->inst_length; in vmx_exit_process()
|