| /freebsd-11-stable/crypto/openssl/crypto/x509v3/ |
| HD | v3_pci.c | 70 if (pci->proxyPolicy->policy && pci->proxyPolicy->policy->data) in i2r_pci() 72 pci->proxyPolicy->policy->data); in i2r_pci() 78 ASN1_OCTET_STRING **policy) in process_pci_value() argument 111 if (!*policy) { in process_pci_value() 112 *policy = ASN1_OCTET_STRING_new(); in process_pci_value() 113 if (!*policy) { in process_pci_value() 131 tmp_data = OPENSSL_realloc((*policy)->data, in process_pci_value() 132 (*policy)->length + val_len + 1); in process_pci_value() 134 (*policy)->data = tmp_data; in process_pci_value() 135 memcpy(&(*policy)->data[(*policy)->length], in process_pci_value() [all …]
|
| HD | pcy_data.c | 86 X509_POLICY_DATA *policy_data_new(POLICYINFO *policy, in policy_data_new() argument 91 if (!policy && !cid) in policy_data_new() 118 ret->valid_policy = policy->policyid; in policy_data_new() 119 policy->policyid = NULL; in policy_data_new() 122 if (policy) { in policy_data_new() 123 ret->qualifier_set = policy->qualifiers; in policy_data_new() 124 policy->qualifiers = NULL; in policy_data_new()
|
| /freebsd-11-stable/usr.sbin/nscd/ |
| HD | cacheplcs.c | 108 cache_queue_policy_add_item(struct cache_policy_ *policy, in cache_queue_policy_add_item() argument 115 queue_policy = (struct cache_queue_policy_ *)policy; in cache_queue_policy_add_item() 122 cache_queue_policy_remove_item(struct cache_policy_ *policy, in cache_queue_policy_remove_item() argument 129 queue_policy = (struct cache_queue_policy_ *)policy; in cache_queue_policy_remove_item() 136 cache_queue_policy_get_first_item(struct cache_policy_ *policy) in cache_queue_policy_get_first_item() argument 141 queue_policy = (struct cache_queue_policy_ *)policy; in cache_queue_policy_get_first_item() 147 cache_queue_policy_get_last_item(struct cache_policy_ *policy) in cache_queue_policy_get_last_item() argument 152 queue_policy = (struct cache_queue_policy_ *)policy; in cache_queue_policy_get_last_item() 159 cache_queue_policy_get_next_item(struct cache_policy_ *policy, in cache_queue_policy_get_next_item() argument 166 queue_policy = (struct cache_queue_policy_ *)policy; in cache_queue_policy_get_next_item() [all …]
|
| HD | cachelib.c | 245 switch (common_entry->common_params.policy) { in destroy_cache_entry() 292 struct cache_policy_ *policy; in clear_cache_entry() local 313 policy = common_entry->policies[i]; in clear_cache_entry() 316 item = policy->get_first_item_func(policy); in clear_cache_entry() 318 next_item = policy->get_next_item_func(policy, in clear_cache_entry() 320 policy->remove_item_func(policy, item); in clear_cache_entry() 321 policy->destroy_item_func(item); in clear_cache_entry() 374 struct cache_policy_ *policy, in flush_cache_policy() argument 384 assert(policy != NULL); in flush_cache_policy() 387 item = policy->get_first_item_func(policy); in flush_cache_policy() [all …]
|
| /freebsd-11-stable/sys/vm/ |
| HD | vm_domain.c | 109 vp->p.policy = VM_POLICY_NONE; in vm_domain_policy_init() 120 vp->p.policy = vt; in vm_domain_policy_set() 166 dst->p.policy = d.p.policy; in vm_domain_policy_copy() 177 switch (vp->p.policy) { in vm_domain_policy_validate() 228 vi->policy = VM_POLICY_FIXED_DOMAIN; in vm_domain_iterator_set() 233 vi->policy = VM_POLICY_FIXED_DOMAIN_ROUND_ROBIN; in vm_domain_iterator_set() 238 vi->policy = VM_POLICY_FIRST_TOUCH; in vm_domain_iterator_set() 243 vi->policy = VM_POLICY_FIRST_TOUCH_ROUND_ROBIN; in vm_domain_iterator_set() 249 vi->policy = VM_POLICY_ROUND_ROBIN; in vm_domain_iterator_set() 280 switch (vt->p.policy) { in _vm_domain_iterator_set_policy() [all …]
|
| /freebsd-11-stable/sys/kern/ |
| HD | 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 …]
|
| HD | p1003_1b.c | 221 e = kern_sched_setscheduler(td, targettd, uap->policy, 229 int policy, struct sched_param *param) 244 error = ksched_setscheduler(ksched, targettd, policy, 252 int e, policy; 267 e = kern_sched_getscheduler(td, targettd, &policy); 270 td->td_retval[0] = policy; 277 int *policy) 287 error = ksched_getscheduler(ksched, targettd, policy); 305 error = ksched_get_priority_max(ksched, uap->policy, &prio); 316 error = ksched_get_priority_min(ksched, uap->policy, &prio);
|
| /freebsd-11-stable/crypto/openssh/ |
| HD | 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-11-stable/usr.sbin/mfiutil/ |
| HD | mfi_volume.c | 120 uint8_t changes, policy; in update_cache_policy() local 125 policy = new->default_cache_policy; in update_cache_policy() 126 changes = policy ^ old->default_cache_policy; in update_cache_policy() 129 policy & MR_LD_CACHE_ALLOW_WRITE_CACHE ? "Enabling" : in update_cache_policy() 133 policy & MR_LD_CACHE_ALLOW_READ_CACHE ? "Enabling" : in update_cache_policy() 137 policy & MR_LD_CACHE_WRITE_BACK ? "write-back" : in update_cache_policy() 141 policy & MR_LD_CACHE_READ_AHEAD ? in update_cache_policy() 142 (policy & MR_LD_CACHE_READ_ADAPTIVE ? in update_cache_policy() 146 policy & MR_LD_CACHE_WRITE_CACHE_BAD_BBU ? "Enabling" : in update_cache_policy() 187 uint8_t policy; in process_cache_command() local [all …]
|
| /freebsd-11-stable/contrib/file/magic/Magdir/ |
| HD | 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-11-stable/lib/libthr/thread/ |
| HD | thr_kern.c | 71 _rtp_to_schedparam(const struct rtprio *rtp, int *policy, in _rtp_to_schedparam() argument 76 *policy = SCHED_RR; in _rtp_to_schedparam() 80 *policy = SCHED_FIFO; in _rtp_to_schedparam() 84 *policy = SCHED_OTHER; in _rtp_to_schedparam() 92 _schedparam_to_rtp(int policy, const struct sched_param *param, in _schedparam_to_rtp() argument 95 switch(policy) { in _schedparam_to_rtp() 114 _thr_getscheduler(lwpid_t lwpid, int *policy, struct sched_param *param) in _thr_getscheduler() argument 122 _rtp_to_schedparam(&rtp, policy, param); in _thr_getscheduler() 127 _thr_setscheduler(lwpid_t lwpid, int policy, const struct sched_param *param) in _thr_setscheduler() argument 131 _schedparam_to_rtp(policy, param, &rtp); in _thr_setscheduler()
|
| HD | thr_setschedparam.c | 51 _pthread_setschedparam(pthread_t pthread, int policy, in _pthread_setschedparam() argument 62 if (pthread->attr.sched_policy == policy && in _pthread_setschedparam() 63 (policy == SCHED_OTHER || in _pthread_setschedparam() 69 ret = _thr_setscheduler(pthread->tid, policy, param); in _pthread_setschedparam() 73 pthread->attr.sched_policy = policy; in _pthread_setschedparam()
|
| HD | thr_attr.c | 252 int * __restrict policy) in _pthread_attr_getschedpolicy() argument 256 if ((attr == NULL) || (*attr == NULL) || (policy == NULL)) in _pthread_attr_getschedpolicy() 259 *policy = (*attr)->sched_policy; in _pthread_attr_getschedpolicy() 450 int policy; in _pthread_attr_setschedparam() local 458 policy = (*attr)->sched_policy; in _pthread_attr_setschedparam() 460 if (policy == SCHED_FIFO || policy == SCHED_RR) { in _pthread_attr_setschedparam() 461 if (param->sched_priority < _thr_priorities[policy-1].pri_min || in _pthread_attr_setschedparam() 462 param->sched_priority > _thr_priorities[policy-1].pri_max) in _pthread_attr_setschedparam() 480 _pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy) in _pthread_attr_setschedpolicy() argument 486 else if ((policy < SCHED_FIFO) || (policy > SCHED_RR)) { in _pthread_attr_setschedpolicy() [all …]
|
| /freebsd-11-stable/crypto/heimdal/lib/asn1/ |
| HD | 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-11-stable/lib/libipsec/ |
| HD | ipsec_get_policylen.c | 45 ipsec_get_policylen(policy) in ipsec_get_policylen() argument 46 caddr_t policy; in ipsec_get_policylen() 48 return policy ? PFKEY_EXTLEN(policy) : -1;
|
| /freebsd-11-stable/crypto/heimdal/lib/kadm5/ |
| HD | 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-11-stable/usr.sbin/rrenumd/ |
| HD | 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() 356 , char *policy in sock4_open() argument 383 if (flags->policy) { in sock4_open() 385 buf = ipsec_set_policy(policy, strlen(policy)); in sock4_open() 538 char *policy = NULL; in main() local 575 flags.policy = 1; in main() 576 policy = strdup(optarg); in main() [all …]
|
| /freebsd-11-stable/contrib/wpa/wpa_supplicant/dbus/ |
| HD | dbus-wpa_supplicant.conf | 5 <policy user="root"> 11 </policy> 12 <policy context="default"> 16 </policy>
|
| /freebsd-11-stable/contrib/netbsd-tests/ipf/regress/ |
| HD | 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-11-stable/contrib/netbsd-tests/ipf/expected/ |
| HD | 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-11-stable/usr.bin/numactl/ |
| HD | numactl.c | 87 vd->policy = VM_POLICY_ROUND_ROBIN; in parse_policy() 93 vd->policy = VM_POLICY_FIRST_TOUCH_ROUND_ROBIN; in parse_policy() 99 vd->policy = VM_POLICY_FIRST_TOUCH; in parse_policy() 105 vd->policy = VM_POLICY_FIXED_DOMAIN; in parse_policy() 111 vd->policy = VM_POLICY_FIXED_DOMAIN_ROUND_ROBIN; in parse_policy() 268 policy_to_str(vd.policy), in main()
|
| /freebsd-11-stable/crypto/openssl/crypto/ts/ |
| HD | ts_verify_ctx.c | 98 ASN1_OBJECT_free(ctx->policy); in TS_VERIFY_CTX_cleanup() 115 ASN1_OBJECT *policy; in TS_REQ_to_TS_VERIFY_CTX() local 131 if ((policy = TS_REQ_get_policy_id(req)) != NULL) { in TS_REQ_to_TS_VERIFY_CTX() 132 if (!(ret->policy = OBJ_dup(policy))) in TS_REQ_to_TS_VERIFY_CTX()
|
| /freebsd-11-stable/crypto/openssl/doc/HOWTO/ |
| HD | proxy_certificates.txt | 76 proxyCertInfo=critical,language:id-ppl-anyLanguage,pathlen:1,policy:text:AB 85 policy=text:BC 87 The policy value has a specific syntax, {syntag}:{string}, where the syntag 93 policy=text:räksmörgås 102 policy=hex:72:E4:6B:73:6D:F6:72:67:E5:73 110 file indicates that the text of the policy should really be taken from a 114 The 'policy' setting can be split up in multiple lines like this: 116 0.policy=This is 117 1.policy= a multi- 118 2.policy=line policy. [all …]
|
| /freebsd-11-stable/crypto/openssl/apps/ |
| HD | ts.c | 87 const EVP_MD *md, const char *policy, int no_nonce, 92 const char *policy, int no_nonce, int cert); 100 char *signer, char *chain, const char *policy, 107 const char *policy); 139 char *policy = NULL; in MAIN() local 200 policy = *++argv; in MAIN() 302 ret = !query_command(data, digest, md, policy, no_nonce, cert, in MAIN() 319 password, inkey, signer, chain, policy, in MAIN() 432 const char *policy, int no_nonce, in query_command() argument 453 query = create_query(data_bio, digest, md, policy, no_nonce, cert); in query_command() [all …]
|
| /freebsd-11-stable/contrib/ipfilter/lib/ |
| HD | printdstlistpolicy.c | 11 printdstlistpolicy(policy) in printdstlistpolicy() argument 12 ippool_policy_t policy; in printdstlistpolicy() 14 switch (policy)
|