/freebsd/crypto/openssl/crypto/x509/ |
H A D | v3_pci.c | 78 if (pci->proxyPolicy->policy && pci->proxyPolicy->policy->data) in i2r_pci() 140 memcpy(&(*policy)->data[(*policy)->length], in process_pci_value() 143 (*policy)->data[(*policy)->length] = '\0'; in process_pci_value() 186 memcpy(&(*policy)->data[(*policy)->length], buf, n); in process_pci_value() 188 (*policy)->data[(*policy)->length] = '\0'; in process_pci_value() 203 memcpy(&(*policy)->data[(*policy)->length], in process_pci_value() 206 (*policy)->data[(*policy)->length] = '\0'; in process_pci_value() 234 *policy = NULL; in process_pci_value() 305 pci->proxyPolicy->policy = policy; in r2i_pci() 306 policy = NULL; in r2i_pci() [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 | 113 queue_policy = (struct cache_queue_policy_ *)policy; in cache_queue_policy_add_item() 127 queue_policy = (struct cache_queue_policy_ *)policy; in cache_queue_policy_remove_item() 363 lfu_policy = (struct cache_lfu_policy_ *)policy; in cache_lfu_policy_add_item() 385 lfu_policy = (struct cache_lfu_policy_ *)policy; in cache_lfu_policy_update_item() 424 lfu_policy = (struct cache_lfu_policy_ *)policy; in cache_lfu_policy_remove_item() 441 lfu_policy = (struct cache_lfu_policy_ *)policy; in cache_lfu_policy_get_first_item() 461 lfu_policy = (struct cache_lfu_policy_ *)policy; in cache_lfu_policy_get_last_item() 482 lfu_policy = (struct cache_lfu_policy_ *)policy; in cache_lfu_policy_get_next_item() 508 lfu_policy = (struct cache_lfu_policy_ *)policy; in cache_lfu_policy_get_prev_item() 572 lfu_policy = (struct cache_lfu_policy_ *)policy; in destroy_cache_lfu_policy() [all …]
|
H A D | cachelib.c | 290 struct cache_policy_ *policy; in clear_cache_entry() local 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() 387 next_item = policy->get_next_item_func(policy, item); in flush_cache_policy() 390 policy->remove_item_func(policy, item); in flush_cache_policy() [all …]
|
/freebsd/sys/kern/ |
H A D | ksched.c | 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() 177 switch(policy) { in ksched_setscheduler() 183 rtp.type = (policy == SCHED_FIFO) ? RTP_PRIO_FIFO : in ksched_setscheduler() 211 return (getscheduler(ksched, td, policy)); in ksched_getscheduler() 229 switch (policy) { in ksched_get_priority_max() [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 | 886 if (policy->domain_name) { in set_frame_classifier_type4_ipv4() 953 if (policy->domain_name) { in set_frame_classifier_type4_ipv6() 1072 if (!policy->frame_classifier && !policy->domain_name && in wpas_add_dscp_policy() 1111 policy->start_port, policy->end_port); in wpas_add_dscp_policy() 1115 policy->policy_id); in wpas_add_dscp_policy() 1123 if (policy->domain_name) { in wpas_add_dscp_policy() 1142 policy->policy_id); in wpas_add_dscp_policy() 1149 policy->policy_id, policy->dscp, ip_ver, policy_str); in wpas_add_dscp_policy() 1153 policy->policy_id); in wpas_add_dscp_policy() 1196 policy->dscp_info = true; in wpas_fill_dscp_policy() [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/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/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() 290 int policy; in main() local 297 policy = DOMAINSET_POLICY_INVALID; in main() [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() 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() 441 (*attr)->sched_policy = policy; in _thr_attr_setschedpolicy() [all …]
|
/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() 139 policy & MR_LD_CACHE_READ_AHEAD ? in update_cache_policy() 140 (policy & MR_LD_CACHE_READ_ADAPTIVE ? in update_cache_policy() 185 uint8_t policy; in process_cache_command() local 229 policy = MR_LD_CACHE_WRITE_CACHE_BAD_BBU; in process_cache_command() 231 policy = 0; in process_cache_command() 236 stage_cache_setting(props, policy, in process_cache_command() 248 policy = 0; in process_cache_command() 250 policy = MR_LD_CACHE_READ_AHEAD; in process_cache_command() [all …]
|
/freebsd/contrib/llvm-project/libcxx/modules/std/ |
H A D | execution.inc | 12 // [execpol.type], execution policy type trait 18 // [execpol.seq], sequenced execution policy 21 // [execpol.par], parallel execution policy 24 // [execpol.parunseq], parallel and unsequenced execution policy 27 // [execpol.unseq], unsequenced execution policy 30 // [execpol.objects], execution policy objects
|
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
H A D | pstl_frontend_dispatch.h | 24 # define _LIBCPP_PSTL_CUSTOMIZATION_POINT(name, policy) … argument 25 …[](auto&&... __args) -> decltype(std::name<policy>( … 26 … typename __select_backend<policy>::type{}, std::forward<decltype(__args)>(__args)...)) { \ 27 …return std::name<policy>(typename __select_backend<policy>::type{}, std::forward<decltype(__args)>…
|
/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/wpa/wpa_supplicant/dbus/ |
H A D | dbus-wpa_supplicant.conf | 5 <policy user="root"> 11 </policy> 12 <policy context="default"> 16 </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/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/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/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() 603 , policy in main() [all …]
|
/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()
|