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()
822 dprintf("%d matched deallocate name\n", in mk_revoke()
826 dprintf("killing %s", info.pr_fname); in mk_revoke()
827 dprintf("(%d)\n", fuserpid); in mk_revoke()
830 dprintf("kill %d", fuserpid); in mk_revoke()
857 dprintf("Deallocating %s\n", *file); in mk_unalloc()
859 dprintf("mk_unalloc: unable to revoke %s\n", *file); in mk_unalloc()
883 dprintf("Putting %s in error state\n", *file); in mk_error()
913 dprintf("unable to get label for %s zone\n", in exec_clean()
965 dprintf("clean script: %s, ", path); in exec_clean()
966 dprintf("cmd=%s, ", cmd); in exec_clean()
967 dprintf("mode=%s, ", mode); in exec_clean()
969 dprintf("devname=%s ", devname); in exec_clean()
970 dprintf("zonename=%s ", devzone); in exec_clean()
971 dprintf("zonepath=%s ", zonepath); in exec_clean()
972 dprintf("username=%s\n", pw_ent.pw_name); in exec_clean()
976 dprintf("devname=%s\n", devname); in exec_clean()
979 dprintf("Unable to execute clean up script %s\n", path); in exec_clean()
984 dprintf("Child %d", c); in exec_clean()
987 dprintf(" exited, status: %d\n", exit_status); in exec_clean()
990 dprintf(" killed, signal %d\n", WTERMSIG(status)); in exec_clean()
992 dprintf(": exit status %d\n", status); in exec_clean()
1017 dprintf("Unable to find %s in device map database\n", in _deallocate_dev()
1030 dprintf("Unable to find %s device files\n", in _deallocate_dev()
1043 dprintf("device name %s is too long.\n", in _deallocate_dev()
1054 dprintf("Unable to stat %s\n", fname); in _deallocate_dev()
1060 dprintf("Not deallocating %s, not allocatable\n", in _deallocate_dev()
1065 dprintf("User %d is unauthorized to deallocate\n", (int)uid); in _deallocate_dev()
1169 dprintf("Unable to find %s in device map database\n", in _allocate_dev()
1177 dprintf("Unable to find %s device files\n", in _allocate_dev()
1190 dprintf("device name %s is too long.\n", in _allocate_dev()
1201 dprintf("Unable to stat %s\n", fname); in _allocate_dev()
1212 dprintf("Device %s is not allocatable\n", da->da_devname); in _allocate_dev()
1216 dprintf("User %d is unauthorized to allocate\n", (int)uid); in _allocate_dev()
1242 dprintf("Couldn't force deallocate device %s\n", in _allocate_dev()
1271 dprintf("allocate: " in _allocate_dev()
1278 dprintf("allocate: Failed to mount device %s\n", in _allocate_dev()
1377 dprintf("trying to allocate %s\n", da->da_devname); in allocate()
1403 dprintf("trying to allocate %s\n", da->da_devname); in allocate()
1458 dprintf("trying to deallocate %s\n", da->da_devname); in deallocate()
1481 dprintf("trying to deallocate %s\n", da->da_devname); in deallocate()
1502 dprintf("trying to deallocate %s\n", in deallocate()
1532 dprintf("trying to deallocate %s\n", da->da_devname); in deallocate()
1574 dprintf("dev_file_name: no device list for %s\n", in _dev_file_name()
1605 dprintf("unable to get label for %s zone\n", zonename); in _check_label()
1617 dprintf("bad min_label for device %s\n", in _check_label()
1629 dprintf("bad max_label for device %s\n", in _check_label()
1642 dprintf("%s zone label ", zonename); in _check_label()
1643 dprintf("%s outside device label range: ", zlbl); in _check_label()
1644 dprintf("min - %s, ", min); in _check_label()
1645 dprintf("max - %s\n", max); in _check_label()
1653 dprintf("Unable to get passwd entry for userid %d\n", in _check_label()
1659 dprintf("Unable to get label range for userid %d\n", in _check_label()
1670 dprintf("%s device label ", da->da_devname); in _check_label()
1671 dprintf("out of user %d label range\n", (int)uid); in _check_label()
1681 dprintf("%s zone is different than ", zonename); in _check_label()
1682 dprintf("%s zone to which the device ", alloczone); in _check_label()
1683 dprintf("%s is allocated\n", da->da_devname); in _check_label()
1708 dprintf("unable to get label for %s zone\n", zonename); in create_znode()
1717 dprintf("failed to initialize dev profile at %s\n", zonepath); in create_znode()
1753 dprintf("failed to add %s to profile\n", tmpfile); in create_znode()
1758 dprintf("Buffer overflow in create_znode for %s\n", in create_znode()
1777 dprintf("failed to add devices to zone %s\n", zonename); in create_znode()
1808 dprintf("failed to initialize dev profile at %s\n", zonepath); in remove_znode()
1826 dprintf("Failed exclude %s in dev profile\n", *file); in remove_znode()
1834 dprintf("failed to remove devices from zone %s\n", zonename); in remove_znode()