Home
last modified time | relevance | path

Searched refs:bpt (Results 1 – 21 of 21) sorted by relevance

/freebsd-12-stable/lib/libc/gen/
Dgetcwd.c65 char *bpt; in getcwd() local
97 bpt = pt; in getcwd()
99 while (bpt < ept) { in getcwd()
100 c = *bpt; in getcwd()
101 *bpt++ = *ept; in getcwd()
107 bpt = ept - 1; in getcwd()
108 *bpt = '\0'; in getcwd()
129 *--bpt = '/'; in getcwd()
135 bcopy(bpt, pt, ept - bpt); in getcwd()
189 while (bpt - pt < dp->d_namlen + (first ? 1 : 2)) { in getcwd()
[all …]
/freebsd-12-stable/usr.sbin/fdwrite/
Dfdwrite.c70 int bpt, verbose=1, nbytes=0, track; in main() local
136 bpt = fdt.sectrac * (1<<fdt.secsize) * 128; in main()
138 trackbuf = malloc(bpt); in main()
142 vrfybuf = malloc(bpt); in main()
150 fdt.tracks*bpt*fdt.heads/1024); in main()
153 memset(trackbuf,0,bpt); in main()
154 for(j=0;inputfd >= 0 && j<bpt;j+=i) { in main()
155 if(!(i = read(inputfd,trackbuf+j,bpt-j))) { in main()
171 if (lseek (fd, (long) track*bpt, 0) < 0) err(1, "lseek"); in main()
172 if (write (fd, trackbuf, bpt) != bpt) err(1, "write"); in main()
[all …]
/freebsd-12-stable/crypto/openssh/openbsd-compat/
Dgetcwd.c58 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-12-stable/contrib/gdb/gdb/
Dbreakpoint.c755 insert_bp_location (struct bp_location *bpt, in insert_bp_location() argument
764 if (!breakpoint_enabled (bpt->owner)) in insert_bp_location()
767 if (bpt->inserted || bpt->duplicate) in insert_bp_location()
770 if (bpt->loc_type == bp_loc_software_breakpoint in insert_bp_location()
771 || bpt->loc_type == bp_loc_hardware_breakpoint) in insert_bp_location()
775 || bpt->section == NULL in insert_bp_location()
776 || !(section_is_overlay (bpt->section))) in insert_bp_location()
780 if (bpt->loc_type == bp_loc_hardware_breakpoint) in insert_bp_location()
781 val = target_insert_hw_breakpoint (bpt->address, in insert_bp_location()
782 bpt->shadow_contents); in insert_bp_location()
[all …]
Dinfcall.c854 struct breakpoint *bpt; in call_function_by_hand() local
887 bpt = set_momentary_breakpoint (sal, frame, bp_call_dummy); in call_function_by_hand()
888 bpt->disposition = disp_del; in call_function_by_hand()
Dtop.c239 void (*create_breakpoint_hook) (struct breakpoint * bpt);
240 void (*delete_breakpoint_hook) (struct breakpoint * bpt);
241 void (*modify_breakpoint_hook) (struct breakpoint * bpt);
Ddefs.h1226 extern void (*delete_breakpoint_hook) (struct breakpoint * bpt);
1227 extern void (*modify_breakpoint_hook) (struct breakpoint * bpt);
/freebsd-12-stable/contrib/ntp/ntpd/
Drefclock_fg.c222 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-12-stable/sbin/restore/
Ddirs.c223 long bpt; in treescan() local
258 bpt = rst_telldir(dirp); in treescan()
270 rst_seekdir(dirp, bpt, itp->t_seekpt); in treescan()
273 bpt = rst_telldir(dirp); in treescan()
/freebsd-12-stable/sys/i386/i386/
Dtrap.c125 extern inthand_t IDTVEC(bpt), IDTVEC(dbg), IDTVEC(int0x80_syscall);
657 frame->tf_eip == (uintptr_t)IDTVEC(bpt) + in trap()
Dexception.s106 IDTVEC(bpt)
Dmachdep.c1558 IDTVEC(div), IDTVEC(dbg), IDTVEC(nmi), IDTVEC(bpt), IDTVEC(ofl),
2250 setidt(IDT_BP, &IDTVEC(bpt), SDT_SYS386IGT, SEL_UPL, in i386_setidt1()
/freebsd-12-stable/sys/amd64/amd64/
Dtrap.c106 extern inthand_t IDTVEC(bpt), IDTVEC(bpt_pti), IDTVEC(dbg),
567 frame->tf_rip == (uintptr_t)IDTVEC(bpt)) in trap()
Dmachdep.c842 IDTVEC(div), IDTVEC(dbg), IDTVEC(nmi), IDTVEC(bpt), IDTVEC(ofl),
1740 setidt(IDT_BP, pti ? &IDTVEC(bpt_pti) : &IDTVEC(bpt), SDT_SYSIGT, in hammer_time()
Dexception.S136 TRAP_NOEN bpt, T_BPTFLT
/freebsd-12-stable/sys/dev/cxgb/common/
Dcxgb_t3_hw.c3694 unsigned int v, tps, cpt, bpt, delta, mindelta = ~0; in t3_config_sched() local
3702 bpt = (kbps + tps / 2) / tps; in t3_config_sched()
3703 if (bpt > 0 && bpt <= 255) { in t3_config_sched()
3704 v = bpt * tps; in t3_config_sched()
3709 selected_bpt = bpt; in t3_config_sched()
3769 unsigned int v, addr, bpt, cpt; in t3_get_tx_sched() local
3777 bpt = (v >> 8) & 0xff; in t3_get_tx_sched()
3783 *kbps = (v * bpt) / 125; in t3_get_tx_sched()
/freebsd-12-stable/sys/amd64/include/
Dvmm.h655 } bpt; member
/freebsd-12-stable/sys/dev/cxgbe/common/
Dt4_hw.c6457 unsigned int v, tps, cpt, bpt, delta, mindelta = ~0; in t4_set_sched_bps() local
6465 bpt = (kbps + tps / 2) / tps; in t4_set_sched_bps()
6466 if (bpt > 0 && bpt <= 255) { in t4_set_sched_bps()
6467 v = bpt * tps; in t4_set_sched_bps()
6472 selected_bpt = bpt; in t4_set_sched_bps()
10302 unsigned int v, addr, bpt, cpt; in t4_get_tx_sched() local
10309 bpt = (v >> 8) & 0xff; in t4_get_tx_sched()
10315 *kbps = (v * bpt) / 125; in t4_get_tx_sched()
/freebsd-12-stable/usr.sbin/bhyve/
Dgdb.c906 VM_REG_GUEST_ENTRY_INST_LENGTH, vmexit->u.bpt.inst_length); in gdb_cpu_breakpoint()
/freebsd-12-stable/sys/amd64/vmm/intel/
Dvmx.c2663 vmexit->u.bpt.inst_length = vmexit->inst_length; in vmx_exit_process()
/freebsd-12-stable/contrib/binutils/include/opcode/
DChangeLog-91032190 (nop, bpt, rte, rts, sleep, clrmac): These have no size associated