Lines Matching refs:errp

55 				boolean_t filtered_list, int *errp);
57 static char *is_option(char *opt_string, char *opt, int *errp);
85 fs_get_availablesize(char *mntpnt, int *errp) {
89 *errp = 0;
92 * Set errp to invalid parameter - EINVAL
94 *errp = EINVAL;
102 *errp = errno;
110 fs_get_avail_for_nonsuperuser_size(char *mntpnt, int *errp) {
114 *errp = 0;
117 * Set errp to invalid parameter - EINVAL
119 *errp = EINVAL;
127 *errp = errno;
132 } /* fs_get_avail_for_nonsuperuser_size(char *mntpnt, int *errp) */
135 fs_get_blocksize(char *mntpnt, int *errp) {
139 *errp = 0;
142 * Set errp to invalid parameter - EINVAL
144 *errp = EINVAL;
151 *errp = errno;
160 char *mntopts, char *time, boolean_t find_overlays, int *errp) {
167 *errp = 0;
183 *errp = ENOMEM;
197 *errp = ENOMEM;
213 find_overlayed_filesystems(headp, B_TRUE, errp);
215 *errp = errno;
222 fs_get_fragsize(char *mntpnt, int *errp) {
226 *errp = 0;
229 * Set errp to invalid parameter - EINVAL
231 *errp = EINVAL;
238 *errp = errno;
243 } /* fs_get_fragsize(char *mntpnt, int *errp) */
246 fs_get_maxfilenamelen(char *mntpnt, int *errp) {
250 *errp = 0;
253 * Set errp to invalid parameter - EINVAL
255 *errp = EINVAL;
263 *errp = errno;
271 fs_get_mounts_by_mntopt(char *mntopt, boolean_t find_overlays, int *errp) {
278 *errp = 0;
303 *errp = ENOMEM;
318 find_overlayed_filesystems(headp, B_TRUE, errp);
321 *errp = errno;
328 fs_get_mount_list(boolean_t find_overlays, int *errp) {
334 *errp = 0;
359 *errp = ENOMEM;
374 find_overlayed_filesystems(headp, B_FALSE, errp);
376 *errp = errno;
386 fs_is_readonly(char *mntpnt, int *errp) {
390 *errp = 0;
393 * Set errp to invalid parameter - EINVAL
395 *errp = EINVAL;
402 *errp = errno;
421 * If an error occurs, the function will return NULL and the errp will
428 fs_parse_optlist_for_option(char *optlist, char *opt, int *errp) {
434 *errp = 0;
437 *errp = errno;
448 } else if ((return_value = is_option(token, opt, errp)) != NULL) {
465 is_option(token, opt, errp)) != NULL) {
477 fs_get_totalsize(char *mntpnt, int *errp) {
481 *errp = 0;
484 * Set errp to invalid parameter - EINVAL
486 *errp = EINVAL;
495 *errp = errno;
503 fs_get_usedsize(char *mntpnt, int *errp) {
507 *errp = 0;
510 * Set errp to invalid parameter - EINVAL
512 *errp = EINVAL;
520 *errp = errno;
757 boolean_t filtered_list, int *errp) {
763 *errp = 0;
768 mnt_list_to_compare = fs_get_mount_list(B_FALSE, errp);
774 * 2.) An error was encountered. errp will reflect
791 "dev=", errp);
803 tmp->mntopts, "dev=", errp);
845 is_option(char *opt_string, char *opt, int *errp) {
850 *errp = 0;
864 *errp = errno;
896 *errp = ENOMEM;