| /NextBSD/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()
|
| /NextBSD/sys/vm/ |
| HD | vm_domain.c | 101 vp->p.policy = VM_POLICY_NONE; in vm_domain_policy_init() 112 vp->p.policy = vt; in vm_domain_policy_set() 159 dst->p.policy = d.p.policy; in vm_domain_policy_copy() 171 switch (vp->p.policy) { in vm_domain_policy_validate() 216 vi->policy = VM_POLICY_FIXED_DOMAIN; in vm_domain_iterator_set() 221 vi->policy = VM_POLICY_FIXED_DOMAIN_ROUND_ROBIN; in vm_domain_iterator_set() 226 vi->policy = VM_POLICY_FIRST_TOUCH; in vm_domain_iterator_set() 231 vi->policy = VM_POLICY_FIRST_TOUCH_ROUND_ROBIN; in vm_domain_iterator_set() 237 vi->policy = VM_POLICY_ROUND_ROBIN; in vm_domain_iterator_set() 262 switch (vt->p.policy) { in _vm_domain_iterator_set_policy() [all …]
|
| /NextBSD/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 …]
|
| /NextBSD/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 | 225 e = kern_sched_setscheduler(td, targettd, uap->policy, 233 int policy, struct sched_param *param) 248 error = ksched_setscheduler(ksched, targettd, policy, 256 int e, policy; 271 e = kern_sched_getscheduler(td, targettd, &policy); 274 td->td_retval[0] = policy; 281 int *policy) 291 error = ksched_getscheduler(ksched, targettd, policy); 312 error = ksched_get_priority_max(ksched, uap->policy, &prio); 323 error = ksched_get_priority_min(ksched, uap->policy, &prio);
|
| /NextBSD/crypto/openssh/ |
| HD | sandbox-systrace.c | 111 struct systrace_policy policy; in ssh_sandbox_parent() local 145 memset(&policy, 0, sizeof(policy)); in ssh_sandbox_parent() 146 policy.strp_op = SYSTR_POLICY_NEW; in ssh_sandbox_parent() 147 policy.strp_maxents = SYS_MAXSYSCALL; in ssh_sandbox_parent() 148 if (ioctl(box->systrace_fd, STRIOCPOLICY, &policy) == -1) in ssh_sandbox_parent() 152 policy.strp_op = SYSTR_POLICY_ASSIGN; in ssh_sandbox_parent() 153 policy.strp_pid = box->child_pid; in ssh_sandbox_parent() 154 if (ioctl(box->systrace_fd, STRIOCPOLICY, &policy) == -1) in ssh_sandbox_parent() 167 policy.strp_op = SYSTR_POLICY_MODIFY; in ssh_sandbox_parent() 168 policy.strp_code = i; in ssh_sandbox_parent() [all …]
|
| /NextBSD/lib/libosxsupport/ |
| HD | getiopolicy_np.c | 33 int policy, error; in getiopolicy_np() local 39 policy = -1; in getiopolicy_np() 48 policy = -1; in getiopolicy_np() 52 policy = iop_param.iop_policy; in getiopolicy_np() 55 return policy; in getiopolicy_np() 59 setiopolicy_np(int iotype, int scope, int policy) in setiopolicy_np() argument 66 iop_param.iop_policy = policy; in setiopolicy_np()
|
| /NextBSD/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
|
| /NextBSD/usr.sbin/mfiutil/ |
| HD | 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 …]
|
| /NextBSD/lib/libthr/thread/ |
| HD | 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()
|
| HD | 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()
|
| HD | 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 …]
|
| /NextBSD/sys/dev/iwm/ |
| HD | if_iwm_time_event.c | 169 iwm_te_v2_get_notify(uint16_t policy) in iwm_te_v2_get_notify() argument 171 return le16toh(policy) & IWM_TE_V2_NOTIF_MSK; in iwm_te_v2_get_notify() 175 iwm_te_v2_get_dep_policy(uint16_t policy) in iwm_te_v2_get_dep_policy() argument 177 return (le16toh(policy) & IWM_TE_V2_DEP_POLICY_MSK) >> in iwm_te_v2_get_dep_policy() 182 iwm_te_v2_get_absence(uint16_t policy) in iwm_te_v2_get_absence() argument 184 return (le16toh(policy) & IWM_TE_V2_ABSENCE) >> IWM_TE_V2_ABSENCE_POS; in iwm_te_v2_get_absence() 206 cmd_v1->dep_policy = htole32(iwm_te_v2_get_dep_policy(cmd_v2->policy)); in iwm_mvm_te_v2_to_v1() 207 cmd_v1->is_present = htole32(!iwm_te_v2_get_absence(cmd_v2->policy)); in iwm_mvm_te_v2_to_v1() 208 cmd_v1->notify = htole32(iwm_te_v2_get_notify(cmd_v2->policy)); in iwm_mvm_te_v2_to_v1() 267 time_cmd.policy in iwm_mvm_protect_session()
|
| /NextBSD/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,
|
| /NextBSD/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;
|
| /NextBSD/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);
|
| /NextBSD/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 …]
|
| /NextBSD/contrib/ofed/management/opensm/doc/ |
| HD | 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 …]
|
| /NextBSD/contrib/wpa/wpa_supplicant/dbus/ |
| HD | dbus-wpa_supplicant.conf | 5 <policy user="root"> 16 </policy> 17 <policy context="default"> 26 </policy>
|
| /NextBSD/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;)
|
| /NextBSD/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;)
|
| /NextBSD/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() 267 policy_to_str(vd.policy), in main()
|
| /NextBSD/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()
|