/illumos-gate/usr/src/cmd/sort/common/ |
H A D | streams_mmap.c | 193 caddr_t origin = str->s_type.SF.s_release_origin; local 197 (origin + release) >= DEFAULT_RELEASE_SIZE) 203 if (madvise(origin, release, MADV_DONTNEED) == -1)
|
/illumos-gate/usr/src/lib/libcommputil/common/ |
H A D | sdp_parse_helper.c | 46 sdp_free_origin(sdp_origin_t *origin) argument 48 if (origin != NULL) { 49 if (origin->o_username != NULL) 50 free(origin->o_username); 51 if (origin->o_nettype != NULL) 52 free(origin->o_nettype); 53 if (origin->o_addrtype != NULL) 54 free(origin->o_addrtype); 55 if (origin->o_address != NULL) 56 free(origin [all...] |
H A D | sdp_parse.c | 235 * origin-field (o=) 249 sdp_parse_origin(sdp_origin_t **origin, const char *begin, const char *end, argument 259 /* There can be only one origin field */ 260 if (*origin != NULL) 325 *origin = new_origin;
|
H A D | sdp.c | 294 * Adds origin field to the session. 302 sdp_origin_t *origin; local 311 origin = calloc(1, sizeof (sdp_origin_t)); 312 if (origin == NULL) 314 origin->o_id = id; 315 origin->o_version = ver; 316 if ((ret = commp_add_str(&origin->o_username, name, strlen(name))) != 0) 318 if ((ret = commp_add_str(&origin->o_nettype, nettype, 322 if ((ret = commp_add_str(&origin->o_addrtype, addrtype, 326 if ((ret = commp_add_str(&origin 830 sdp_origin_t *origin; local 965 sdp_origin_t *origin; local [all...] |
/illumos-gate/usr/src/lib/libresolv2/common/nameser/ |
H A D | ns_print.c | 50 static size_t prune_origin(const char *name, const char *origin); 54 const u_char **p, const char *origin, 83 const char *name_ctx, const char *origin, 91 name_ctx, origin, buf, buflen); 105 const char *name_ctx, const char *origin, 122 len = prune_origin(name, origin); 130 if (((origin == NULL || origin[0] == '\0') || 131 (origin[0] != '.' && origin[ 82 ns_sprintrr(const ns_msg *handle, const ns_rr *rr, const char *name_ctx, const char *origin, char *buf, size_t buflen) argument 102 ns_sprintrrf(const u_char *msg, size_t msglen, const char *name, ns_class class, ns_type type, u_long ttl, const u_char *rdata, size_t rdlen, const char *name_ctx, const char *origin, char *buf, size_t buflen) argument 1091 prune_origin(const char *name, const char *origin) argument 1159 addname(const u_char *msg, size_t msglen, const u_char **pp, const char *origin, char **buf, size_t *buflen) argument [all...] |
/illumos-gate/usr/src/lib/libzfs_core/common/ |
H A D | libzfs_core.c | 187 lzc_clone(const char *fsname, const char *origin, argument 192 fnvlist_add_string(args, "origin", origin); 454 * or it can be the origin of "snapname"'s filesystem, or an earlier 455 * snapshot in the origin, etc. 561 recv_impl(const char *snapname, nvlist_t *props, const char *origin, argument 603 /* zc_string is name of clone origin (if DRR_FLAG_CLONE) */ 604 if (origin != NULL) 605 (void) strlcpy(zc.zc_string, origin, sizeof (zc.zc_string)); 643 * clone, its origin snapsho 653 lzc_receive(const char *snapname, nvlist_t *props, const char *origin, boolean_t force, int fd) argument 666 lzc_receive_resumable(const char *snapname, nvlist_t *props, const char *origin, boolean_t force, int fd) argument 684 lzc_receive_with_header(const char *snapname, nvlist_t *props, const char *origin, boolean_t force, boolean_t resumable, int fd, const dmu_replay_record_t *begin_record) argument [all...] |
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_diff.c | 605 char origin[ZFS_MAX_DATASET_NAME_LEN]; local 615 if (zfs_prop_get(zhp, ZFS_PROP_ORIGIN, origin, 616 sizeof (origin), &src, NULL, 0, B_FALSE) != 0) { 621 if (strncmp(origin, fromsnap, fsnlen) == 0) 625 zhp = zfs_open(hdl, origin, ZFS_TYPE_FILESYSTEM);
|
H A D | libzfs_dataset.c | 2238 const char *origin; member in struct:get_clones_arg 2255 if (strcmp(gca->buf, gca->origin) == 0) { 2290 gca.origin = zhp->zfs_name;
|
H A D | libzfs_sendrecv.c | 618 * "origin" -> number (guid) (if clone) 828 zfs_handle_t *origin = zfs_open(zhp->zfs_hdl, local 830 if (origin == NULL) { 834 VERIFY(0 == nvlist_add_uint64(nvfs, "origin", 835 origin->zfs_dmustats.dds_guid)); 1231 * Filter out all intermediate snapshots except origin 1334 * beginning (or an incremental from the origin if this 1389 /* Mark the clone origin snapshots. */ 1396 (void) nvlist_lookup_uint64(nvfs, "origin", &origin_guid); 1428 (void) nvlist_lookup_uint64(fslist, "origin", [all...] |
/illumos-gate/usr/src/lib/libbe/common/ |
H A D | be_activate.c | 1426 char origin[MAXPATHLEN]; local 1520 if (zfs_prop_get(z_zhp, ZFS_PROP_ORIGIN, origin, 1521 sizeof (origin), NULL, NULL, 0, B_FALSE) != 0) { 1571 char origin[MAXPATHLEN]; local 1594 while (zfs_prop_get(zhp, ZFS_PROP_ORIGIN, origin, 1595 sizeof (origin), NULL, NULL, 0, B_FALSE) == 0) {
|
H A D | be_create.c | 859 * auto named snapshot to use as its origin. 1460 char origin[MAXPATHLEN]; local 1496 * Get the origin of this BE's root dataset. This will be used 1499 if (zfs_prop_get(zhp, ZFS_PROP_ORIGIN, origin, sizeof (origin), NULL, 1501 (void) strlcpy(parent, origin, sizeof (parent)); 1505 "get snapshot name from origin %s\n"), origin); 1523 /* If BE has an origin */ 1527 * If origin snapsho 2764 char origin[ZFS_MAX_DATASET_NAME_LEN]; local 2829 be_get_snap(char *origin, char **snap) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dsl_pool.c | 711 /* The origin doesn't get attached to itself */ 772 dsl_dataset_t *origin; local 775 dsl_dir_phys(ds->ds_dir)->dd_origin_obj, FTAG, &origin)); 777 if (dsl_dir_phys(origin->ds_dir)->dd_clones == 0) { 778 dmu_buf_will_dirty(origin->ds_dir->dd_dbuf, tx); 779 dsl_dir_phys(origin->ds_dir)->dd_clones = 785 dsl_dir_phys(origin->ds_dir)->dd_clones, 788 dsl_dataset_rele(origin, FTAG); 828 /* create the origin dir, ds, & snap-ds */
|
H A D | dmu_objset.c | 935 dsl_dataset_t *origin; local 960 error = dsl_dataset_hold(dp, doca->doca_origin, FTAG, &origin); 965 if (!origin->ds_is_snapshot) { 966 dsl_dataset_rele(origin, FTAG); 969 dsl_dataset_rele(origin, FTAG); 981 dsl_dataset_t *origin, *ds; local 986 VERIFY0(dsl_dataset_hold(dp, doca->doca_origin, FTAG, &origin)); 988 obj = dsl_dataset_create_sync(pdd, tail, origin, 0, 992 dsl_dataset_name(origin, namebuf); 994 "origin 1001 dmu_objset_clone(const char *clone, const char *origin) argument [all...] |
H A D | dmu_send.c | 1157 * or the origin's fs. 1446 dsl_dataset_t *origin; local 1448 FTAG, &origin); 1453 if (!origin->ds_is_snapshot) { 1454 dsl_dataset_rele(origin, FTAG); 1458 if (dsl_dataset_phys(origin)->ds_guid != fromguid && 1460 dsl_dataset_rele(origin, FTAG); 1464 dsl_dataset_rele(origin, FTAG); 1504 dsl_dataset_t *origin = NULL; local 1510 FTAG, &origin)); 1728 dmu_recv_begin(char *tofs, char *tosnap, dmu_replay_record_t *drr_begin, boolean_t force, boolean_t resumable, char *origin, dmu_recv_cookie_t *drc) argument [all...] |
H A D | dsl_dataset.c | 803 dsl_dataset_create_sync_dd(dsl_dir_t *dd, dsl_dataset_t *origin, argument 812 if (origin == NULL) 813 origin = dp->dp_origin_snap; 815 ASSERT(origin == NULL || origin->ds_dir->dd_pool == dp); 816 ASSERT(origin == NULL || dsl_dataset_phys(origin)->ds_num_children > 0); 837 if (origin == NULL) { 840 dsl_dataset_t *ohds; /* head of the origin snapshot */ 842 dsphys->ds_prev_snap_obj = origin 937 dsl_dataset_create_sync(dsl_dir_t *pdd, const char *lastname, dsl_dataset_t *origin, uint64_t flags, cred_t *cr, dmu_tx_t *tx) argument 3037 dsl_dataset_t *origin = clone->ds_prev; local [all...] |
H A D | zfs_ioctl.c | 926 dsl_dataset_t *origin = NULL; local 931 dsl_dir_phys(dd)->dd_origin_obj, FTAG, &origin); 941 dsl_dataset_name(origin, parentname); 943 error = zfs_secpolicy_write_perms_ds(parentname, origin, 947 dsl_dataset_rele(origin, FTAG); 1096 char *origin; local 1102 if (nvlist_lookup_string(innvl, "origin", &origin) == 0 && 1103 (error = zfs_secpolicy_write_perms(origin, 3268 * "origin" 4186 char *origin = NULL; local [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | trace.c | 506 uint8_t origin; member in struct:or_bits 800 while ((tblentry = tbl->origin) != 0) { 802 (void) fprintf(ftrace, "origin=%s ", tbl->origin_name);
|
H A D | defs.h | 184 enum origin { enum 204 enum origin rts_origin;
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_mroute.c | 276 * Find a route for a given origin IP address and multicast group address. 1436 struct in_addr origin; local 1442 origin = mfccp->mfcc_origin; 1444 hash = MFCHASH(origin.s_addr, mcastgrp.s_addr); 1449 ntohl(origin.s_addr), 1458 if (origin.s_addr == rt->mfc_origin.s_addr && 1660 * If we don't have a route for packet's origin, make a copy 2015 ip1dbg(("ip_mdq: no route for origin ill %s, vifi is NO_VIF\n", 2044 * origin.
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_zfs.c | 1913 char origin; local 1915 (void) sscanf(snapprop, "%*u.%*u.%c%*s", &origin); 1917 return (origin == 'n');
|
/illumos-gate/usr/src/cmd/zoneadm/ |
H A D | zfs.c | 566 char origin[ZFS_MAX_DATASET_NAME_LEN]; local 577 if (zfs_prop_get(zhp, ZFS_PROP_ORIGIN, origin, sizeof (origin), NULL, 578 NULL, 0, B_FALSE) != 0 || strcmp(origin, cd->snapshot) != 0) { 781 * Promote the youngest clone. That clone will then become the origin of all 1036 char origin[ZFS_MAXPROPLEN]; local 1065 if (zfs_prop_get(zhp, ZFS_PROP_ORIGIN, origin, sizeof (origin), NULL, 1105 if ((ohp = zfs_open(g_zfs, origin,
|
/illumos-gate/usr/src/cmd/make/bin/ |
H A D | main.cc | 1596 char origin[PATH_MAX]; local 1599 if ((ret = readlink("/proc/self/path/a.out", origin, 1601 fatal("failed to read origin from /proc\n"); 1604 origin[ret] = '\0'; 1605 return strdup(dirname(origin)); 1657 char *origin = make_install_prefix(); local 1660 asprintf(&lib32, "%s/%s/%s", origin, "../lib", 1666 asprintf(&lib32, "%s/%s/%s/%s", origin, "../../lib/", 1675 asprintf(&lib64, "%s/%s/64/%s", origin, "../lib", 1681 asprintf(&lib64, "%s/%s/%s/64/%s", origin, " [all...] |
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | getline.c | 967 const char *origin, KtBinder who, int *lineno); 968 static int gl_report_config_error(GetLine *gl, const char *origin, int lineno, 6360 * origin const char * The name of the entity being read (eg. a 6371 const char *origin, KtBinder who, int *lineno) 6429 gl_report_config_error(gl, origin, *lineno, "Too many arguments."); 6471 gl_report_config_error(gl, origin, *lineno, "Line too long."); 6489 gl_report_config_error(gl, origin, *lineno, 6494 gl_report_config_error(gl, origin, *lineno, "Wrong number of arguments."); 6504 gl_report_config_error(gl, origin, *lineno, 6510 gl_report_config_error(gl, origin, *linen 6370 _gl_parse_config_line(GetLine *gl, void *stream, GlcGetcFn *getc_fn, const char *origin, KtBinder who, int *lineno) argument 6536 gl_report_config_error(GetLine *gl, const char *origin, int lineno, const char *errmsg) argument 12400 gl_bind_keyseq(GetLine *gl, GlKeyOrigin origin, const char *keyseq, const char *action) argument [all...] |
/illumos-gate/usr/src/cmd/zfs/ |
H A D | zfs_main.c | 255 "\treceive [-vnsFu] [-o origin=<snapshot>] [-d | -e] " 1051 * because we must delete a clone before its origin. 3880 * case if they specify the origin. 3883 char origin[ZFS_MAX_DATASET_NAME_LEN]; local 3887 origin, sizeof (origin), &src, NULL, 0, B_FALSE); 3889 if (strcmp(origin, fromname) == 0) { 4004 if (strcmp(nvpair_name(nvp), "origin") != 0) { 4625 "\n\t\t\t\tability in the origin file system"); 4646 " 'promote' ability in the origin fil [all...] |
/illumos-gate/usr/src/cmd/ztest/ |
H A D | ztest.c | 4671 objset_t *origin; local 4734 error = dmu_objset_hold(fullname, FTAG, &origin); 4781 VERIFY3U(dmu_objset_hold(fullname, FTAG, &origin), ==, ENOENT);
|