Home
last modified time | relevance | path

Searched refs:Z_OK (Results 1 – 25 of 44) sorted by relevance

12

/titanic_41/usr/src/lib/libzonecfg/common/
H A Dlibzonecfg.c319 return (Z_OK); in zonecfg_check_handle()
325 if (zonecfg_check_handle(handle) == Z_OK) in zonecfg_fini_handle()
341 return (Z_OK); in zonecfg_destroy_impl()
389 if ((err = putzoneent(&ze, PZE_REMOVE)) != Z_OK) in zonecfg_destroy()
399 if (err == Z_OK || err == Z_NO_ZONE) in zonecfg_destroy()
400 return (Z_OK); in zonecfg_destroy()
428 return (Z_OK); in getroot()
442 return (Z_OK); in operation_prep()
457 return (Z_OK); in fetchprop()
472 return (Z_OK); in fetch_alloc_prop()
[all …]
H A Dgetzoneent.c246 return (Z_OK); in unlock_index_file()
289 return (Z_OK); in putzoneent()
472 if (unlock_index_file(lock_fd) != Z_OK) in putzoneent()
474 return (Z_OK); in putzoneent()
/titanic_41/usr/src/cmd/zoneadm/
H A Dzoneadm.c489 if (zonecfg_get_uuid(zone_name, uuid) == Z_OK && in lookup_zone_info()
514 sizeof (root))) != Z_OK) { in lookup_zone_info()
523 if ((err = zone_get_state(zent->zname, &zent->zstate_num)) != Z_OK) { in lookup_zone_info()
542 sizeof (zent->zbrand)) != Z_OK) { in lookup_zone_info()
553 return (Z_OK); in lookup_zone_info()
576 return (Z_OK); in lookup_zone_info()
584 if ((err = zonecfg_get_handle(zent->zname, handle)) != Z_OK) { in lookup_zone_info()
590 if ((err = zonecfg_get_iptype(handle, &zent->ziptype)) != Z_OK) { in lookup_zone_info()
597 return (Z_OK); in lookup_zone_info()
624 return (Z_OK); in fetch_zents()
[all …]
H A Dzfs.c190 return (Z_OK); in pre_snapshot()
198 return (Z_OK); in pre_snapshot()
211 return (Z_OK); in post_snapshot()
219 return (Z_OK); in post_snapshot()
288 if (pre_snapshot(presnapbuf) != Z_OK) in take_snapshot()
291 if (post_snapshot(postsnapbuf) != Z_OK) in take_snapshot()
296 return (Z_OK); in take_snapshot()
311 return (Z_OK); in validate_snapshot()
326 return (Z_OK); in validate_snapshot()
344 if ((err = zonecfg_get_handle(target_zone, handle)) != Z_OK) { in clean_out_clone()
[all …]
/titanic_41/usr/src/cmd/zonecfg/
H A Dzonecfg.c1395 if (zonecfg_check_handle(handle) != Z_OK) { in initialize()
1396 if ((err = zonecfg_get_handle(zone, handle)) == Z_OK) { in initialize()
1399 sizeof (brandname)) != Z_OK) { in initialize()
1417 if (err == Z_OK) { in initialize()
1449 if (err != Z_OK) { in initialize()
1470 return (Z_OK); in initialize()
1479 if ((err = zone_get_state(zone, &state_num)) != Z_OK) { in state_atleast()
1608 if (res != Z_OK) in check_if_zone_already_exists()
1609 return (Z_OK); in check_if_zone_already_exists()
1620 return (Z_OK); in check_if_zone_already_exists()
[all …]
/titanic_41/usr/src/uts/common/zmod/
H A Dzmod.c56 if ((err = inflateInit2(&zs, DEF_WBITS | 0x20)) != Z_OK) in z_uncompress()
61 return (err == Z_OK ? Z_BUF_ERROR : err); in z_uncompress()
82 if ((err = deflateInit(&zs, level)) != Z_OK) in z_compress_level()
87 return (err == Z_OK ? Z_BUF_ERROR : err); in z_compress_level()
H A Ddeflate.c340 if (length < MIN_MATCH) return Z_OK;
359 return Z_OK;
395 return Z_OK;
406 return Z_OK;
418 return Z_OK;
429 int err = Z_OK;
475 return Z_OK;
773 return Z_OK;
805 return Z_OK;
829 return Z_OK;
[all …]
H A Dinflate.c132 return Z_OK;
148 return Z_OK;
593 ret = Z_OK;
1177 if (((in == 0 && out == 0) || flush == Z_FINISH) && ret == Z_OK)
1193 return Z_OK;
1235 return Z_OK;
1252 return Z_OK;
1329 return Z_OK;
1394 return Z_OK;
/titanic_41/usr/src/cmd/zoneadmd/
H A Dvplat.c636 if (zone_get_rootpath(zone_name, zroot, sizeof (zroot)) != Z_OK) { in unmount_filesystems()
1069 if (zonecfg_get_snapshot_handle(zone_name, handle) != Z_OK) { in vplat_get_iptype()
1074 if (zonecfg_get_iptype(handle, iptypep) != Z_OK) { in vplat_get_iptype()
1162 while (zonecfg_getdevent(handle, &ztab) == Z_OK) { in mount_one_dev()
1398 if (zone_get_rootpath(tmp, fromdir, sizeof (fromdir)) == Z_OK && in build_mounted_pre_var()
1594 (zonecfg_add_fs_option(fsp, (char *)opt) != Z_OK)) { in plat_gmount_cb()
1612 if (zonecfg_setfsent(handle) != Z_OK) { in mount_filesystems_fsent()
1616 while (zonecfg_getfsent(handle, &fstab) == Z_OK) { in mount_filesystems_fsent()
1683 if (zone_get_state(zone_name, &zstate) != Z_OK || in mount_filesystems()
1692 if (zone_get_zonepath(zone_name, zonepath, sizeof (zonepath)) != Z_OK) { in mount_filesystems()
[all …]
H A Dzoneadmd.c302 if (err != Z_OK) { in filter_bootargs()
372 err = Z_OK; in filter_bootargs()
543 if ((err = zonecfg_create_snapshot(zone_name)) != Z_OK) { in zone_ready()
550 if ((err = zonecfg_destroy_snapshot(zone_name)) != Z_OK) in zone_ready()
558 if ((err = zonecfg_destroy_snapshot(zone_name)) != Z_OK) in zone_ready()
630 zonepath, sizeof (zonepath)) != Z_OK) { in mount_early_fs()
640 rootpath, sizeof (rootpath)) != Z_OK) { in mount_early_fs()
855 if (zone_get_zonepath(zone_name, zpath, sizeof (zpath)) != Z_OK) { in zone_bootup()
886 else if (err != Z_OK) in zone_bootup()
892 if (zone_get_rootpath(zone_name, zpath, sizeof (zpath)) != Z_OK) { in zone_bootup()
[all …]
/titanic_41/usr/src/lib/brand/solaris10/s10_support/
H A Ds10_support.c107 if (zonecfg_get_xml_handle(xmlfile, handle) != Z_OK) { in s10_verify()
122 if (zonecfg_setdevent(handle) != Z_OK) { in s10_verify()
126 if (zonecfg_getdevent(handle, &devtab) == Z_OK) { in s10_verify()
259 if (zone_get_zonepath(zonename, zonepath, sizeof (zonepath)) != Z_OK) in have_valid_ku()
351 if (zone_get_rootpath(zonename, zoneroot, sizeof (zoneroot)) != Z_OK) in set_zone_emul_bitmap()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dgzip.c46 if (z_compress_level(d_start, &dstlen, s_start, s_len, n) != Z_OK) { in gzip_compress()
65 if (z_uncompress(d_start, &dstlen, s_start, s_len) != Z_OK) in gzip_decompress()
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dcompress.c107 case Z_OK: in buffer_compress()
145 case Z_OK: in buffer_uncompress()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.c689 return Z_OK;
763 if (strm->avail_out == 0) return Z_OK;
772 return Z_OK;
795 return Z_OK;
833 return Z_OK;
839 if (flush != Z_FINISH) return Z_OK;
850 return state->pending != 0 ? Z_OK : Z_STREAM_END;
869 return Z_OK;
2782 return Z_OK;
2798 return Z_OK;
[all …]
H A Ddeflate.c154 if (inflateInit2(&state->strm, -w_size) != Z_OK) {
266 if (r != Z_OK) {
326 if (r != Z_OK) {
H A Dzlib.h218 #define Z_OK 0 macro
/titanic_41/usr/src/cmd/boot/fiocompress/
H A Dfiocompress.c216 if (ret != Z_OK) { in do_comp()
285 if (ret != Z_OK) { in do_decomp()
304 if ((ret = uncompress(dstbuf, &dlen, (Bytef *)srcaddr, slen)) != Z_OK) { in do_decomp()
/titanic_41/usr/src/uts/common/io/ppp/spppcomp/
H A Dzlib.c967 return (Z_OK);
991 return (Z_OK);
1025 return (Z_OK);
1037 int err = Z_OK;
1175 return (Z_OK);
1209 return (Z_OK);
1246 return (Z_OK);
1253 return (Z_OK);
1266 return (s->pending != 0 ? Z_OK : Z_STREAM_END);
1296 return (status == BUSY_STATE ? Z_DATA_ERROR : Z_OK);
[all …]
H A Ddeflate.c224 DEFLATE_METHOD_VAL, -w_size, 8, Z_DEFAULT_STRATEGY) != Z_OK) { in z_comp_alloc()
442 if (r != Z_OK) { in z_compress()
585 if (r != Z_OK) { /* gak! */ in z_incomp()
677 if (inflateInit2(&state->strm, -w_size) != Z_OK) { in z_decomp_alloc()
906 if (r != Z_OK) { in z_decompress()
1031 return (retv == Z_OK ? 0 : EINVAL); in z_set_effort()
/titanic_41/usr/src/uts/common/sys/
H A Dzmod.h44 #define Z_OK 0 macro
/titanic_41/usr/src/common/fs/
H A Ddecompress.c162 if (inflateInit2(zsp, MAX_WBITS | 0x20) != Z_OK) { in cf_check_compressed()
216 int err = Z_OK; in cf_read()
/titanic_41/usr/src/lib/libinstzones/common/
H A Dzones.c529 if (zone_get_state(ze->zone_name, &st) != Z_OK) { in z_get_nonglobal_zone_list_by_brand()
874 if (err != Z_OK) { in z_mount_in_lz()
883 if (err != Z_OK) { in z_mount_in_lz()
1638 if (err != Z_OK) { in z_is_zone_branded()
1687 if (err != Z_OK) { in z_is_zone_brand_in_list()
/titanic_41/usr/src/tools/ctf/cvt/
H A Dctf.c475 if ((rc = deflateInit(&rb->rb_zstr, Z_BEST_COMPRESSION)) != Z_OK) in compress_start()
494 if ((rc = deflate(&rb->rb_zstr, Z_NO_FLUSH)) != Z_OK) in compress_buffer()
515 else if (rc != Z_OK) in compress_flush()
528 if ((rc = deflateEnd(&rb->rb_zstr)) != Z_OK) in compress_end()
1215 if ((rc = inflateInit(&zstr)) != Z_OK || in decompress_ctf()
1217 (rc = inflateEnd(&zstr)) != Z_OK) { in decompress_ctf()
/titanic_41/usr/src/cmd/zlogin/
H A Dzlogin.c1439 return (Z_OK); in grab_lock_file()
1452 if (grab_lock_file(zone_name, &lockfd) != Z_OK) in start_zoneadmd()
1879 if (zone_get_state(zonename, &st) != Z_OK) { in main()
2027 if (zone_get_brand(zonename, zonebrand, sizeof (zonebrand)) != Z_OK) { in main()
2040 sizeof (default_brand)) != Z_OK) { in main()
/titanic_41/usr/src/cmd/rcap/common/
H A Dutils.c322 if (zone_get_state(name, &zstate) != Z_OK || in get_running_zones()

12