Lines Matching defs:errp
52 smb_fileopen(int fd, int version, int flags, int *errp)
60 return (smb_open_error(shp, errp, n < 0 ? errno : ESMB_NOHDR));
63 return (smb_open_error(shp, errp, ESMB_HEADER));
68 return (smb_open_error(shp, errp, n < 0 ? errno : ESMB_NOHDR));
71 return (smb_open_error(shp, errp, ESMB_NOMEM));
76 return (smb_open_error(shp, errp, n < 0 ? errno : ESMB_NOSTAB));
79 shp = smbios_bufopen(ep, stbuf, ep->smbe_stlen, version, flags, errp);
90 smb_biosopen(int fd, int version, int flags, int *errp)
101 return (smb_open_error(shp, errp, ESMB_MAPDEV));
112 return (smb_open_error(NULL, errp, ESMB_NOTFOUND));
128 return (smb_open_error(shp, errp, ESMB_MAPDEV));
132 return (smb_open_error(shp, errp, ESMB_NOMEM));
137 shp = smbios_bufopen(ep, stbuf, ep->smbe_stlen, version, flags, errp);
148 smbios_fdopen(int fd, int version, int flags, int *errp)
154 return (smb_biosopen(fd, version, flags, errp));
156 return (smb_fileopen(fd, version, flags, errp));
160 smbios_open(const char *file, int version, int flags, int *errp)
169 return (smb_open_error(NULL, errp, errno));
172 shp = smbios_fdopen(fd, version, flags, errp);