Searched refs:policy (Results 1 - 25 of 163) sorted by relevance

1234567

/freebsd-11-stable/contrib/ipfilter/lib/
H A Dprintdstlistpolicy.c11 printdstlistpolicy(policy)
12 ippool_policy_t policy;
14 switch (policy)
/freebsd-11-stable/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus-wpa_supplicant.conf5 <policy user="root">
11 </policy>
12 <policy context="default">
16 </policy>
/freebsd-11-stable/lib/libipsec/
H A Dipsec_get_policylen.c45 ipsec_get_policylen(policy)
46 caddr_t policy;
48 return policy ? PFKEY_EXTLEN(policy) : -1;
/freebsd-11-stable/crypto/openssl/crypto/x509v3/
H A Dv3_pci.c70 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 Dpcy_data.c79 * 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, argument
91 if (!policy && !cid)
118 ret->valid_policy = policy->policyid;
119 policy->policyid = NULL;
122 if (policy) {
123 ret->qualifier_set = policy->qualifiers;
124 policy->qualifiers = NULL;
H A Dv3_pcia.c45 ASN1_OPT(PROXY_POLICY,policy,ASN1_OCTET_STRING)
/freebsd-11-stable/share/security/
H A DMakefile3 FILES= lomac-policy.contexts
/freebsd-11-stable/lib/libthr/thread/
H A Dthr_getprio.c44 int policy, ret; local
47 if ((ret = _pthread_getschedparam(pthread, &policy, &param)) == 0)
H A Dthr_setschedparam.c51 _pthread_setschedparam(pthread_t pthread, int policy, argument
62 if (pthread->attr.sched_policy == policy &&
63 (policy == SCHED_OTHER ||
69 ret = _thr_setscheduler(pthread->tid, policy, param);
73 pthread->attr.sched_policy = policy;
H A Dthr_getschedparam.c48 _pthread_getschedparam(pthread_t pthread, int * __restrict policy, argument
54 if (policy == NULL || param == NULL)
65 *policy = pthread->attr.sched_policy;
H A Dthr_kern.c71 _rtp_to_schedparam(const struct rtprio *rtp, int *policy, argument
76 *policy = SCHED_RR;
80 *policy = SCHED_FIFO;
84 *policy = SCHED_OTHER;
92 _schedparam_to_rtp(int policy, const struct sched_param *param, argument
95 switch(policy) {
114 _thr_getscheduler(lwpid_t lwpid, int *policy, struct sched_param *param) argument
122 _rtp_to_schedparam(&rtp, policy, param);
127 _thr_setscheduler(lwpid_t lwpid, int policy, const struct sched_param *param) argument
131 _schedparam_to_rtp(policy, para
[all...]
/freebsd-11-stable/sys/sys/
H A D_vm_domain.h47 vm_domain_policy_type_t policy; member in struct:vm_domain_policy_entry
58 .p.policy = vt, \
/freebsd-11-stable/tools/regression/priv/
H A Dpriv_audit_control.c34 * auditon(). We do a simple policy retrieve.
64 long policy; local
67 error = auditon(A_GETPOLICY, &policy, sizeof(policy));
/freebsd-11-stable/sys/kern/
H A Dksched.c106 getscheduler(struct ksched *ksched, struct thread *td, int *policy) argument
115 *policy = SCHED_FIFO;
118 *policy = SCHED_RR;
121 *policy = SCHED_OTHER;
131 int e, policy; local
133 e = getscheduler(ksched, td, &policy);
135 e = ksched_setscheduler(ksched, td, policy, param);
170 ksched_setscheduler(struct ksched *ksched, struct thread *td, int policy, argument
177 switch(policy) {
183 rtp.type = (policy
208 ksched_getscheduler(struct ksched *ksched, struct thread *td, int *policy) argument
224 ksched_get_priority_max(struct ksched *ksched, int policy, int *prio) argument
245 ksched_get_priority_min(struct ksched *ksched, int policy, int *prio) argument
[all...]
/freebsd-11-stable/sys/vm/
H A Dvm_domain.c94 * A VM domain policy represents a desired VM domain policy.
100 * When setting a policy, the caller must establish their own
102 * policy.
109 vp->p.policy = VM_POLICY_NONE;
120 vp->p.policy = vt;
127 * Take a local copy of a policy.
129 * The destination policy isn't write-barriered; this is used
147 * Take a write-barrier copy of a policy.
149 * The destination policy i
[all...]
/freebsd-11-stable/usr.sbin/nscd/
H A Dcacheplcs.c108 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-11-stable/crypto/openssl/crypto/ts/
H A Dts_verify_ctx.c98 ASN1_OBJECT_free(ctx->policy);
115 ASN1_OBJECT *policy; local
130 /* Setting policy. */
131 if ((policy = TS_REQ_get_policy_id(req)) != NULL) {
132 if (!(ret->policy = OBJ_dup(policy)))
/freebsd-11-stable/usr.sbin/mfiutil/
H A Dmfi_volume.c120 uint8_t changes, policy; local
125 policy = new->default_cache_policy;
126 changes = policy ^ old->default_cache_policy;
129 policy & MR_LD_CACHE_ALLOW_WRITE_CACHE ? "Enabling" :
133 policy & MR_LD_CACHE_ALLOW_READ_CACHE ? "Enabling" :
136 printf("Setting write cache policy to %s\n",
137 policy & MR_LD_CACHE_WRITE_BACK ? "write-back" :
140 printf("Setting read ahead policy to %s\n",
141 policy & MR_LD_CACHE_READ_AHEAD ?
142 (policy
187 uint8_t policy; local
[all...]
/freebsd-11-stable/crypto/openssh/
H A Dsandbox-systrace.c129 struct systrace_policy policy; local
162 /* Allocate and assign policy */
163 memset(&policy, 0, sizeof(policy));
164 policy.strp_op = SYSTR_POLICY_NEW;
165 policy.strp_maxents = SYS_MAXSYSCALL;
166 if (ioctl(box->systrace_fd, STRIOCPOLICY, &policy) == -1)
170 policy.strp_op = SYSTR_POLICY_ASSIGN;
171 policy.strp_pid = box->child_pid;
172 if (ioctl(box->systrace_fd, STRIOCPOLICY, &policy)
[all...]
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/buffering/
H A Dtst.cputime.ksh65 printf("'%s' buffering policy took %d%% of CPU; ",
80 for policy in "fill ring switch"; do
81 script $policy
/freebsd-11-stable/contrib/gcc/
H A Dgthr-posix.c179 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-11-stable/contrib/openpam/lib/libpam/
H A Dopenpam_load.c125 openpam_clear_chains(pam_chain_t *policy[]) argument
130 openpam_destroy_chain(policy[i]);
131 policy[i] = NULL;
/freebsd-11-stable/crypto/heimdal/lib/kadm5/
H A Dadmin.h146 char * policy; member in struct:_kadm5_principal_ent_t
160 char *policy; member in struct:_kadm5_policy_ent_t
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.bin/numactl/
H A Dnumactl.c87 vd->policy = VM_POLICY_ROUND_ROBIN;
93 vd->policy = VM_POLICY_FIRST_TOUCH_ROUND_ROBIN;
99 vd->policy = VM_POLICY_FIRST_TOUCH;
105 vd->policy = VM_POLICY_FIXED_DOMAIN;
111 vd->policy = VM_POLICY_FIXED_DOMAIN_ROUND_ROBIN;
125 printf(" [--mempolicy/-l <policy>] [--memdomain/"
128 printf(" numactl [--mempolicy/-l <policy>] [--memdomain/-m "
188 "Could not parse policy: '%s'\n", optarg);
196 "Error: set policy first before domain\n");
219 /* Ensure that a policy wa
[all...]
/freebsd-11-stable/sbin/setkey/
H A Dtest-policy.c94 int test(char *policy, int family) argument
114 if (setsockopt(so, proto, optname, policy, PFKEY_EXTLEN(policy)) < 0)

Completed in 245 milliseconds

1234567