Lines Matching defs:errp
47 smb_open_error(smbios_hdl_t *shp, int *errp, int err)
52 if (errp != NULL)
53 *errp = err;
62 smbios_open(const char *file, int version, int flags, int *errp)
71 return (smb_open_error(shp, errp, ESMB_INVAL));
77 return (smb_open_error(shp, errp, ESMB_MAPDEV));
86 return (smb_open_error(shp, errp, ESMB_NOTFOUND));
99 return (smb_open_error(shp, errp, ESMB_MAPDEV));
110 return (smb_open_error(shp, errp, err));
128 smbios_fdopen(int fd, int version, int flags, int *errp)
130 return (smb_open_error(NULL, errp, ENOTSUP));