Lines Matching refs:dprintf

68 #define	dprintf(s, a) (void) fprintf(stderr, s, a)  macro
71 #define dprintf(s, a) 0 macro
218 dprintf("Unable to access file %s\n", *file); in check_devs()
233 dprintf("No default attributes for %s\n", da_defs->devtype); in print_da_defs()
318 dprintf("Unable to find %s in the maps database\n", in _list_device()
337 dprintf("Unable to find %s device files\n", in _list_device()
350 dprintf("device name %s is too long.\n", in _list_device()
358 dprintf("Unable to stat %s\n", fname); in _list_device()
528 dprintf("No default attributes for " in list_devices()
659 dprintf("locking %s\n", file); in lock_dev()
662 dprintf("locking %s\n", lockfile); in lock_dev()
708 dprintf("Allocating %s\n", *file); in mk_alloc()
721 dprintf("Allocating %s\n", zpath->path[i]); in mk_alloc()
763 dprintf("first exec fuser %s\n", file); in mk_revoke()
770 dprintf("exit status %x\n", lock); in mk_revoke()
774 dprintf("first continuing c_pid=%d\n", (int)c_pid); in mk_revoke()
785 dprintf("second continuing c_pid=%d\n", (int)c_pid); in mk_revoke()
792 dprintf("second exec fuser %s\n", file); in mk_revoke()
809 dprintf("%d psinfo failed", fuserpid); in mk_revoke()
816 dprintf("%d matched vold name\n", in mk_revoke()
821 dprintf("%d matched deallocate name\n", in mk_revoke()
825 dprintf("killing %s", info.pr_fname); in mk_revoke()
826 dprintf("(%d)\n", fuserpid); in mk_revoke()
829 dprintf("kill %d", fuserpid); in mk_revoke()
856 dprintf("Deallocating %s\n", *file); in mk_unalloc()
858 dprintf("mk_unalloc: unable to revoke %s\n", *file); in mk_unalloc()
882 dprintf("Putting %s in error state\n", *file); in mk_error()
912 dprintf("unable to get label for %s zone\n", in exec_clean()
964 dprintf("clean script: %s, ", path); in exec_clean()
965 dprintf("cmd=%s, ", cmd); in exec_clean()
966 dprintf("mode=%s, ", mode); in exec_clean()
968 dprintf("devname=%s ", devname); in exec_clean()
969 dprintf("zonename=%s ", devzone); in exec_clean()
970 dprintf("zonepath=%s ", zonepath); in exec_clean()
971 dprintf("username=%s\n", pw_ent.pw_name); in exec_clean()
975 dprintf("devname=%s\n", devname); in exec_clean()
978 dprintf("Unable to execute clean up script %s\n", path); in exec_clean()
983 dprintf("Child %d", c); in exec_clean()
986 dprintf(" exited, status: %d\n", exit_status); in exec_clean()
989 dprintf(" killed, signal %d\n", WTERMSIG(status)); in exec_clean()
991 dprintf(": exit status %d\n", status); in exec_clean()
1016 dprintf("Unable to find %s in device map database\n", in _deallocate_dev()
1029 dprintf("Unable to find %s device files\n", in _deallocate_dev()
1042 dprintf("device name %s is too long.\n", in _deallocate_dev()
1053 dprintf("Unable to stat %s\n", fname); in _deallocate_dev()
1059 dprintf("Not deallocating %s, not allocatable\n", in _deallocate_dev()
1064 dprintf("User %d is unauthorized to deallocate\n", (int)uid); in _deallocate_dev()
1168 dprintf("Unable to find %s in device map database\n", in _allocate_dev()
1176 dprintf("Unable to find %s device files\n", in _allocate_dev()
1189 dprintf("device name %s is too long.\n", in _allocate_dev()
1200 dprintf("Unable to stat %s\n", fname); in _allocate_dev()
1211 dprintf("Device %s is not allocatable\n", da->da_devname); in _allocate_dev()
1215 dprintf("User %d is unauthorized to allocate\n", (int)uid); in _allocate_dev()
1241 dprintf("Couldn't force deallocate device %s\n", in _allocate_dev()
1270 dprintf("allocate: " in _allocate_dev()
1277 dprintf("allocate: Failed to mount device %s\n", in _allocate_dev()
1376 dprintf("trying to allocate %s\n", da->da_devname); in allocate()
1402 dprintf("trying to allocate %s\n", da->da_devname); in allocate()
1457 dprintf("trying to deallocate %s\n", da->da_devname); in deallocate()
1480 dprintf("trying to deallocate %s\n", da->da_devname); in deallocate()
1501 dprintf("trying to deallocate %s\n", in deallocate()
1531 dprintf("trying to deallocate %s\n", da->da_devname); in deallocate()
1573 dprintf("dev_file_name: no device list for %s\n", in _dev_file_name()
1604 dprintf("unable to get label for %s zone\n", zonename); in _check_label()
1616 dprintf("bad min_label for device %s\n", in _check_label()
1628 dprintf("bad max_label for device %s\n", in _check_label()
1641 dprintf("%s zone label ", zonename); in _check_label()
1642 dprintf("%s outside device label range: ", zlbl); in _check_label()
1643 dprintf("min - %s, ", min); in _check_label()
1644 dprintf("max - %s\n", max); in _check_label()
1652 dprintf("Unable to get passwd entry for userid %d\n", in _check_label()
1658 dprintf("Unable to get label range for userid %d\n", in _check_label()
1669 dprintf("%s device label ", da->da_devname); in _check_label()
1670 dprintf("out of user %d label range\n", (int)uid); in _check_label()
1680 dprintf("%s zone is different than ", zonename); in _check_label()
1681 dprintf("%s zone to which the device ", alloczone); in _check_label()
1682 dprintf("%s is allocated\n", da->da_devname); in _check_label()
1707 dprintf("unable to get label for %s zone\n", zonename); in create_znode()
1716 dprintf("failed to initialize dev profile at %s\n", zonepath); in create_znode()
1752 dprintf("failed to add %s to profile\n", tmpfile); in create_znode()
1757 dprintf("Buffer overflow in create_znode for %s\n", in create_znode()
1776 dprintf("failed to add devices to zone %s\n", zonename); in create_znode()
1807 dprintf("failed to initialize dev profile at %s\n", zonepath); in remove_znode()
1825 dprintf("Failed exclude %s in dev profile\n", *file); in remove_znode()
1833 dprintf("failed to remove devices from zone %s\n", zonename); in remove_znode()