Searched refs:pers (Results 1 – 5 of 5) sorted by relevance
46 u_long pers = 0; in default_handler() local61 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() local84 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()
99 #define personality(pers) (pers & PER_MASK) argument109 #define set_personality(pers) \ argument110 ((current->personality == pers) ? 0 : __set_personality(pers))
65 static mdk_personality_t *pers[MAX_PERSONALITY]; variable179 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 …]
28 static inline int pers_to_level (int pers) in pers_to_level() argument30 switch (pers) { in pers_to_level()197 mdk_personality_t *pers; member
138 int pers; /* persistence */ member619 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()