Home
last modified time | relevance | path

Searched refs:policy (Results 1 – 25 of 37) sorted by relevance

12

/linux-2.4.37.9/kernel/
Dsched.c154 if (p->policy & SCHED_YIELD) in goodness()
160 if (p->policy == SCHED_OTHER) { in goodness()
468 int policy; in __schedule_tail() local
480 policy = prev->policy; in __schedule_tail()
481 prev->policy = policy & ~SCHED_YIELD; in __schedule_tail()
518 (policy & SCHED_YIELD)) in __schedule_tail()
528 prev->policy &= ~SCHED_YIELD; in __schedule_tail()
578 if (unlikely(prev->policy == SCHED_RR)) in schedule()
639 prev->policy &= ~SCHED_YIELD; in schedule()
937 static int setscheduler(pid_t pid, int policy, in setscheduler() argument
[all …]
Dtimer.c609 if (p->policy != SCHED_FIFO) { in update_process_times()
849 current->policy != SCHED_OTHER) in sys_nanosleep()
/linux-2.4.37.9/include/net/
Dip6_fw.h24 int policy; member
49 unsigned long policy; member
/linux-2.4.37.9/net/ipv6/
Dip6_fw.c187 if (rl->policy & IP6_FW_REJECT) in ip6_fw_accept_trans()
218 if (rl->policy & IP6_FW_REJECT) in ip6_fw_accept()
301 rl->policy = msg->policy; in ip6_fw_msg_add()
321 if (msg->policy == IP6_FW_ACCEPT) { in ip6_fw_msg_add()
DConfig.in5 #bool ' IPv6: flow policy support' CONFIG_RT6_POLICY
/linux-2.4.37.9/drivers/net/skfp/
Dpcmplc.c1488 int policy ; local
1492 policy = smc->mib.fddiSMTConnectionPolicy ;
1498 ((policy & POLICY_AA) && ne == TA) ||
1499 ((policy & POLICY_AB) && ne == TB) ||
1500 ((policy & POLICY_AS) && ne == TS) ||
1501 ((policy & POLICY_AM) && ne == TM) )
1506 ((policy & POLICY_BA) && ne == TA) ||
1507 ((policy & POLICY_BB) && ne == TB) ||
1508 ((policy & POLICY_BS) && ne == TS) ||
1509 ((policy & POLICY_BM) && ne == TM) )
[all …]
Dsmt.c1066 smt_fill_policy(smc,&sif->policy) ; /* set station policy */
1303 static void smt_fill_policy(smc,policy) in smt_fill_policy() argument
1305 struct smt_p_policy *policy ;
1319 SMTSETPARA(policy,SMT_P_POLICY) ;
1329 policy->pl_config = smc->mib.fddiSMTConfigPolicy ;
1330 policy->pl_connect = out ;
/linux-2.4.37.9/net/decnet/
Ddn_rules.c203 struct dn_fib_rule *r, *policy; in dn_fib_lookup() local
221 policy = r; in dn_fib_lookup()
239 res->r = policy; in dn_fib_lookup()
240 if (policy) in dn_fib_lookup()
241 atomic_inc(&policy->r_clntref); in dn_fib_lookup()
/linux-2.4.37.9/net/ipv4/
Dfib_rules.c313 struct fib_rule *r, *policy; in fib_lookup() local
338 policy = r; in fib_lookup()
356 res->r = policy; in fib_lookup()
357 if (policy) in fib_lookup()
358 atomic_inc(&policy->r_clntref); in fib_lookup()
DConfig.in7 bool ' IP: policy routing' CONFIG_IP_MULTIPLE_TABLES
/linux-2.4.37.9/net/ipv4/netfilter/
Dipfwadm_core.c312 struct ip_fw *chain, int policy, int mode) in ip_fw_chk() argument
607 policy=f->fw_flg; in ip_fw_chk()
615 if (policy&IP_FW_F_ACCEPT) { in ip_fw_chk()
622 if (policy&IP_FW_F_REDIR) { in ip_fw_chk()
635 if (policy&IP_FW_F_MASQ) in ip_fw_chk()
641 } else if(policy&IP_FW_F_ICMPRPL) in ip_fw_chk()
647 if((policy&IP_FW_F_PRN) && (answer == FW_REJECT || answer == FW_BLOCK)) in ip_fw_chk()
Dipchains_core.c240 int policy; /* Default rule for chain. Only * member
779 ret = chain->policy; in ip_fw_check()
1113 int policy) in ip_init_chain() argument
1124 label->policy = policy; in ip_init_chain()
1164 static int change_policy(struct ip_chain *chainptr, int policy) in change_policy() argument
1167 chainptr->policy = policy; in change_policy()
1647 i->label,branchname(NULL, i->policy),i->refcount, in ip_chain_name_procinfo()
/linux-2.4.37.9/Documentation/networking/
Dpolicy-routing.txt57 Kernel routing policy rules
137 happily in MAIN+DEFAULT. All policy routes can be set
144 using all the policy list. This is not very convenient and
D00-INDEX87 policy-routing.txt
88 - IP policy-based routing
/linux-2.4.37.9/arch/ppc64/kernel/
Drtasd.c335 extern long sys_sched_get_priority_max(int policy);
365 current->policy = SCHED_FIFO; in rtasd()
/linux-2.4.37.9/Documentation/usb/
Dhotplug.txt26 such programs are called "policy agents" here. Typically they involve
77 Currently available policy agent implementations can load drivers for
86 can be used by various user mode policy agents to make sure all the right
/linux-2.4.37.9/drivers/net/wireless/prism54/
Dislpci_dev.h56 enum { MAC_POLICY_OPEN=0, MAC_POLICY_ACCEPT=1, MAC_POLICY_REJECT=2 } policy; member
Disl_ioctl.c336 if ((*uwrq == IW_MODE_MASTER) && (priv->acl.policy != MAC_POLICY_OPEN)) in prism54_set_mode()
1257 acl->policy = MAC_POLICY_OPEN; in prism54_acl_init()
1395 acl->policy = *uwrq; in prism54_set_policy()
1399 (acl->policy != MAC_POLICY_OPEN)) in prism54_set_policy()
1423 *uwrq = acl->policy; in prism54_get_policy()
1440 if (acl->policy == MAC_POLICY_OPEN) { in prism54_mac_accept()
1452 res = (acl->policy == MAC_POLICY_ACCEPT) ? !res : res; in prism54_mac_accept()
/linux-2.4.37.9/drivers/char/drm/
DREADME.drm16 2. The DRM enforces the DRI security policy for access to the graphics
/linux-2.4.37.9/drivers/char/drm-4.0/
DREADME.drm16 2. The DRM enforces the DRI security policy for access to the graphics
/linux-2.4.37.9/Documentation/
Dpm.txt109 * Ultimately, the PM policy manager uses the access and idle
134 * Details: A call to pm_dev_idle might signal to the policy manager
176 closes), system power policy (eg. sleep after 30 minutes of console
177 inactivity), or device power policy (eg. power down device after 5
Dptrace.txt2 -=* Known limitations of ptace-based security policy enforcement *=-
/linux-2.4.37.9/arch/mips/au1000/db1x00/
Dmirage_ts.c136 tsk->policy = SCHED_FIFO; in ts_thread()
/linux-2.4.37.9/include/net/bluetooth/
Dhci.h424 __u16 policy; member
438 __u16 policy; member
/linux-2.4.37.9/arch/x86_64/mm/
Dfault.c383 tsk->policy |= SCHED_YIELD; in do_page_fault()

12