Lines Matching defs:zc
61 zfs_do_list_ioctl(zfs_handle_t *zhp, int arg, zfs_cmd_t *zc)
66 orig_cookie = zc->zc_cookie;
68 (void) strlcpy(zc->zc_name, zhp->zfs_name, sizeof (zc->zc_name));
69 rc = ioctl(zhp->zfs_hdl->libzfs_fd, arg, zc);
75 if (zcmd_expand_dst_nvlist(zhp->zfs_hdl, zc) != 0) {
76 zcmd_free_nvlists(zc);
79 zc->zc_cookie = orig_cookie;
106 zfs_cmd_t zc = { 0 };
113 if (zcmd_alloc_dst_nvlist(zhp->zfs_hdl, &zc, 0) != 0)
117 &zc)) == 0) {
123 &zc)) == NULL) {
128 zcmd_free_nvlists(&zc);
132 zcmd_free_nvlists(&zc);
142 zfs_cmd_t zc = { 0 };
150 if (zcmd_alloc_dst_nvlist(zhp->zfs_hdl, &zc, 0) != 0)
153 &zc)) == 0) {
156 &zc)) == NULL) {
161 zcmd_free_nvlists(&zc);
165 zcmd_free_nvlists(&zc);