Lines Matching refs:nc_error
107 static int nc_error = NC_NOERROR; in __nc_error() local
111 return (&nc_error); in __nc_error()
114 return (ret ? ret : &nc_error); in __nc_error()
116 #define nc_error (*(__nc_error())) macro
136 nc_error = NC_NOMEM; in setnetconfig()
139 nc_error = NC_NOERROR; in setnetconfig()
155 nc_error = NC_NOSET; in endnetconfig()
161 nc_error = NC_NOERROR; in endnetconfig()
184 nc_error = NC_NOSET; in getnetconfig()
204 nc_error = NC_NOERROR; in getnetconfig()
206 nc_error = NC_NOMOREENTRIES; in getnetconfig()
237 nc_error = NC_NOTFOUND; in getnetconfigent()
244 nc_error = NC_NOTFOUND; in getnetconfigent()
275 nc_error = NC_OPENFAIL; in getnetlist()
288 nc_error = NC_NOTFOUND; in getnetlist()
294 nc_error = NC_NOMEM; in getnetlist()
312 if (nc_error != NC_NOMOREENTRIES) /* Something is screwed up */ in getnetlist()
341 nc_error = NC_NOMOREENTRIES; in fgetnetconfig()
346 nc_error = NC_BADLINE; in fgetnetconfig()
351 nc_error = NC_NOTFOUND; in fgetnetconfig()
356 nc_error = NC_NOMEM; in fgetnetconfig()
374 nc_error = NC_BADLINE; in fgetnetconfig()
416 nc_error = NC_NOMEM; in setnetpath()
491 nc_error = NC_NOMEM; in setnetpath()
536 nc_error = NC_NOSET; in endnetpath()
563 nc_error = NC_NOSET; in getnetpath()
583 nc_error = NC_NOERROR; in getnetpath()
585 nc_error = NC_NOMOREENTRIES; in getnetpath()
829 switch (nc_error) { in nc_sperror()
917 nc_error = NC_NOMEM; in netconfig_dup()
929 nc_error = NC_NOMEM; in netconfig_dup()
939 nc_error = NC_NOMEM; in netconfig_dup()