| /freebsd-10-stable/crypto/openssl/crypto/x509v3/ |
| D | 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 …]
|
| D | 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-10-stable/usr.sbin/nscd/ |
| D | 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 …]
|
| D | 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-10-stable/sys/kern/ |
| 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 …]
|
| D | 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-10-stable/crypto/openssh/ |
| 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-10-stable/contrib/file/magic/Magdir/ |
| 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-10-stable/usr.sbin/mfiutil/ |
| 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-10-stable/lib/libthr/thread/ |
| D | thr_kern.c | 70 _rtp_to_schedparam(const struct rtprio *rtp, int *policy, in _rtp_to_schedparam() argument 75 *policy = SCHED_RR; in _rtp_to_schedparam() 79 *policy = SCHED_FIFO; in _rtp_to_schedparam() 83 *policy = SCHED_OTHER; in _rtp_to_schedparam() 91 _schedparam_to_rtp(int policy, const struct sched_param *param, in _schedparam_to_rtp() argument 94 switch(policy) { in _schedparam_to_rtp() 113 _thr_getscheduler(lwpid_t lwpid, int *policy, struct sched_param *param) in _thr_getscheduler() argument 121 _rtp_to_schedparam(&rtp, policy, param); in _thr_getscheduler() 126 _thr_setscheduler(lwpid_t lwpid, int policy, const struct sched_param *param) in _thr_setscheduler() argument 130 _schedparam_to_rtp(policy, param, &rtp); in _thr_setscheduler()
|
| 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()
|
| D | thr_attr.c | 247 _pthread_attr_getschedpolicy(const pthread_attr_t *attr, int *policy) in _pthread_attr_getschedpolicy() argument 251 if ((attr == NULL) || (*attr == NULL) || (policy == NULL)) in _pthread_attr_getschedpolicy() 254 *policy = (*attr)->sched_policy; in _pthread_attr_getschedpolicy() 442 int policy; in _pthread_attr_setschedparam() local 450 policy = (*attr)->sched_policy; in _pthread_attr_setschedparam() 452 if (policy == SCHED_FIFO || policy == SCHED_RR) { in _pthread_attr_setschedparam() 453 if (param->sched_priority < _thr_priorities[policy-1].pri_min || in _pthread_attr_setschedparam() 454 param->sched_priority > _thr_priorities[policy-1].pri_max) in _pthread_attr_setschedparam() 472 _pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy) in _pthread_attr_setschedpolicy() argument 478 else if ((policy < SCHED_FIFO) || (policy > SCHED_RR)) { in _pthread_attr_setschedpolicy() [all …]
|
| /freebsd-10-stable/crypto/heimdal/lib/asn1/ |
| 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-10-stable/lib/libipsec/ |
| D | 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-10-stable/crypto/openssl/doc/crypto/ |
| D | X509_VERIFY_PARAM_set_flags.pod | 22 ASN1_OBJECT *policy); 52 X509_VERIFY_PARAM_add0_policy() enables policy checking (it is disabled 53 by default) and adds B<policy> to the acceptable policy set. 55 X509_VERIFY_PARAM_set1_policies() enables policy checking (it is disabled 56 by default) and sets the acceptable policy set to B<policies>. Any existing 57 policy set is cleared. The B<policies> parameter can be B<NULL> to clear 58 an existing policy set. 101 B<X509_V_FLAG_POLICY_CHECK> enables certificate policy checking, by default 102 no policy checking is peformed. Additional information is sent to the 103 verification callback relating to policy checking. [all …]
|
| /freebsd-10-stable/lib/libkse/thread/ |
| D | thr_attr_setschedpolicy.c | 44 _pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy) in _pthread_attr_setschedpolicy() argument 50 else if ((policy < SCHED_FIFO) || (policy > SCHED_RR)) { in _pthread_attr_setschedpolicy() 53 (*attr)->sched_policy = policy; in _pthread_attr_setschedpolicy()
|
| D | thr_getschedparam.c | 44 _pthread_getschedparam(pthread_t pthread, int *policy, in _pthread_getschedparam() argument 50 if ((param == NULL) || (policy == NULL)) in _pthread_getschedparam() 63 *policy = tmp; in _pthread_getschedparam() 75 *policy = tmp; in _pthread_getschedparam()
|
| /freebsd-10-stable/crypto/heimdal/lib/kadm5/ |
| 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-10-stable/usr.sbin/rrenumd/ |
| 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() 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-10-stable/contrib/wpa/wpa_supplicant/dbus/ |
| D | dbus-wpa_supplicant.conf | 5 <policy user="root"> 16 </policy> 17 <policy context="default"> 26 </policy>
|
| /freebsd-10-stable/contrib/ofed/management/opensm/doc/ |
| D | QoS_management_in_OpenSM.txt | 22 The default name of OpenSM QoS policy file is 23 /usr/local/etc/opensm/qos-policy.conf. The default may be changed by using -Y 27 policy file, applies its settings to the discovered fabric elements, and 28 enforces the provided policy on client requests. The overall flow for such 35 There are two ways to define QoS policy: 36 - Full policy, where the policy file syntax provides an administrator 39 - Simplified QoS policy definition, where an administrator would be able to 43 While the full policy syntax is very flexible, in many cases the simplified 44 policy definition would be sufficient. 51 QoS policy file has the following sections: [all …]
|
| /freebsd-10-stable/contrib/netbsd-tests/ipf/regress/ |
| 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-10-stable/contrib/netbsd-tests/ipf/expected/ |
| 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-10-stable/crypto/openssl/crypto/ts/ |
| D | 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-10-stable/contrib/ipfilter/lib/ |
| D | printdstlistpolicy.c | 11 printdstlistpolicy(policy) in printdstlistpolicy() argument 12 ippool_policy_t policy; in printdstlistpolicy() 14 switch (policy)
|