Lines Matching defs:err
506 int err = dmu_read(os, object,
508 if (err != 0) {
509 (void) printf("got error %u from dmu_read\n", err);
526 int err = dmu_read(os, object, 0, doi.doi_max_offset, subobjs, 0);
527 if (err != 0) {
528 (void) printf("got error %u from dmu_read\n", err);
1479 int err = 0;
1494 err = arc_read(NULL, spa, bp, arc_getbuf_func, &buf,
1496 if (err)
1497 return (err);
1508 err = visit_indirect(spa, dnp, cbp, &czb);
1509 if (err)
1513 if (!err)
1518 return (err);
1838 int err;
1843 err = dmu_objset_own(path, type, B_TRUE, tag, osp);
1844 if (err != 0) {
1846 strerror(err));
1847 return (err);
1857 err = sa_setup(*osp, sa_attrs, zfs_attr_table, ZPL_END,
1859 if (err != 0) {
1861 strerror(err));
2461 int err;
2470 err = zap_lookup(os, obj, name, 8, 1, &child_obj);
2474 if (err != 0) {
2476 curpath, strerror(err));
2477 return (err);
2481 err = sa_buf_hold(os, child_obj, FTAG, &db);
2482 if (err != 0) {
2485 (u_longlong_t)child_obj, strerror(err));
2529 int err;
2533 err = open_objset(ds, DMU_OST_ZFS, FTAG, &os);
2534 if (err != 0)
2535 return (err);
2537 err = zap_lookup(os, MASTER_NODE_OBJ, ZFS_ROOT_OBJ, 8, 1, &root_obj);
2538 if (err != 0) {
2540 strerror(err));
2547 err = dump_path_impl(os, root_obj, path);
2550 return (err);
4943 int err;
4946 err = sscanf(thing, "%llx:%llx:%llx:%llx:%llx:%llx:%llx:%llx:"
4952 if (err != 16) {
4962 err = decode_embedded_bp(&bp, buf, BPE_GET_LSIZE(&bp));
4963 if (err != 0) {
4964 (void) fprintf(stderr, "decode failed: %u\n", err);