auto_vnops.c revision b9238976491622ad75a67ab0c12edf99e36212b9
2N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A caller_context_t *);
int error;
if (error)
goto done;
if (!error)
done:
error));
return (error);
int error;
if (error)
return (error);
goto defattr;
return (error);
* Recursive auto_getattr/mount; go to the vfsp == NULL
goto defattr;
return (error);
if (error)
return (error);
return (error);
int flags,
int error;
goto done;
done:
return (error);
int error;
goto done;
int shift = 0;
if (mode != 0)
mode);
done:
return (error);
char *nm,
int flags,
int error = 0;
char *searchnm;
if (nm[0] == 0) {
return (error);
return (EIO);
return (error);
top:
operation = 0;
(void *)dfnp));
goto top;
if (error)
return (error);
if (error)
return (error);
if (!error) {
return (error);
if (error) {
error = 0;
if (error) {
if (!error)
error = 0;
goto top;
if (error) {
return (error);
return (error);
goto top;
if (operation == 0) {
if (!error)
return (error);
switch (operation) {
case AUTOFS_LOOKUP:
if (!error) {
case AUTOFS_MOUNT:
if (!error)
goto top;
return (error);
char *nm,
int mode,
int flag)
int error;
goto done;
done:
return (error);
int error;
goto done;
done:
return (error);
int error;
goto done;
goto done;
goto done;
goto done;
done:
return (error);
int error;
goto done;
goto done;
goto done;
goto done;
goto done;
done:
return (error);
int error;
goto done;
done:
return (error);
int error;
goto done;
done:
return (error);
static int autofs_nobrowse = 0;
#ifdef nextdp
int error = 0;
int reached_max = 0;
int myeof = 0;
int this_reclen;
*eofp = 0;
return (EINVAL);
count = 0;
&rda,
(void *)&rd,
sizeof (autofs_rddirres),
TRUE);
if (!error) {
if (error) {
error = 0;
if (eofp)
goto done;
if (outcount)
if (eofp)
goto again;
goto done;
goto done;
goto done;
int reclen;
if (outcount)
if (!error) {
if (reached_max) {
if (outcount == 0)
} else if (autofs_nobrowse ||
if (eofp)
done:
return (error);
int error;
goto done;
done:
return (error);
int error;
return (error);
int count;
if (count == 0) {
(void *)vp));
if (write_lock)
return (write_lock);
int delayed_ind;
int error;
error = 0;
delayed_ind = 0;
error = 0;
goto done;
goto done;
error = 0;
if (error)
goto done;
goto retry;
goto done;
goto done;
if (delayed_ind ||
if (delayed_ind)
goto retry;
error = 0;
goto done;
if (error == 0) {
goto done;
goto retry;
done:
return (error);