/freebsd/crypto/openssl/crypto/x509/ |
H A D | v3_pci.c | 78 if (pci->proxyPolicy->policy && pci->proxyPolicy->policy->data) in i2r_pci() 80 pci->proxyPolicy->policy->length, in i2r_pci() 81 pci->proxyPolicy->policy->data); in i2r_pci() 87 ASN1_OCTET_STRING **policy) in process_pci_value() argument 118 if (*policy == NULL) { in process_pci_value() 119 *policy = ASN1_OCTET_STRING_new(); in process_pci_value() 120 if (*policy == NULL) { in process_pci_value() 136 tmp_data = OPENSSL_realloc((*policy)->data, in process_pci_value() 137 (*policy)->length + val_len + 1); in process_pci_value() 139 (*policy)->data = tmp_data; in process_pci_value() [all …]
|
H A D | pcy_data.c | 38 X509_POLICY_DATA *ossl_policy_data_new(POLICYINFO *policy, in ossl_policy_data_new() argument 44 if (policy == NULL && cid == NULL) in ossl_policy_data_new() 72 ret->valid_policy = policy->policyid; in ossl_policy_data_new() 73 policy->policyid = NULL; in ossl_policy_data_new() 76 if (policy) { in ossl_policy_data_new() 77 ret->qualifier_set = policy->qualifiers; in ossl_policy_data_new() 78 policy->qualifiers = NULL; in ossl_policy_data_new()
|
/freebsd/usr.sbin/nscd/ |
H A D | cacheplcs.c | 106 cache_queue_policy_add_item(struct cache_policy_ *policy, in cache_queue_policy_add_item() argument 113 queue_policy = (struct cache_queue_policy_ *)policy; in cache_queue_policy_add_item() 120 cache_queue_policy_remove_item(struct cache_policy_ *policy, in cache_queue_policy_remove_item() argument 127 queue_policy = (struct cache_queue_policy_ *)policy; in cache_queue_policy_remove_item() 134 cache_queue_policy_get_first_item(struct cache_policy_ *policy) in cache_queue_policy_get_first_item() argument 139 queue_policy = (struct cache_queue_policy_ *)policy; in cache_queue_policy_get_first_item() 145 cache_queue_policy_get_last_item(struct cache_policy_ *policy) in cache_queue_policy_get_last_item() argument 150 queue_policy = (struct cache_queue_policy_ *)policy; in cache_queue_policy_get_last_item() 157 cache_queue_policy_get_next_item(struct cache_policy_ *policy, in cache_queue_policy_get_next_item() argument 170 cache_queue_policy_get_prev_item(struct cache_policy_ *policy, in cache_queue_policy_get_prev_item() argument [all …]
|
H A D | cachelib.c | 243 switch (common_entry->common_params.policy) { in destroy_cache_entry() 290 struct cache_policy_ *policy; in clear_cache_entry() local 311 policy = common_entry->policies[i]; in clear_cache_entry() 314 item = policy->get_first_item_func(policy); in clear_cache_entry() 316 next_item = policy->get_next_item_func(policy, in clear_cache_entry() 318 policy->remove_item_func(policy, item); in clear_cache_entry() 319 policy->destroy_item_func(item); in clear_cache_entry() 372 struct cache_policy_ *policy, in flush_cache_policy() argument 382 assert(policy != NULL); in flush_cache_policy() 385 item = policy->get_first_item_func(policy); in flush_cache_policy() [all …]
|
/freebsd/sys/kern/ |
H A D | ksched.c | 106 getscheduler(struct ksched *ksched, struct thread *td, int *policy) in getscheduler() argument 115 *policy = SCHED_FIFO; in getscheduler() 118 *policy = SCHED_RR; in getscheduler() 121 *policy = SCHED_OTHER; in getscheduler() 131 int e, policy; in ksched_setparam() local 133 e = getscheduler(ksched, td, &policy); in ksched_setparam() 135 e = ksched_setscheduler(ksched, td, policy, param); in ksched_setparam() 170 ksched_setscheduler(struct ksched *ksched, struct thread *td, int policy, in ksched_setscheduler() argument 177 switch(policy) { in ksched_setscheduler() 183 rtp.type = (policy == SCHED_FIFO) ? RTP_PRIO_FIFO : in ksched_setscheduler() [all …]
|
H A D | p1003_1b.c | 220 e = kern_sched_setscheduler(td, targettd, uap->policy, 228 int policy, struct sched_param *param) 243 error = ksched_setscheduler(ksched, targettd, policy, 251 int e, policy; 266 e = kern_sched_getscheduler(td, targettd, &policy); 269 td->td_retval[0] = policy; 276 int *policy) 286 error = ksched_getscheduler(ksched, targettd, policy); 304 error = ksched_get_priority_max(ksched, uap->policy, &prio); 315 error = ksched_get_priority_min(ksched, uap->policy, &prio);
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | robust_av.c | 1105 static int set_frame_classifier_type4_ipv4(struct dscp_policy_data *policy) in set_frame_classifier_type4_ipv4() argument 1108 const u8 *frame_classifier = policy->frame_classifier; in set_frame_classifier_type4_ipv4() 1109 struct type4_params *type4_param = &policy->type4_param; in set_frame_classifier_type4_ipv4() 1111 if (policy->frame_classifier_len < 18) { in set_frame_classifier_type4_ipv4() 1114 policy->frame_classifier_len); in set_frame_classifier_type4_ipv4() 1129 if (policy->domain_name) { in set_frame_classifier_type4_ipv4() 1149 if (policy->port_range_info) { in set_frame_classifier_type4_ipv4() 1172 static int set_frame_classifier_type4_ipv6(struct dscp_policy_data *policy) in set_frame_classifier_type4_ipv6() argument 1175 const u8 *frame_classifier = policy->frame_classifier; in set_frame_classifier_type4_ipv6() 1176 struct type4_params *type4_param = &policy->type4_param; in set_frame_classifier_type4_ipv6() [all …]
|
/freebsd/crypto/openssh/ |
H A D | sandbox-systrace.c | 129 struct systrace_policy policy; in ssh_sandbox_parent() local 163 memset(&policy, 0, sizeof(policy)); in ssh_sandbox_parent() 164 policy.strp_op = SYSTR_POLICY_NEW; in ssh_sandbox_parent() 165 policy.strp_maxents = SYS_MAXSYSCALL; in ssh_sandbox_parent() 166 if (ioctl(box->systrace_fd, STRIOCPOLICY, &policy) == -1) in ssh_sandbox_parent() 170 policy.strp_op = SYSTR_POLICY_ASSIGN; in ssh_sandbox_parent() 171 policy.strp_pid = box->child_pid; in ssh_sandbox_parent() 172 if (ioctl(box->systrace_fd, STRIOCPOLICY, &policy) == -1) in ssh_sandbox_parent() 185 policy.strp_op = SYSTR_POLICY_MODIFY; in ssh_sandbox_parent() 186 policy.strp_code = i; in ssh_sandbox_parent() [all …]
|
/freebsd/bin/cpuset/ |
H A D | cpuset.c | 74 int policy; member 189 struct numa_policy *policy; in parsedomainlist() local 201 for (policy = &policies[0]; policy->name != NULL; policy++) { in parsedomainlist() 202 if (strncasecmp(l, policy->name, strlen(policy->name)) == 0) { in parsedomainlist() 203 p = policy->policy; in parsedomainlist() 204 l += strlen(policy->name); in parsedomainlist() 249 int policy; in printaffinity() local 259 &policy) != 0) in printaffinity() 262 (intmax_t)id, levelnames[level], policynames[policy]); in printaffinity() 290 int policy; in main() local [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | msetdomain.sh | 68 int policy; 102 int flags, policy; 112 sizeof(rootmask), &rootmask, &policy) != 0) 117 msetdomain(share, len, sizeof(rootmask), &rootmask, policy, 124 sizeof(rootmask), &rootmask, &policy) != 0) 127 flip(&policy, sizeof(policy)); 128 msetdomain(share, len, sizeof(rootmask), &rootmask, policy, 135 sizeof(rootmask), &rootmask, &policy) != 0) 139 msetdomain(share, len, sizeof(rootmask), &rootmask, policy,
|
/freebsd/contrib/file/magic/Magdir/ |
H A D | selinux | 1 # Type: SE Linux policy modules *.pp reference policy 6 0 lelong 0xf97cff8f SE Linux modular policy 17 1 string policy_module( SE Linux policy module source 18 2 string policy_module( SE Linux policy module source 20 0 string ##\ <summary> SE Linux policy interface source 22 #0 search gen_context( SE Linux policy file contexts 24 #0 search gen_sens( SE Linux policy MLS constraints source
|
/freebsd/usr.sbin/mfiutil/ |
H A D | mfi_volume.c | 118 uint8_t changes, policy; in update_cache_policy() local 123 policy = new->default_cache_policy; in update_cache_policy() 124 changes = policy ^ old->default_cache_policy; in update_cache_policy() 127 policy & MR_LD_CACHE_ALLOW_WRITE_CACHE ? "Enabling" : in update_cache_policy() 131 policy & MR_LD_CACHE_ALLOW_READ_CACHE ? "Enabling" : in update_cache_policy() 135 policy & MR_LD_CACHE_WRITE_BACK ? "write-back" : in update_cache_policy() 139 policy & MR_LD_CACHE_READ_AHEAD ? in update_cache_policy() 140 (policy & MR_LD_CACHE_READ_ADAPTIVE ? in update_cache_policy() 144 policy & MR_LD_CACHE_WRITE_CACHE_BAD_BBU ? "Enabling" : in update_cache_policy() 185 uint8_t policy; in process_cache_command() local [all …]
|
/freebsd/lib/libthr/thread/ |
H A D | thr_kern.c | 66 _rtp_to_schedparam(const struct rtprio *rtp, int *policy, in _rtp_to_schedparam() argument 71 *policy = SCHED_RR; in _rtp_to_schedparam() 75 *policy = SCHED_FIFO; in _rtp_to_schedparam() 79 *policy = SCHED_OTHER; in _rtp_to_schedparam() 87 _schedparam_to_rtp(int policy, const struct sched_param *param, in _schedparam_to_rtp() argument 90 switch(policy) { in _schedparam_to_rtp() 109 _thr_getscheduler(lwpid_t lwpid, int *policy, struct sched_param *param) in _thr_getscheduler() argument 117 _rtp_to_schedparam(&rtp, policy, param); in _thr_getscheduler() 122 _thr_setscheduler(lwpid_t lwpid, int policy, const struct sched_param *param) in _thr_setscheduler() argument 126 _schedparam_to_rtp(policy, param, &rtp); in _thr_setscheduler()
|
H A D | thr_setschedparam.c | 50 _pthread_setschedparam(pthread_t pthread, int policy, in _pthread_setschedparam() argument 61 if (pthread->attr.sched_policy == policy && in _pthread_setschedparam() 62 (policy == SCHED_OTHER || in _pthread_setschedparam() 68 ret = _thr_setscheduler(pthread->tid, policy, param); in _pthread_setschedparam() 72 pthread->attr.sched_policy = policy; in _pthread_setschedparam()
|
H A D | thr_attr.c | 247 int * __restrict policy) in _thr_attr_getschedpolicy() argument 250 if (attr == NULL || *attr == NULL || policy == NULL) in _thr_attr_getschedpolicy() 253 *policy = (*attr)->sched_policy; in _thr_attr_getschedpolicy() 406 int policy; in _thr_attr_setschedparam() local 411 policy = (*attr)->sched_policy; in _thr_attr_setschedparam() 413 if (policy == SCHED_FIFO || policy == SCHED_RR) { in _thr_attr_setschedparam() 414 if (param->sched_priority < _thr_priorities[policy-1].pri_min || in _thr_attr_setschedparam() 415 param->sched_priority > _thr_priorities[policy-1].pri_max) in _thr_attr_setschedparam() 434 _thr_attr_setschedpolicy(pthread_attr_t *attr, int policy) in _thr_attr_setschedpolicy() argument 438 policy < SCHED_FIFO || policy > SCHED_RR) in _thr_attr_setschedpolicy() [all …]
|
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | execution.cppm |
|
/freebsd/crypto/heimdal/lib/asn1/ |
H A D | setchgpw2.asn1 | 96 -- Get password policy 97 Req-get-pw-policy ::= NULL 99 Rep-get-pw-policy ::= SEQUENCE { 101 policy-name[1] UTF8String OPTIONAL, 106 Err-get-pw-policy ::= NULL 136 get-pw-policy[3] Req-get-pw-policy, 146 get-pw-policy[3] Rep-get-pw-policy, 156 get-pw-policy[3] Err-get-pw-policy,
|
/freebsd/contrib/libfido2/src/ |
H A D | tpm.c | 130 tpm_sha256_digest_t policy; /* must be present? */ 141 tpm_sha256_digest_t policy; /* must be present? */ 192 x->policy.size = htobe16(x->policy.size); in bswap_rs256_pubarea() 205 x->policy.size = htobe16(x->policy.size); in bswap_es256_pubarea() 244 expected.policy = actual->policy; in check_rs256_pubarea() 245 expected.policy.size = sizeof(expected.policy.body); in check_rs256_pubarea() 279 expected.policy = actual->policy; in check_es256_pubarea() 280 expected.policy.size = sizeof(expected.policy.body); in check_es256_pubarea()
|
/freebsd/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus-wpa_supplicant.conf | 5 <policy user="root"> 11 </policy> 12 <policy context="default"> 16 </policy>
|
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | admin.h | 146 char * policy; member 160 char *policy; member 235 kadm5_policy_ent_t policy, uint32_t mask); 238 kadm5_delete_policy(void *server_handle, char *policy); 243 kadm5_policy_ent_t policy, 247 kadm5_get_policy(void *server_handle, char *policy, kadm5_policy_ent_t ent); 254 kadm5_free_policy_ent(kadm5_policy_ent_t policy);
|
/freebsd/usr.sbin/rrenumd/ |
H A D | rrenumd.c | 80 u_long policy : 1; member 267 , char *policy in sock6_open() argument 317 if (flags->policy) { in sock6_open() 319 buf = ipsec_set_policy(policy, strlen(policy)); in sock6_open() 354 , char *policy in sock4_open() argument 381 if (flags->policy) { in sock4_open() 383 buf = ipsec_set_policy(policy, strlen(policy)); in sock4_open() 534 char *policy = NULL; in main() local 571 flags.policy = 1; in main() 572 policy = strdup(optarg); in main() [all …]
|
/freebsd/contrib/netbsd-tests/ipf/regress/ |
H A D | ip3 | 1 pool ipf/dstlist (name fred; policy round-robin;) 3 pool ipf/dstlist (name jack; policy weighted connection;) 5 pool ipf/dstlist (name jill; policy random;) 11 pool all/dstlist (name jill; policy random;)
|
/freebsd/contrib/netbsd-tests/ipf/expected/ |
H A D | ip3 | 1 pool ipf/dstlist (name fred; policy round-robin;) 3 pool ipf/dstlist (name jack; policy weighting connection;) 5 pool ipf/dstlist (name jill; policy random;) 11 pool all/dstlist (name jill; policy random;)
|
/freebsd/lib/libipsec/ |
H A D | ipsec_get_policylen.c | 44 ipsec_get_policylen(c_caddr_t policy) in ipsec_get_policylen() argument 46 return policy ? PFKEY_EXTLEN(policy) : -1; in ipsec_get_policylen()
|
/freebsd/crypto/openssl/crypto/ts/ |
H A D | ts_verify_ctx.c | 87 ASN1_OBJECT_free(ctx->policy); in TS_VERIFY_CTX_cleanup() 104 ASN1_OBJECT *policy; in TS_REQ_to_TS_VERIFY_CTX() local 118 if ((policy = req->policy_id) != NULL) { in TS_REQ_to_TS_VERIFY_CTX() 119 if ((ret->policy = OBJ_dup(policy)) == NULL) in TS_REQ_to_TS_VERIFY_CTX()
|