/illumos-gate/usr/src/uts/common/syscall/ |
H A D | sigaction.c | 43 sigaction(int sig, struct sigaction *actp, struct sigaction *oactp) in sigaction() argument 53 (actp != NULL && sigismember(&cantmask, sig))) in sigaction() 59 if (actp) { in sigaction() 63 if (copyin(actp, &act, sizeof (act))) in sigaction() 114 if (actp) { in sigaction() 136 sigaction32(int sig, struct sigaction32 *actp, struct sigaction32 *oactp) in sigaction32() argument 146 (actp != NULL && sigismember(&cantmask, sig))) in sigaction32() 152 if (actp) { in sigaction32() 156 if (copyin(actp, &act32, sizeof (act32))) in sigaction32() 207 if (actp) { in sigaction32()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | spdsock.c | 814 ipsec_act_t act, *actp, *endactp; in spdsock_ext_to_actvec() local 842 actp = kmem_alloc(sizeof (*actp) * nact, KM_NOSLEEP); in spdsock_ext_to_actvec() 843 if (actp == NULL) { in spdsock_ext_to_actvec() 847 *actpp = actp; in spdsock_ext_to_actvec() 849 endactp = actp + nact; in spdsock_ext_to_actvec() 867 if (actp >= endactp) { in spdsock_ext_to_actvec() 874 *actp++ = act; in spdsock_ext_to_actvec() 966 if (actp != endactp) { in spdsock_ext_to_actvec() 986 ipsec_selkey_t *sel, ipsec_act_t *actp, int nact, uint_t dir, uint_t af, in mkrule() argument 994 pol = ipsec_policy_create(sel, actp, nact, rule->spd_rule_priority, in mkrule() [all …]
|
H A D | ip.c | 6170 ipsec_act_t *actp = NULL; in ipsec_set_req() local 6283 ipsec_actvec_from_req(req, &actp, &nact, ipst->ips_netstack); in ipsec_set_req() 6284 if (actp == NULL) in ipsec_set_req() 6291 if (!ipsec_polhead_insert(ph, actp, nact, IPSEC_AF_V4, in ipsec_set_req() 6295 if (!ipsec_polhead_insert(ph, actp, nact, IPSEC_AF_V4, in ipsec_set_req() 6304 if (!ipsec_polhead_insert(ph, actp, nact, IPSEC_AF_V6, in ipsec_set_req() 6307 if (!ipsec_polhead_insert(ph, actp, nact, IPSEC_AF_V6, in ipsec_set_req() 6312 ipsec_actvec_free(actp, nact); in ipsec_set_req() 6339 if (actp != NULL) in ipsec_set_req() 6340 ipsec_actvec_free(actp, nact); in ipsec_set_req()
|
H A D | spd.c | 1371 ipsec_actvec_from_req(const ipsec_req_t *req, ipsec_act_t **actp, uint_t *nactp, in ipsec_actvec_from_req() argument 1384 *actp = ipsec_act_wildcard_expand(&act, nactp, ns); in ipsec_actvec_from_req() 3881 ipsec_polhead_insert(ipsec_policy_head_t *ph, ipsec_act_t *actp, uint_t nact, in ipsec_polhead_insert() argument 3890 if ((pol = ipsec_policy_create(&sel, actp, nact, IPSEC_PRIO_SOCKET, in ipsec_polhead_insert()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipsecalgs.c | 337 struct spd_ext_actions *actp; in list_kernel_algs() local 400 actp = (struct spd_ext_actions *)exts[SPD_EXT_ACTION]; in list_kernel_algs() 401 start = (uint64_t *)actp; in list_kernel_algs() 402 end = (start + actp->spd_actions_len); in list_kernel_algs() 404 attr = (struct spd_attribute *)&actp[1]; in list_kernel_algs()
|
H A D | ipsecconf.c | 594 struct spd_ext_actions *actp; in fetch_algorithms() local 653 actp = (struct spd_ext_actions *)exts[SPD_EXT_ACTION]; in fetch_algorithms() 654 start = (uint64_t *)actp; in fetch_algorithms() 655 end = (start + actp->spd_actions_len); in fetch_algorithms() 657 attr = (struct spd_attribute *)&actp[1]; in fetch_algorithms()
|
/illumos-gate/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 939 iptun_insert_simple_policies(ipsec_policy_head_t *ph, ipsec_act_t *actp, in iptun_insert_simple_policies() argument 944 if (!ipsec_polhead_insert(ph, actp, n, f, IPSEC_TYPE_INBOUND, ns) || in iptun_insert_simple_policies() 945 !ipsec_polhead_insert(ph, actp, n, f, IPSEC_TYPE_OUTBOUND, ns)) in iptun_insert_simple_policies() 949 return (ipsec_polhead_insert(ph, actp, n, f, IPSEC_TYPE_INBOUND, ns) && in iptun_insert_simple_policies() 950 ipsec_polhead_insert(ph, actp, n, f, IPSEC_TYPE_OUTBOUND, ns)); in iptun_insert_simple_policies() 962 ipsec_act_t *actp = NULL; in iptun_set_sec_simple() local 995 ipsec_actvec_from_req(ipsr, &actp, &nact, ns); in iptun_set_sec_simple() 996 if (actp == NULL) { in iptun_set_sec_simple() 1040 if (iptun_insert_simple_policies(itp->itp_policy, actp, nact, ns)) { in iptun_set_sec_simple() 1070 if (actp != NULL) in iptun_set_sec_simple() [all …]
|
/illumos-gate/usr/src/contrib/bhyve/dev/nvme/ |
H A D | nvme.h | 1152 uint16_t actp; /* Active Power */ member 2099 s->actp = le16toh(s->actp); in nvme_power_state_swapbytes()
|