Lines Matching defs:zc
62 zfs_do_list_ioctl(zfs_handle_t *zhp, int arg, zfs_cmd_t *zc)
67 orig_cookie = zc->zc_cookie;
69 (void) strlcpy(zc->zc_name, zhp->zfs_name, sizeof (zc->zc_name));
70 rc = ioctl(zhp->zfs_hdl->libzfs_fd, arg, zc);
76 if (zcmd_expand_dst_nvlist(zhp->zfs_hdl, zc) != 0) {
77 zcmd_free_nvlists(zc);
80 zc->zc_cookie = orig_cookie;
107 zfs_cmd_t zc = { 0 };
114 if (zcmd_alloc_dst_nvlist(zhp->zfs_hdl, &zc, 0) != 0)
118 &zc)) == 0) {
124 &zc)) == NULL) {
129 zcmd_free_nvlists(&zc);
133 zcmd_free_nvlists(&zc);
144 zfs_cmd_t zc = { 0 };
152 zc.zc_simple = simple;
154 if (zcmd_alloc_dst_nvlist(zhp->zfs_hdl, &zc, 0) != 0)
157 &zc)) == 0) {
160 nzhp = make_dataset_simple_handle_zc(zhp, &zc);
162 nzhp = make_dataset_handle_zc(zhp->zfs_hdl, &zc);
167 zcmd_free_nvlists(&zc);
171 zcmd_free_nvlists(&zc);