/freebsd-9.3-release/lib/libipsec/ |
H A D | ipsec_get_policylen.c | 45 ipsec_get_policylen(policy) 46 caddr_t policy; 48 return policy ? PFKEY_EXTLEN(policy) : -1;
|
/freebsd-9.3-release/lib/libkse/thread/ |
H A D | thr_attr_setschedpolicy.c | 44 _pthread_attr_setschedpolicy(pthread_attr_t *attr, int policy) argument 50 else if ((policy < SCHED_FIFO) || (policy > SCHED_RR)) { 53 (*attr)->sched_policy = policy;
|
H A D | thr_attr_getschedpolicy.c | 44 _pthread_attr_getschedpolicy(const pthread_attr_t *attr, int *policy) argument 48 if ((attr == NULL) || (*attr == NULL) || (policy == NULL)) 51 *policy = (*attr)->sched_policy;
|
H A D | thr_setprio.c | 44 int ret, policy; local 47 if ((ret = _pthread_getschedparam(pthread, &policy, ¶m)) == 0) { 49 ret = _pthread_setschedparam(pthread, policy, ¶m);
|
H A D | thr_getprio.c | 44 int policy, ret; local 47 if ((ret = _pthread_getschedparam(pthread, &policy, ¶m)) == 0)
|
H A D | thr_getschedparam.c | 44 _pthread_getschedparam(pthread_t pthread, int *policy, argument 50 if ((param == NULL) || (policy == NULL)) 63 *policy = tmp; 75 *policy = tmp;
|
H A D | thr_setschedparam.c | 45 _pthread_setschedparam(pthread_t pthread, int policy, argument 54 if ((param == NULL) || (policy < SCHED_FIFO) || (policy > SCHED_RR)) { 79 /* Set the scheduling policy: */ 80 pthread->attr.sched_policy = policy;
|
/freebsd-9.3-release/crypto/openssl/crypto/x509v3/ |
H A D | v3_pci.c | 70 if (pci->proxyPolicy->policy && pci->proxyPolicy->policy->data) 72 pci->proxyPolicy->policy->data); 78 ASN1_OCTET_STRING **policy) 108 } else if (strcmp(val->name, "policy") == 0) { 111 if (!*policy) { 112 *policy = ASN1_OCTET_STRING_new(); 113 if (!*policy) { 131 tmp_data = OPENSSL_realloc((*policy)->data, 132 (*policy) 76 process_pci_value(CONF_VALUE *val, ASN1_OBJECT **language, ASN1_INTEGER **pathlen, ASN1_OCTET_STRING **policy) argument 233 ASN1_OCTET_STRING *policy = NULL; local [all...] |
H A D | pcy_data.c | 79 * Create a data based on an existing policy. If 'id' is NULL use the oid in 80 * the policy, otherwise use 'id'. This behaviour covers the two types of 86 X509_POLICY_DATA *policy_data_new(POLICYINFO *policy, ASN1_OBJECT *id, argument 90 if (!policy && !id) 116 ret->valid_policy = policy->policyid; 117 policy->policyid = NULL; 120 if (policy) { 121 ret->qualifier_set = policy->qualifiers; 122 policy->qualifiers = NULL;
|
H A D | v3_pcia.c | 45 ASN1_OPT(PROXY_POLICY,policy,ASN1_OCTET_STRING)
|
/freebsd-9.3-release/share/security/ |
H A D | Makefile | 3 FILES= lomac-policy.contexts
|
/freebsd-9.3-release/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus-wpa_supplicant.conf | 5 <policy user="root"> 16 </policy> 17 <policy context="default"> 26 </policy>
|
/freebsd-9.3-release/lib/libthr/thread/ |
H A D | thr_getprio.c | 42 int policy, ret; local 45 if ((ret = _pthread_getschedparam(pthread, &policy, ¶m)) == 0)
|
H A D | thr_setschedparam.c | 50 _pthread_setschedparam(pthread_t pthread, int policy, argument 61 if (pthread->attr.sched_policy == policy && 62 (policy == SCHED_OTHER || 68 ret = _thr_setscheduler(pthread->tid, policy, param); 72 pthread->attr.sched_policy = policy;
|
H A D | thr_getschedparam.c | 47 _pthread_getschedparam(pthread_t pthread, int *policy, argument 53 if (policy == NULL || param == NULL) 62 *policy = curthread->attr.sched_policy; 71 *policy = pthread->attr.sched_policy;
|
H A D | thr_kern.c | 75 _rtp_to_schedparam(const struct rtprio *rtp, int *policy, argument 80 *policy = SCHED_RR; 84 *policy = SCHED_FIFO; 88 *policy = SCHED_OTHER; 96 _schedparam_to_rtp(int policy, const struct sched_param *param, argument 99 switch(policy) { 118 _thr_getscheduler(lwpid_t lwpid, int *policy, struct sched_param *param) argument 126 _rtp_to_schedparam(&rtp, policy, param); 131 _thr_setscheduler(lwpid_t lwpid, int policy, const struct sched_param *param) argument 135 _schedparam_to_rtp(policy, para [all...] |
/freebsd-9.3-release/tools/regression/priv/ |
H A D | priv_audit_control.c | 34 * auditon(). We do a simple policy retrieve. 64 long policy; local 67 error = auditon(A_GETPOLICY, &policy, sizeof(policy));
|
/freebsd-9.3-release/sys/kern/ |
H A D | ksched.c | 108 getscheduler(struct ksched *ksched, struct thread *td, int *policy) argument 117 *policy = SCHED_FIFO; 121 *policy = SCHED_RR; 125 *policy = SCHED_OTHER; 136 int policy; local 139 e = getscheduler(ksched, td, &policy); 143 e = ksched_setscheduler(ksched, td, policy, param); 180 struct thread *td, int policy, const struct sched_param *param) 185 switch(policy) 194 rtp.type = (policy 179 ksched_setscheduler(struct ksched *ksched, struct thread *td, int policy, const struct sched_param *param) argument 225 ksched_getscheduler(struct ksched *ksched, struct thread *td, int *policy) argument 240 ksched_get_priority_max(struct ksched *ksched, int policy, int *prio) argument 263 ksched_get_priority_min(struct ksched *ksched, int policy, int *prio) argument [all...] |
/freebsd-9.3-release/contrib/openbsm/etc/ |
H A D | audit_control | 10 policy:cnt,argv
|
/freebsd-9.3-release/crypto/openssh/ |
H A D | sandbox-systrace.c | 111 struct systrace_policy policy; local 144 /* Allocate and assign policy */ 145 memset(&policy, 0, sizeof(policy)); 146 policy.strp_op = SYSTR_POLICY_NEW; 147 policy.strp_maxents = SYS_MAXSYSCALL; 148 if (ioctl(box->systrace_fd, STRIOCPOLICY, &policy) == -1) 152 policy.strp_op = SYSTR_POLICY_ASSIGN; 153 policy.strp_pid = box->child_pid; 154 if (ioctl(box->systrace_fd, STRIOCPOLICY, &policy) [all...] |
/freebsd-9.3-release/usr.sbin/nscd/ |
H A D | cacheplcs.c | 108 cache_queue_policy_add_item(struct cache_policy_ *policy, argument 115 queue_policy = (struct cache_queue_policy_ *)policy; 122 cache_queue_policy_remove_item(struct cache_policy_ *policy, argument 129 queue_policy = (struct cache_queue_policy_ *)policy; 136 cache_queue_policy_get_first_item(struct cache_policy_ *policy) argument 141 queue_policy = (struct cache_queue_policy_ *)policy; 147 cache_queue_policy_get_last_item(struct cache_policy_ *policy) argument 152 queue_policy = (struct cache_queue_policy_ *)policy; 159 cache_queue_policy_get_next_item(struct cache_policy_ *policy, argument 166 queue_policy = (struct cache_queue_policy_ *)policy; 174 cache_queue_policy_get_prev_item(struct cache_policy_ *policy, struct cache_policy_item_ *item) argument 245 cache_fifo_policy_update_item(struct cache_policy_ *policy, struct cache_policy_item_ *item) argument 268 destroy_cache_fifo_policy(struct cache_policy_ *policy) argument 284 cache_lru_policy_update_item(struct cache_policy_ *policy, struct cache_policy_item_ *item) argument 313 destroy_cache_lru_policy(struct cache_policy_ *policy) argument 362 cache_lfu_policy_add_item(struct cache_policy_ *policy, struct cache_policy_item_ *item) argument 383 cache_lfu_policy_update_item(struct cache_policy_ *policy, struct cache_policy_item_ *item) argument 423 cache_lfu_policy_remove_item(struct cache_policy_ *policy, struct cache_policy_item_ *item) argument 439 cache_lfu_policy_get_first_item(struct cache_policy_ *policy) argument 459 cache_lfu_policy_get_last_item(struct cache_policy_ *policy) argument 480 cache_lfu_policy_get_next_item(struct cache_policy_ *policy, struct cache_policy_item_ *item) argument 506 cache_lfu_policy_get_prev_item(struct cache_policy_ *policy, struct cache_policy_item_ *item) argument 571 destroy_cache_lfu_policy(struct cache_policy_ *policy) argument [all...] |
/freebsd-9.3-release/usr.sbin/mfiutil/ |
H A D | mfi_volume.c | 118 uint8_t changes, policy; local 123 policy = new->default_cache_policy; 124 changes = policy ^ old->default_cache_policy; 127 policy & MR_LD_CACHE_ALLOW_WRITE_CACHE ? "Enabling" : 131 policy & MR_LD_CACHE_ALLOW_READ_CACHE ? "Enabling" : 134 printf("Setting write cache policy to %s\n", 135 policy & MR_LD_CACHE_WRITE_BACK ? "write-back" : 138 printf("Setting read ahead policy to %s\n", 139 policy & MR_LD_CACHE_READ_AHEAD ? 140 (policy 185 uint8_t policy; local [all...] |
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/buffering/ |
H A D | tst.cputime.ksh | 65 printf("'%s' buffering policy took %d%% of CPU; ", 80 for policy in "fill ring switch"; do 81 script $policy
|
/freebsd-9.3-release/contrib/gcc/ |
H A D | gthr-posix.c | 179 sched_get_priority_max (int policy ATTRIBUTE_UNUSED) 185 sched_get_priority_min (int policy ATTRIBUTE_UNUSED) 220 int *policy ATTRIBUTE_UNUSED, 228 int policy ATTRIBUTE_UNUSED,
|
/freebsd-9.3-release/contrib/openpam/lib/libpam/ |
H A D | openpam_load.c | 123 openpam_clear_chains(pam_chain_t *policy[]) argument 128 openpam_destroy_chain(policy[i]); 129 policy[i] = NULL;
|