Home
last modified time | relevance | path

Searched refs:pers (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/kernel/
Dexec_domain.c46 u_long pers = 0; in default_handler() local
61 pers = abi_defhandler_lcall7; in default_handler()
64 pers = PER_SOLARIS; in default_handler()
68 set_personality(pers); in default_handler()
80 u_long pers = personality(personality); in lookup_exec_domain() local
84 if (pers >= ep->pers_low && pers <= ep->pers_high) in lookup_exec_domain()
93 sprintf(buffer, "personality-%ld", pers); in lookup_exec_domain()
99 if (pers >= ep->pers_low && pers <= ep->pers_high) in lookup_exec_domain()
/linux-2.4.37.9/include/linux/
Dpersonality.h99 #define personality(pers) (pers & PER_MASK) argument
109 #define set_personality(pers) \ argument
110 ((current->personality == pers) ? 0 : __set_personality(pers))
/linux-2.4.37.9/drivers/md/
Dmd.c65 static mdk_personality_t *pers[MAX_PERSONALITY]; variable
179 if (mddev && mddev->pers) in md_make_request()
180 return mddev->pers->make_request(mddev, rw, bh); in md_make_request()
1653 if (mddev->pers) in do_md_run()
1712 if (!pers[pnum]) in do_md_run()
1718 if (!pers[pnum]) in do_md_run()
1749 mddev->pers = pers[pnum]; in do_md_run()
1751 err = mddev->pers->run(mddev); in do_md_run()
1754 mddev->pers = NULL; in do_md_run()
1789 if (mddev->pers) { in restart_array()
[all …]
/linux-2.4.37.9/include/linux/raid/
Dmd_k.h28 static inline int pers_to_level (int pers) in pers_to_level() argument
30 switch (pers) { in pers_to_level()
197 mdk_personality_t *pers; member
/linux-2.4.37.9/drivers/net/hamradio/
Dyam.c138 int pers; /* persistence */ member
619 if ((random_num() % 256) > yp->pers) in yam_arbitrate()
787 len += sprintf(buffer + len, " Persist %u\n", yam_ports[i].pers); in yam_net_get_info()
1024 yp->pers = yi.cfg.persist; in yam_ioctl()
1044 yi.cfg.persist = yp->pers; in yam_ioctl()
1132 yam_ports[i].pers = DEFAULT_PERS; in yam_init_driver()