Lines Matching refs:sc_arg
444 swapctl(int sc_cmd, void *sc_arg, int *rv) in swapctl() argument
577 if (copyout(&ai, sc_arg, sizeof (struct anoninfo)) != 0) in swapctl()
582 if (copyin(sc_arg, &length, sizeof (int)) != 0) in swapctl()
590 ust = (swapent_t *)((swaptbl_t *)sc_arg)->swt_ent; in swapctl()
692 ust = (swapent_t *)((swaptbl_t *)sc_arg)->swt_ent; in swapctl()
731 if (copyin(sc_arg, &sr, sizeof (swapres_t))) in swapctl()
791 swapctl32(int sc_cmd, void *sc_arg, int *rv) in swapctl32() argument
883 if (copyout(&ai, sc_arg, sizeof (ai)) != 0) in swapctl32()
888 if (copyin(sc_arg, &length, sizeof (int32_t)) != 0) in swapctl32()
896 ust = (swapent32_t *)((swaptbl32_t *)sc_arg)->swt_ent; in swapctl32()
996 ust = (swapent32_t *)((swaptbl32_t *)sc_arg)->swt_ent; in swapctl32()
1036 if (copyin(sc_arg, &sr, sizeof (sr))) in swapctl32()