Lines Matching refs:errcb
784 i_devfs_read_minor_perm(char *drvname, void (*errcb)(minorperm_err_t, int)) in i_devfs_read_minor_perm()
804 (*errcb)(MP_CANT_FIND_USER_ERR, 0); in i_devfs_read_minor_perm()
810 (*errcb)(MP_CANT_FIND_GROUP_ERR, 0); in i_devfs_read_minor_perm()
815 (*errcb)(MP_FOPEN_ERR, errno); in i_devfs_read_minor_perm()
828 (*errcb)(MP_ALLOC_ERR, sizeof (struct mperm)); in i_devfs_read_minor_perm()
834 (*errcb)(MP_IGNORING_LINE_ERR, ln); in i_devfs_read_minor_perm()
840 (*errcb)(MP_ALLOC_ERR, strlen(p)+1); in i_devfs_read_minor_perm()
844 (*errcb)(MP_IGNORING_LINE_ERR, ln); in i_devfs_read_minor_perm()
850 (*errcb)(MP_IGNORING_LINE_ERR, ln); in i_devfs_read_minor_perm()
855 (*errcb)(MP_ALLOC_ERR, strlen(p)+1); in i_devfs_read_minor_perm()
865 (*errcb)(MP_IGNORING_LINE_ERR, ln); in i_devfs_read_minor_perm()
882 (*errcb)(MP_ALLOC_ERR, strlen(p)+1); in i_devfs_read_minor_perm()
893 (*errcb)(MP_ALLOC_ERR, strlen(p)+1); in i_devfs_read_minor_perm()
948 (*errcb)(MP_FCLOSE_ERR, errno); in i_devfs_read_minor_perm()
955 devfs_read_minor_perm(void (*errcb)(minorperm_err_t, int)) in devfs_read_minor_perm()
957 return (i_devfs_read_minor_perm(NULL, errcb)); in devfs_read_minor_perm()
962 void (*errcb)(minorperm_err_t mp_err, int key)) in i_devfs_read_minor_perm_by_driver()
964 return (i_devfs_read_minor_perm(drvname, errcb)); in i_devfs_read_minor_perm_by_driver()
1013 void (*errcb)(minorperm_err_t, int)) in i_devfs_minor_perm_nvlist()
1020 (*errcb)(MP_NVLIST_ERR, err); in i_devfs_minor_perm_nvlist()
1026 (*errcb)(MP_NVLIST_ERR, err); in i_devfs_minor_perm_nvlist()
1040 devfs_load_minor_perm(struct mperm *mplist, void (*errcb)(minorperm_err_t, int)) in devfs_load_minor_perm()
1047 nvl = i_devfs_minor_perm_nvlist(mplist, errcb); in devfs_load_minor_perm()
1068 void (*errcb)(minorperm_err_t, int)) in i_devfs_update_minor_perm()
1076 mplist = i_devfs_read_minor_perm_by_driver(drv, errcb); in i_devfs_update_minor_perm()
1078 nvl = i_devfs_minor_perm_nvlist(mplist, errcb); in i_devfs_update_minor_perm()
1097 devfs_add_minor_perm(char *drv, void (*errcb)(minorperm_err_t, int)) in devfs_add_minor_perm()
1099 return (i_devfs_update_minor_perm(drv, MODADDMINORPERM, errcb)); in devfs_add_minor_perm()
1103 devfs_rm_minor_perm(char *drv, void (*errcb)(minorperm_err_t, int)) in devfs_rm_minor_perm()
1105 return (i_devfs_update_minor_perm(drv, MODREMMINORPERM, errcb)); in devfs_rm_minor_perm()