Searched refs:pc (Results 1 - 25 of 941) sorted by relevance

1234567891011>>

/freebsd-current/sys/kern/
H A Dsubr_pidctrl.c36 pidctrl_init(struct pidctrl *pc, int interval, int setpoint, int bound, argument
40 bzero(pc, sizeof(*pc));
41 pc->pc_setpoint = setpoint;
42 pc->pc_interval = interval;
43 pc->pc_bound = bound * setpoint * Kid;
44 pc->pc_Kpd = Kpd;
45 pc->pc_Kid = Kid;
46 pc->pc_Kdd = Kdd;
50 pidctrl_init_sysctl(struct pidctrl *pc, struc argument
82 pidctrl_classic(struct pidctrl *pc, int input) argument
113 pidctrl_daemon(struct pidctrl *pc, int input) argument
[all...]
/freebsd-current/crypto/openssl/test/
H A Dparams_conversion_test.c35 static int param_conversion_load_stanza(PARAM_CONVERSION *pc, const STANZA *s) argument
57 memset(pc, 0, sizeof(*pc));
66 pc->param = OSSL_PARAM_locate(params, type = pp->value);
67 if (pc->param == NULL) {
77 pc->valid_i32 = 1;
78 pc->i32 = (int32_t)strtoimax(pp->value, &p, 10);
86 pc->valid_i64 = 1;
87 pc->i64 = (int64_t)strtoimax(pp->value, &p, 10);
95 pc
184 param_conversion_test(const PARAM_CONVERSION *pc, int line) argument
318 PARAM_CONVERSION pc; local
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_fd.h41 void FdAcquire(ThreadState *thr, uptr pc, int fd);
42 void FdRelease(ThreadState *thr, uptr pc, int fd);
43 void FdAccess(ThreadState *thr, uptr pc, int fd);
44 void FdClose(ThreadState *thr, uptr pc, int fd, bool write = true);
45 void FdFileCreate(ThreadState *thr, uptr pc, int fd);
46 void FdDup(ThreadState *thr, uptr pc, int oldfd, int newfd, bool write);
47 void FdPipeCreate(ThreadState *thr, uptr pc, int rfd, int wfd);
48 void FdEventCreate(ThreadState *thr, uptr pc, int fd);
49 void FdSignalCreate(ThreadState *thr, uptr pc, int fd);
50 void FdInotifyCreate(ThreadState *thr, uptr pc, in
[all...]
H A Dtsan_fd.cpp56 static FdSync *allocsync(ThreadState *thr, uptr pc) { argument
57 FdSync *s = (FdSync*)user_alloc_internal(thr, pc, sizeof(FdSync),
69 static void unref(ThreadState *thr, uptr pc, FdSync *s) { argument
75 user_free(thr, pc, s, false);
80 static FdDesc *fddesc(ThreadState *thr, uptr pc, int fd) { argument
88 void *p = user_alloc_internal(thr, pc, size, kDefaultAlignment, false);
94 user_free(thr, pc, p, false);
101 static void init(ThreadState *thr, uptr pc, int fd, FdSync *s, argument
103 FdDesc *d = fddesc(thr, pc, fd);
107 unref(thr, pc,
145 FdOnFork(ThreadState *thr, uptr pc) argument
178 FdAcquire(ThreadState *thr, uptr pc, int fd) argument
189 FdRelease(ThreadState *thr, uptr pc, int fd) argument
202 FdAccess(ThreadState *thr, uptr pc, int fd) argument
210 FdClose(ThreadState *thr, uptr pc, int fd, bool write) argument
253 FdFileCreate(ThreadState *thr, uptr pc, int fd) argument
260 FdDup(ThreadState *thr, uptr pc, int oldfd, int newfd, bool write) argument
271 FdPipeCreate(ThreadState *thr, uptr pc, int rfd, int wfd) argument
279 FdEventCreate(ThreadState *thr, uptr pc, int fd) argument
286 FdSignalCreate(ThreadState *thr, uptr pc, int fd) argument
293 FdInotifyCreate(ThreadState *thr, uptr pc, int fd) argument
300 FdPollCreate(ThreadState *thr, uptr pc, int fd) argument
307 FdPollAdd(ThreadState *thr, uptr pc, int epfd, int fd) argument
331 FdSocketCreate(ThreadState *thr, uptr pc, int fd) argument
339 FdSocketAccept(ThreadState *thr, uptr pc, int fd, int newfd) argument
348 FdSocketConnecting(ThreadState *thr, uptr pc, int fd) argument
356 FdSocketConnect(ThreadState *thr, uptr pc, int fd) argument
[all...]
/freebsd-current/contrib/libpcap/
H A Dbpf_filter.c76 * Execute the filter program starting at pc on the packet p
89 pcap_filter_with_aux_data(const struct bpf_insn *pc, const u_char *p, argument
93 pcap_filter_with_aux_data(const struct bpf_insn *pc, const u_char *p,
101 if (pc == 0)
108 --pc;
110 ++pc;
111 switch (pc->code) {
116 return (u_int)pc->k;
122 k = pc->k;
130 k = pc
391 pcap_filter(const struct bpf_insn *pc, const u_char *p, u_int wirelen, u_int buflen) argument
536 bpf_filter(const struct bpf_insn *pc, const u_char *p, u_int wirelen, u_int buflen) argument
[all...]
/freebsd-current/lib/csu/arm/
H A Dcrtn.S3 ldmea fp, {fp, sp, pc}
4 mov pc, lr
7 ldmea fp, {fp, sp, pc}
8 mov pc, lr
/freebsd-current/sys/powerpc/powerpc/
H A Dmp_machdep.c147 struct pcpu *pc; local
174 pc = &__pcpu[cpu.cr_cpuid];
177 pcpu_init(pc, cpu.cr_cpuid, sizeof(*pc));
180 pc = pcpup;
181 pc->pc_cpuid = bsp.cr_cpuid;
182 pc->pc_bsp = 1;
184 pc->pc_domain = domain;
185 pc->pc_hwref = cpu.cr_hwref;
187 CPU_SET(pc
203 struct pcpu *pc; local
223 struct pcpu *pc; local
341 ipi_send(struct pcpu *pc, int ipi) argument
358 struct pcpu *pc; local
378 struct pcpu *pc; local
[all...]
/freebsd-current/sys/amd64/amd64/
H A Ddb_interface.c95 db_show_mdpcpu(struct pcpu *pc) argument
98 db_printf("self = %p\n", pc->pc_prvspace);
99 db_printf("curpmap = %p\n", pc->pc_curpmap);
100 db_printf("tssp = %p\n", pc->pc_tssp);
101 db_printf("rsp0 = 0x%lx\n", pc->pc_rsp0);
102 db_printf("kcr3 = 0x%lx\n", pc->pc_kcr3);
103 db_printf("ucr3 = 0x%lx\n", pc->pc_ucr3);
104 db_printf("scr3 = 0x%lx\n", pc->pc_saved_ucr3);
105 db_printf("gs32p = %p\n", pc->pc_gs32p);
106 db_printf("ldt = %p\n", pc
[all...]
/freebsd-current/sys/riscv/include/
H A Dprofile.h56 #define MCOUNT_FROMPC_USER(pc) \
57 ((pc < (uintfptr_t)VM_MAXUSER_ADDRESS) ? (uintfptr_t)user : pc)
59 #define MCOUNT_FROMPC_INTR(pc) \
60 ((pc >= (uintfptr_t)btrap && pc < (uintfptr_t)eintr) ? \
61 ((pc >= (uintfptr_t)bintr) ? (uintfptr_t)bintr : \
/freebsd-current/sys/arm/include/
H A Dprofile.h73 * frompcindex = pc pushed by call into self. \
77 * selfpc = pc pushed by mcount call \
89 * Return to the caller. Loading lr and pc in one instruction \
92 __asm__("ldmfd sp!, {pc}");
98 #define MCOUNT_FROMPC_USER(pc) \
99 ((pc < (uintfptr_t)VM_MAXUSER_ADDRESS) ? (uintfptr_t)user : pc)
101 #define MCOUNT_FROMPC_INTR(pc) \
102 ((pc >= (uintfptr_t)btrap && pc < (uintfptr_
[all...]
/freebsd-current/sys/dev/hwpmc/
H A Dhwpmc_x86.c78 uintptr_t fp, oldfp, pc, r, sp; local
83 pc = PMC_TRAPFRAME_TO_PC(tf);
87 *cc++ = pc; n = 1;
91 if (!PMC_IN_USERSPACE(pc))
94 if (copyin((void *) pc, &instr, sizeof(instr)) != 0)
99 if (copyin((void *) sp, &pc, sizeof(pc)) != 0)
103 if (copyin((void *) sp, &pc, sizeof(pc)) != 0)
105 } else if (copyin((void *) r, &pc, sizeo
156 uintptr_t fp, pc, ra, sp; local
[all...]
H A Dhwpmc_arm64_md.c66 frame.pc = PMC_TRAPFRAME_TO_PC(tf);
67 *cc++ = frame.pc;
73 if (!PMC_IN_KERNEL(frame.pc) || !PMC_IN_KERNEL_STACK(frame.fp))
79 if (!PMC_IN_KERNEL(frame.pc))
81 *cc++ = frame.pc;
91 uintptr_t pc, r, oldfp, fp; local
97 pc = PMC_TRAPFRAME_TO_PC(tf);
98 *cc++ = pc;
105 if (!PMC_IN_USERSPACE(pc) ||
110 /* Use saved lr as pc
[all...]
H A Dhwpmc_arm.c77 uintptr_t pc, ra, fp; local
83 pc = PMC_TRAPFRAME_TO_PC(tf);
84 *cc++ = pc;
90 if (!PMC_IN_KERNEL(pc) || !PMC_IN_KERNEL_STACK(fp))
94 /* Use saved lr as pc. */
98 pc = *(uintptr_t *)ra;
99 if (!PMC_IN_KERNEL(pc))
102 *cc++ = pc;
120 uintptr_t pc, r, oldfp, fp; local
126 pc
[all...]
/freebsd-current/sys/dev/rtwn/pci/
H A Drtwn_pci_reg.c53 struct rtwn_pci_softc *pc = RTWN_PCI_SOFTC(sc); local
55 bus_space_write_1(pc->pc_st, pc->pc_sh, addr, val);
63 struct rtwn_pci_softc *pc = RTWN_PCI_SOFTC(sc); local
66 bus_space_write_2(pc->pc_st, pc->pc_sh, addr, val);
74 struct rtwn_pci_softc *pc = RTWN_PCI_SOFTC(sc); local
77 bus_space_write_4(pc->pc_st, pc->pc_sh, addr, val);
85 struct rtwn_pci_softc *pc local
93 struct rtwn_pci_softc *pc = RTWN_PCI_SOFTC(sc); local
103 struct rtwn_pci_softc *pc = RTWN_PCI_SOFTC(sc); local
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_libignore.h46 bool IsIgnored(uptr pc, bool *pc_in_ignored_lib) const;
49 bool IsPcInstrumented(uptr pc) const;
64 inline bool IsInRange(uptr pc, const LibCodeRange &range) const { argument
65 return (pc >= range.begin && pc < range.end);
90 inline bool LibIgnore::IsIgnored(uptr pc, bool *pc_in_ignored_lib) const { argument
93 if (IsInRange(pc, ignored_code_ranges_[i])) {
99 if (track_instrumented_libs_ && !IsPcInstrumented(pc))
104 inline bool LibIgnore::IsPcInstrumented(uptr pc) const {
107 if (IsInRange(pc, instrumented_code_ranges
[all...]
H A Dsanitizer_stacktrace.h79 static inline uptr GetPreviousInstructionPc(uptr pc);
80 static uptr GetNextInstructionPc(uptr pc);
85 uptr StackTrace::GetPreviousInstructionPc(uptr pc) { argument
88 // so we return (pc-2) in that case in order to be safe.
89 // For A32 mode we return (pc-4) because all instructions are 32 bit long.
90 return (pc - 3) & (~1);
92 return pc - 8;
99 // pc - 2 seems like a safe option for the purposes of stack tracing
100 return pc - 2;
102 return pc
120 Unwind(uptr pc, uptr bp, void *context, bool request_fast, u32 max_depth = kStackTraceMax) argument
[all...]
/freebsd-current/stand/usb/
H A Dusb_busdma_loader.c29 static void usb_pc_common_mem_cb(struct usb_page_cache *pc,
40 usbd_get_page(struct usb_page_cache *pc, usb_frlength_t offset, argument
46 if (pc->page_start) {
50 if (pc->buffer) {
54 res->buffer = USB_ADD_BYTES(pc->buffer, offset);
56 offset += pc->page_offset_buf;
60 page = pc->page_start;
62 if (pc->ismultiseg) {
74 if (!pc->buffer) {
85 res->buffer = USB_ADD_BYTES(pc
169 usb_pc_common_mem_cb(struct usb_page_cache *pc, void *vaddr, uint32_t length) argument
204 usb_pc_alloc_mem(struct usb_page_cache *pc, struct usb_page *pg, usb_size_t size, usb_size_t align) argument
257 usb_pc_free_mem(struct usb_page_cache *pc) argument
273 usb_pc_load_mem(struct usb_page_cache *pc, usb_size_t size, uint8_t sync) argument
301 usb_pc_cpu_invalidate(struct usb_page_cache *pc) argument
314 usb_pc_cpu_flush(struct usb_page_cache *pc) argument
331 usb_pc_dmamap_create(struct usb_page_cache *pc, usb_size_t size) argument
342 usb_pc_dmamap_destroy(struct usb_page_cache *pc) argument
565 struct usb_page_cache *pc; local
598 struct usb_page_cache *pc; local
[all...]
/freebsd-current/sys/net/
H A Dbpf_filter.c169 * Execute the filter program starting at pc on the packet p
174 bpf_filter(const struct bpf_insn *pc, u_char *p, u_int wirelen, u_int buflen) argument
182 if (pc == NULL)
188 --pc;
190 ++pc;
191 switch (pc->code) {
200 return ((u_int)pc->k);
206 k = pc->k;
230 k = pc->k;
247 k = pc
[all...]
/freebsd-current/sys/sys/
H A Dpidctrl.h91 void pidctrl_init(struct pidctrl *pc, int interval, int setpoint,
93 void pidctrl_init_sysctl(struct pidctrl *pc, struct sysctl_oid_list *parent);
103 int pidctrl_classic(struct pidctrl *pc, int input);
119 int pidctrl_daemon(struct pidctrl *pc, int input);
/freebsd-current/lib/libc/arm/gen/
H A D_ctx_start.S4 mov lr, pc
5 mov pc, r4
/freebsd-current/sbin/bectl/
H A Dbectl_list.c57 static void print_padding(const char *fval, int colsz, struct printc *pc);
58 static int print_snapshots(const char *dsname, struct printc *pc);
59 static void print_info(const char *name, nvlist_t *dsprops, struct printc *pc);
60 static void print_headers(nvlist_t *props, struct printc *pc);
101 print_padding(const char *fval, int colsz, struct printc *pc) argument
105 if (pc->script_fmt) {
152 print_snapshots(const char *dsname, struct printc *pc) argument
168 print_info(nvpair_name(cur), sprops, pc); local
174 print_info(const char *name, nvlist_t *dsprops, struct printc *pc) argument
186 printf("%*s%s", pc
291 print_headers(nvlist_t *props, struct printc *pc) argument
409 struct printc pc; local
491 print_info(nvpair_name(cur), dsprops, &pc); local
[all...]
/freebsd-current/contrib/bearssl/src/ssl/
H A Dssl_scert_single_ec.c32 br_ssl_server_policy_ec_context *pc; local
37 pc = (br_ssl_server_policy_ec_context *)pctx;
43 choices->chain = pc->chain;
44 choices->chain_len = pc->chain_len;
51 if ((pc->allowed_usages & BR_KEYTYPE_KEYX) != 0
52 && pc->cert_issuer_key_type == BR_KEYTYPE_RSA)
59 if ((pc->allowed_usages & BR_KEYTYPE_KEYX) != 0
60 && pc->cert_issuer_key_type == BR_KEYTYPE_EC)
67 if ((pc->allowed_usages & BR_KEYTYPE_SIGN) != 0
84 br_ssl_server_policy_ec_context *pc; local
100 br_ssl_server_policy_ec_context *pc; local
[all...]
/freebsd-current/usr.bin/grep/
H A Dutil.c67 static void procmatch_match(struct mprintc *mc, struct parsec *pc);
68 static void procmatch_nomatch(struct mprintc *mc, struct parsec *pc);
69 static bool procmatches(struct mprintc *mc, struct parsec *pc, bool matched);
74 static bool procline(struct parsec *pc);
75 static void printline(struct parsec *pc, int sep);
195 procmatch_match(struct mprintc *mc, struct parsec *pc) argument
208 printline(pc, ':');
209 while (pc->matchidx >= MAX_MATCHES) {
211 pc->matchidx = 0;
212 if (procline(pc)
224 procmatch_nomatch(struct mprintc *mc, struct parsec *pc) argument
249 procmatches(struct mprintc *mc, struct parsec *pc, bool matched) argument
290 struct parsec pc; local
477 procline(struct parsec *pc) argument
745 printline(struct parsec *pc, int sep) argument
[all...]
/freebsd-current/contrib/ofed/infiniband-diags/src/
H A Dperfquery.c110 static uint8_t pc[1024]; variable
171 mad_decode_field(pc, IB_PC_PORT_SELECT_F, &val);
173 mad_decode_field(pc, IB_PC_COUNTER_SELECT_F, &val);
175 mad_decode_field(pc, IB_PC_ERR_SYM_F, &val);
177 mad_decode_field(pc, IB_PC_LINK_RECOVERS_F, &val);
179 mad_decode_field(pc, IB_PC_LINK_DOWNED_F, &val);
181 mad_decode_field(pc, IB_PC_ERR_RCV_F, &val);
183 mad_decode_field(pc, IB_PC_ERR_PHYSRCV_F, &val);
185 mad_decode_field(pc, IB_PC_ERR_SWITCH_REL_F, &val);
187 mad_decode_field(pc, IB_PC_XMT_DISCARDS_
[all...]
/freebsd-current/sbin/ipf/ipf/
H A Dbpf_filter.c169 * Execute the filter program starting at pc on the packet p
176 bpf_filter(struct bpf_insn *pc, u_char *p, u_int wirelen, u_int buflen) argument
192 if (pc == NULL)
199 --pc;
201 ++pc;
202 switch (pc->code) {
207 return (u_int)pc->k;
213 k = pc->k;
226 k = pc->k;
239 k = pc
[all...]

Completed in 276 milliseconds

1234567891011>>