Lines Matching refs:dom
608 soalloc(int waitok, int dom, int type) in soalloc() argument
613 if ((dom == PF_INET) && (type == SOCK_STREAM)) { in soalloc()
631 socreate_internal(int dom, struct socket **aso, int type, int proto, in socreate_internal() argument
647 prp = pffindproto(dom, proto, type); in socreate_internal()
649 prp = pffindtype(dom, type); in socreate_internal()
653 if (pffinddomain(dom) == NULL) { in socreate_internal()
657 if (pffindprotonotype(dom, proto) != NULL) { in socreate_internal()
666 so = soalloc(1, dom, type); in socreate_internal()
671 switch (dom) { in socreate_internal()
775 error, dom, proto, type); in socreate_internal()
816 switch (dom) { in socreate_internal()
857 socreate(int dom, struct socket **aso, int type, int proto) in socreate() argument
859 return socreate_internal(dom, aso, type, proto, current_proc(), 0, in socreate()
864 socreate_delegate(int dom, struct socket **aso, int type, int proto, pid_t epid) in socreate_delegate() argument
874 error = socreate_internal(dom, aso, type, proto, current_proc(), 0, ep); in socreate_delegate()