Home
last modified time | relevance | path

Searched refs:uc (Results 1 – 25 of 38) sorted by relevance

12

/f-stack/app/redis-5.0.5/src/
H A Ddebug.c775 return (void*) uc->sc_eip; in getMcontextEip()
777 return (void*) uc->sc_rip; in getMcontextEip()
994 (unsigned long) uc->sc_r8, in logRegisters()
995 (unsigned long) uc->sc_r9, in logRegisters()
1004 (unsigned long) uc->sc_cs in logRegisters()
1022 (unsigned long) uc->sc_ss, in logRegisters()
1025 (unsigned long) uc->sc_cs, in logRegisters()
1028 (unsigned long) uc->sc_gs in logRegisters()
1270 logStackTrace(uc); in sigsegvHandler()
1286 logRegisters(uc); in sigsegvHandler()
[all …]
/f-stack/freebsd/netpfil/ipfw/nat64/
H A Dnat64lsn_control.c78 if (uc->jmaxlen == 0) in nat64lsn_default_config()
81 uc->jmaxlen = 65536; in nat64lsn_default_config()
102 uc->states_chunks = 1 << fls(uc->states_chunks); in nat64lsn_default_config()
117 ipfw_nat64lsn_cfg *uc; in nat64lsn_create() local
134 if (uc->plen4 > 32) in nat64lsn_create()
142 if (nat64_check_prefix6(&uc->prefix6, uc->plen6) != 0 && in nat64lsn_create()
157 if (nat64lsn_find(ni, uc->name, uc->set) != NULL) { in nat64lsn_create()
167 cfg->no.set = uc->set; in nat64lsn_create()
191 if (nat64lsn_find(ni, uc->name, uc->set) != NULL) { in nat64lsn_create()
330 strlcpy(uc->name, cfg->no.name, sizeof(uc->name)); in nat64lsn_export_config()
[all …]
H A Dnat64clat_control.c104 uc->set = cfg->no.set; in nat64clat_export_config()
105 strlcpy(uc->name, cfg->no.name, sizeof(uc->name)); in nat64clat_export_config()
118 ipfw_nat64clat_cfg *uc; in export_config_cb() local
120 uc = (ipfw_nat64clat_cfg *)ipfw_get_sopt_space(da->sd, sizeof(*uc)); in export_config_cb()
162 nat64_check_prefix6(&uc->plat_prefix, uc->plat_plen) != 0 || in nat64clat_create()
163 nat64_check_prefix6(&uc->clat_prefix, uc->clat_plen) != 0) in nat64clat_create()
169 if (nat64clat_find(ni, uc->name, uc->set) != NULL) { in nat64clat_create()
175 cfg = nat64clat_alloc_config(uc->name, uc->set); in nat64clat_create()
187 if (nat64clat_find(ni, uc->name, uc->set) != NULL) { in nat64clat_create()
262 if (nat64_check_prefix6(&uc->plat_prefix, uc->plat_plen) != 0) { in nat64clat_config()
[all …]
H A Dnat64stl_control.c99 ipfw_nat64stl_cfg *uc) in nat64stl_export_config() argument
106 uc->set = cfg->no.set; in nat64stl_export_config()
107 strlcpy(uc->name, cfg->no.name, sizeof(uc->name)); in nat64stl_export_config()
125 ipfw_nat64stl_cfg *uc; in export_config_cb() local
127 uc = (ipfw_nat64stl_cfg *)ipfw_get_sopt_space(da->sd, sizeof(*uc)); in export_config_cb()
179 ipfw_nat64stl_cfg *uc; in nat64stl_create() local
193 nat64_check_prefix6(&uc->prefix6, uc->plen6) != 0) in nat64stl_create()
202 if (nat64stl_find(ni, uc->name, uc->set) != NULL) { in nat64stl_create()
208 cfg = nat64stl_alloc_config(uc->name, uc->set); in nat64stl_create()
217 if (nat64stl_find(ni, uc->name, uc->set) != NULL) { in nat64stl_create()
[all …]
/f-stack/freebsd/kern/
H A Dkern_context.c67 ucontext_t uc; in sys_getcontext() local
73 bzero(&uc, sizeof(ucontext_t)); in sys_getcontext()
76 uc.uc_sigmask = td->td_sigmask; in sys_getcontext()
86 ucontext_t uc; in sys_setcontext() local
92 ret = copyin(uap->ucp, &uc, UC_COPY_SIZE); in sys_setcontext()
94 ret = set_mcontext(td, &uc.uc_mcontext); in sys_setcontext()
107 ucontext_t uc; in sys_swapcontext() local
113 bzero(&uc, sizeof(ucontext_t)); in sys_swapcontext()
116 uc.uc_sigmask = td->td_sigmask; in sys_swapcontext()
122 ret = set_mcontext(td, &uc.uc_mcontext); in sys_swapcontext()
[all …]
H A Dkern_umtx.c189 #define UMTXQ_LOCKED_ASSERT(uc) mtx_assert(&(uc)->uc_lock, MA_OWNED) argument
412 uc->length = 0; in sysctl_debug_umtx_chains_clear()
537 if (uc->uc_busy) { in umtxq_busy()
551 msleep(uc, &uc->uc_lock, 0, "umtxqb", 0); in umtxq_busy()
555 uc->uc_busy = 1; in umtxq_busy()
569 uc->uc_busy = 0; in umtxq_unbusy()
571 wakeup_one(uc); in umtxq_unbusy()
616 uc->length++; in umtxq_insert_queue()
617 if (uc->length > uc->max_length) { in umtxq_insert_queue()
618 uc->max_length = uc->length; in umtxq_insert_queue()
[all …]
H A Dkern_ktrace.c154 static void ktr_freeproc(struct proc *p, struct ucred **uc,
430 ktr_freeproc(struct proc *p, struct ucred **uc, struct vnode **vp) in ktr_freeproc() argument
436 *uc = p->p_tracecred; in ktr_freeproc()
505 ktrprocexec(struct proc *p, struct ucred **uc, struct vnode **vp) in ktrprocexec() argument
510 ktr_freeproc(p, uc, vp); in ktrprocexec()
/f-stack/freebsd/arm64/arm64/
H A Dfreebsd32_machdep.c222 ucontext32_t uc; in freebsd32_getcontext() local
228 memset(&uc, 0, sizeof(uc)); in freebsd32_getcontext()
231 uc.uc_sigmask = td->td_sigmask; in freebsd32_getcontext()
241 ucontext32_t uc; in freebsd32_setcontext() local
247 ret = copyin(uap->ucp, &uc, UC_COPY_SIZE); in freebsd32_setcontext()
261 ucontext32_t uc; in freebsd32_sigreturn() local
266 if (copyin(uap->sigcntxp, &uc, sizeof(uc))) in freebsd32_sigreturn()
282 ucontext32_t uc; in freebsd32_swapcontext() local
288 bzero(&uc, sizeof(uc)); in freebsd32_swapcontext()
291 uc.uc_sigmask = td->td_sigmask; in freebsd32_swapcontext()
[all …]
H A Dmachdep.c782 ucontext_t uc; in sys_sigreturn() local
785 if (copyin(uap->sigcntxp, &uc, sizeof(uc))) in sys_sigreturn()
788 error = set_mcontext(td, &uc.uc_mcontext); in sys_sigreturn()
793 kern_sigprocmask(td, SIG_SETMASK, &uc.uc_sigmask, NULL, 0); in sys_sigreturn()
/f-stack/freebsd/mips/mips/
H A Dfreebsd32_machdep.c236 ucontext32_t uc; in freebsd32_sigreturn() local
241 if (copyin(uap->sigcntxp, &uc, sizeof(uc)) != 0) { in freebsd32_sigreturn()
254 td, uc.uc_mcontext.mc_srr0, uc.uc_mcontext.mc_gpr[1]); in freebsd32_sigreturn()
270 ucontext32_t uc; in freebsd32_getcontext() local
276 bzero(&uc, sizeof(uc)); in freebsd32_getcontext()
279 uc.uc_sigmask = td->td_sigmask; in freebsd32_getcontext()
289 ucontext32_t uc; in freebsd32_setcontext() local
300 &uc.uc_sigmask, NULL, 0); in freebsd32_setcontext()
310 ucontext32_t uc; in freebsd32_swapcontext() local
316 bzero(&uc, sizeof(uc)); in freebsd32_swapcontext()
[all …]
H A Dpm_machdep.c193 ucontext_t uc; in sys_sigreturn() local
196 error = copyin(uap->sigcntxp, &uc, sizeof(uc)); in sys_sigreturn()
200 error = set_mcontext(td, &uc.uc_mcontext); in sys_sigreturn()
204 kern_sigprocmask(td, SIG_SETMASK, &uc.uc_sigmask, NULL, 0); in sys_sigreturn()
/f-stack/freebsd/i386/i386/
H A Dk6_mem.c55 #define K6_REG_GET(reg, addr, mask, wc, uc) do { \ argument
59 uc = (reg) & 0x1; \
62 #define K6_REG_MAKE(addr, mask, wc, uc) \ argument
63 ((addr) | ((mask) << 2) | ((wc) << 1) | uc)
82 u_int32_t len = 0, wc, uc; in k6_mrmake() local
95 uc = (desc->mr_flags & MDF_UNCACHEABLE) ? 1 : 0; in k6_mrmake()
97 *mtrr = K6_REG_MAKE(desc->mr_base, len, wc, uc); in k6_mrmake()
105 u_int32_t addr, mask, wc, uc; in k6_mrinit() local
119 K6_REG_GET(one, addr, mask, wc, uc); in k6_mrinit()
124 if (uc) in k6_mrinit()
H A Dcopyout.c165 vm_offset_t uc; in copyinstr() local
172 plen < maxlen && !ca.end; uc += ca.alen, plen += ca.alen) { in copyinstr()
173 ca.len = round_page(uc) - uc; in copyinstr()
179 if (cp_slow0(uc, ca.len, false, copyinstr_slow0, &ca) != 0) { in copyinstr()
209 vm_offset_t uc; in copyin() local
219 plen < len; uc += ca.len, ca.kc += ca.len, plen += ca.len) { in copyin()
220 ca.len = round_page(uc) - uc; in copyin()
225 if (cp_slow0(uc, ca.len, false, copyin_slow0, &ca) != 0) in copyin()
244 vm_offset_t uc; in copyout() local
255 ca.len = round_page(uc) - uc; in copyout()
[all …]
H A Dmachdep.c865 struct ucontext4 uc; local
871 error = copyin(uap->sigcntxp, &uc, sizeof(uc));
874 ucp = &uc;
968 ucontext_t uc; local
979 error = copyin(uap->sigcntxp, &uc, sizeof(uc));
982 ucp = &uc;
1058 if ((uc.uc_mcontext.mc_flags & _MC_HASFPXSTATE) != 0) {
1059 xfpustate_len = uc.uc_mcontext.mc_xfpustate_len;
1068 error = copyin((const void *)uc.uc_mcontext.mc_xfpustate,
/f-stack/freebsd/netpfil/ipfw/nptv6/
H A Dnptv6.c445 ipfw_nptv6_cfg *uc) in nptv6_export_config() argument
453 uc->plen = cfg->plen; in nptv6_export_config()
456 strlcpy(uc->name, cfg->no.name, sizeof(uc->name)); in nptv6_export_config()
469 ipfw_nptv6_cfg *uc; in export_config_cb() local
471 uc = (ipfw_nptv6_cfg *)ipfw_get_sopt_space(da->sd, sizeof(*uc)); in export_config_cb()
655 ipfw_nptv6_cfg *uc; in nptv6_create() local
666 if (uc->plen < 8 || uc->plen > 64 || uc->set >= IPFW_MAX_SETS) in nptv6_create()
673 IN6_ARE_MASKED_ADDR_EQUAL(&uc->external, &uc->internal, &mask))) in nptv6_create()
678 if (nptv6_find(ni, uc->name, uc->set) != NULL) { in nptv6_create()
684 cfg = nptv6_alloc_config(uc->name, uc->set); in nptv6_create()
[all …]
/f-stack/freebsd/amd64/ia32/
H A Dia32_signal.c257 struct ia32_ucontext uc; in freebsd32_getcontext() local
263 bzero(&uc, sizeof(uc)); in freebsd32_getcontext()
276 struct ia32_ucontext uc; in freebsd32_setcontext() local
297 struct ia32_ucontext uc; in freebsd32_swapcontext() local
303 bzero(&uc, sizeof(uc)); in freebsd32_swapcontext()
765 struct ia32_ucontext4 uc; local
771 error = copyin(uap->sigcntxp, &uc, sizeof(uc));
774 ucp = &uc;
839 struct ia32_ucontext uc; local
847 error = copyin(uap->sigcntxp, &uc, sizeof(uc));
[all …]
/f-stack/freebsd/contrib/device-tree/src/arm/
H A Dam335x-moxa-uc-2101.dts12 #include "am335x-moxa-uc-2100-common.dtsi"
16 compatible = "moxa,uc-2101", "ti,am33xx";
H A Dmoxart-uc7112lx.dts12 compatible = "moxa,moxart-uc-7112-lx", "moxa,moxart";
/f-stack/freebsd/contrib/device-tree/Bindings/arm/
H A Dmoxart.yaml16 - const: moxa,moxart-uc-7112-lx
/f-stack/dpdk/drivers/net/virtio/
H A Dvirtio_ethdev.c1157 const struct virtio_net_ctrl_mac *uc, in virtio_mac_table_set() argument
1171 len[0] = uc->entries * RTE_ETHER_ADDR_LEN + sizeof(uc->entries); in virtio_mac_table_set()
1172 memcpy(ctrl.data, uc, len[0]); in virtio_mac_table_set()
1190 struct virtio_net_ctrl_mac *uc, *mc; in virtio_mac_addr_add() local
1198 sizeof(uc->entries)); in virtio_mac_addr_add()
1199 uc->entries = 0; in virtio_mac_addr_add()
1213 return virtio_mac_table_set(hw, uc, mc); in virtio_mac_addr_add()
1221 struct virtio_net_ctrl_mac *uc, *mc; in virtio_mac_addr_remove() local
1230 sizeof(uc->entries)); in virtio_mac_addr_remove()
1231 uc->entries = 0; in virtio_mac_addr_remove()
[all …]
/f-stack/freebsd/arm/arm/
H A Dmachdep.c642 ucontext_t uc; local
647 if (copyin(uap->sigcntxp, &uc, sizeof(uc)))
650 error = set_mcontext(td, &uc.uc_mcontext);
655 kern_sigprocmask(td, SIG_SETMASK, &uc.uc_sigmask, NULL, 0);
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-ilk.h166 extern unsigned char cvmx_ilk_bit_count (unsigned char uc);
/f-stack/freebsd/amd64/linux/
H A Dlinux_sysvec.c518 struct l_ucontext uc; in linux_rt_sigreturn() local
526 error = copyin((void *)regs->tf_rbx, &uc, sizeof(uc)); in linux_rt_sigreturn()
531 context = &uc.uc_mcontext; in linux_rt_sigreturn()
572 linux_to_bsd_sigset(&uc.uc_sigmask, &td->td_sigmask); in linux_rt_sigreturn()
/f-stack/freebsd/i386/linux/
H A Dlinux_sysvec.c683 struct l_ucontext uc; in linux_rt_sigreturn() local
699 if (copyin(args->ucp, &uc, sizeof(uc)) != 0) in linux_rt_sigreturn()
702 context = &uc.uc_mcontext; in linux_rt_sigreturn()
726 linux_to_bsd_sigset(&uc.uc_sigmask, &bmask); in linux_rt_sigreturn()
748 lss = &uc.uc_stack; in linux_rt_sigreturn()
/f-stack/freebsd/amd64/linux32/
H A Dlinux32_sysvec.c561 struct l_ucontext uc; in linux_rt_sigreturn() local
577 if (copyin(args->ucp, &uc, sizeof(uc)) != 0) in linux_rt_sigreturn()
580 context = &uc.uc_mcontext; in linux_rt_sigreturn()
604 linux_to_bsd_sigset(&uc.uc_sigmask, &bmask); in linux_rt_sigreturn()
631 lss = &uc.uc_stack; in linux_rt_sigreturn()

12