Searched defs:clone (Results 1 - 25 of 42) sorted by relevance

12

/illumos-gate/usr/src/cmd/tsol/demo/
H A Dclonebylabel.sh37 # $2 is the zone snaphot to clone for a new zone
61 clone() function
71 /usr/sbin/zfs clone $image zone/$zonename
106 clone
/illumos-gate/usr/src/uts/common/avs/ns/rdc/
H A Drdcsrv.h38 int clone; member in struct:rdc_disptab_s
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Disns_cache.h61 void *(*clone)(void *, int); member in struct:cache
H A Dhtable.c843 void *clone = NULL; local
877 if ((clone = tab->c->clone(item->p,
885 if (clone == NULL) {
888 } else if (clone == item->p) {
894 item->p = clone;
H A Ddd.c1609 isns_obj_t *clone; local
1624 clone = obj_calloc(OBJ_ASSOC_DD);
1625 if (clone != NULL) {
1626 (void) set_obj_uid((void *)clone, m_id);
1627 (void) set_parent_obj(clone, dds_id);
1631 if (clone != NULL) {
1634 DATA_DELETE_ASSOC, clone);
1643 clone != NULL) {
1644 (void) make_scn(ISNS_MEMBER_REMOVED, clone);
1646 free_object(clone);
1668 isns_obj_t *clone; local
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/fops/
H A Dtpgs_tape.c168 struct scsi_failover_ops *sfo, *ssfo, clone; local
170 /* clone SFO_NAME_SYM implementation for most things */
178 clone = *ssfo;
179 clone.sfo_rev = sfo->sfo_rev;
180 clone.sfo_name = sfo->sfo_name;
181 clone.sfo_devices = sfo->sfo_devices;
182 clone.sfo_init = sfo->sfo_init;
183 clone.sfo_device_probe = sfo->sfo_device_probe;
184 *sfo = clone;
H A Dsym_hds.c120 struct scsi_failover_ops *sfo, *ssfo, clone; local
122 /* clone SFO_NAME_SYM implementation for most things */
130 clone = *ssfo;
131 clone.sfo_rev = sfo->sfo_rev;
132 clone.sfo_name = sfo->sfo_name;
133 clone.sfo_devices = sfo->sfo_devices;
134 clone.sfo_init = sfo->sfo_init;
135 clone.sfo_device_probe = sfo->sfo_device_probe;
136 clone.sfo_device_unprobe = sfo->sfo_device_unprobe;
137 clone
[all...]
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSLPHeaderV1.java369 hdr = (SLPHeaderV1)this.clone();
455 hdr = (SLPHeaderV1)this.clone();
851 // Reimplement clone() to get the header size right.
853 public Object clone() method in class:SLPHeaderV1
855 SLPHeaderV1 hdr = (SLPHeaderV1)super.clone();
H A DSLPHeaderV2.java1171 // Reimplement clone() to get the header size right.
1173 public Object clone() method in class:SLPHeaderV2
1175 SLPHeaderV2 hdr = (SLPHeaderV2)super.clone();
H A DSrvLocHeader.java649 // Allow clients to clone the header.
651 public Object clone() method in class:SrvLocHeader
653 SrvLocHeader hdr = (SrvLocHeader)super.clone();
/illumos-gate/usr/src/cmd/tsol/misc/
H A Dtxzonemgr.sh199 clone="Clone...\n"; \
524 clone() { function
539 zoneadm -z $zonename clone $image
1525 clone $PUBZONE
1544 clone snapshot
1613 clone=
1689 $clone \
1744 clone ;;
/illumos-gate/usr/src/uts/common/io/
H A Dsrn.c58 * Minor number is instance<<8 + clone minor from range 1-255;
259 int clone; local
261 clone = SRN_MINOR_TO_CLONE(getminor(dev));
262 if ((events & (POLLIN | POLLRDNORM)) && srn_poll_cnt[clone]) {
267 *phpp = &srn_pollhead[clone];
303 int clone; local
309 for (clone = 1; clone < SRN_MAX_CLONE - 1; clone++)
310 if (!srn.srn_clones[clone])
337 int clone; local
377 int clone = SRN_MINOR_TO_CLONE(getminor(dev)); local
519 int clone, count; local
[all...]
H A Dksyms.c74 static ksyms_image_t *ksyms_clones; /* clone device array */
216 minor_t clone; local
246 * Reserve a clone entry. Note that we don't use clone 0
249 for (clone = 1; clone < nksyms_clones; clone++) {
250 if (atomic_cas_ptr(&ksyms_clones[clone].ksyms_base, 0, addr) ==
252 ksyms_clones[clone].ksyms_size = realsize;
253 *devp = makedevice(getemajor(*devp), clone);
269 minor_t clone = getminor(dev); local
[all...]
H A Dpower.c42 * minor clone is created for each open(9E) request. There are
92 * Maximum number of clone minors that is allowed. This value
98 * Minor number is instance << 8 + clone minor from range 1-255; clone 0
160 int monitor_on; /* clone monitoring the button event */
161 /* clone 0 indicates no one is */
768 int clone; local
778 for (clone = 1; clone < POWER_MAX_CLONE; clone
804 int clone; local
829 int clone; local
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dfork.c158 klwp_t *clone; local
389 clone = forklwp(ttolwp(curthread), cp, curthread->t_tid);
390 if (clone == NULL)
396 lwptot(clone)->t_proc_flag |=
420 * Keep track of the clone of curthread to
426 clone = clwp;
515 BROP(p)->b_lwp_setrval(clone, p->p_pid, 1);
517 lwp_setrval(clone, p->p_pid, 1);
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/
H A DmetaObject.c136 * Create a clone of the object
221 * Create a clone of the object in the first available slot.
223 * If creating a clone in a specific slot failed, it will
604 * on all the slots on which we have created a clone of this object.
636 * created a clone of this object.
719 * clones that have failed the operation. If any of the deleted clone is the
720 * master clone, use one of the remaining clone as the master clone.
761 * object has no clone, jus
845 slot_object_t *clone = object->clones[slotnum]; local
[all...]
H A DmetaObjectManager.c558 slot_object_t *clone; local
560 clone = object->clones[slotnum];
561 if (clone == NULL)
575 clone->hObject);
585 meta_slot_object_deactivate(clone);
586 meta_slot_object_dealloc(clone);
960 * Create a clone of a non-sensitive and extractable object.
961 * If the template required for creating the clone doesn't exist,
962 * it will be retrieved from the master clone.
997 /* Create the clone
1515 meta_object_get_clone(meta_object_t *object, CK_ULONG slot_num, slot_session_t *slot_session, slot_object_t **clone) argument
[all...]
/illumos-gate/usr/src/lib/libipsecutil/common/
H A Dalgs.c487 struct ipsecalgent *clone, **holder; local
533 clone = _duplicate_alg(newbie);
534 if (clone != NULL) {
537 current_proto->proto_algs[i] = clone;
558 clone = _duplicate_alg(newbie);
559 if (clone == NULL) {
566 current_proto->proto_algs[i] = clone;
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip6_ire.c1237 * we should only look for interface or clone routes.
1299 ire_t *clone; local
1320 clone = ire_create_if_clone(ire, &v6nexthop,
1322 if (clone == NULL) {
1332 * Make clone next to last entry and the
1334 * chain since the clone depends on the
1342 ires[i-1] = clone;
H A Dip_ftable.c1470 * we should only look for interface or clone routes.
1537 ire_t *clone; local
1560 clone = ire_create_if_clone(ire, &v6nexthop,
1562 if (clone == NULL) {
1572 * Make clone next to last entry and the
1574 * chain since the clone depends on the
1582 ires[i-1] = clone;
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_iter.c50 zfs_handle_t *clone = zfs_open(zhp->zfs_hdl, nvpair_name(pair), local
52 if (clone != NULL) {
53 int err = func(clone, data);
/illumos-gate/usr/src/cmd/modload/
H A Dadd_drv.c55 int clone; member in struct:dev_list
79 static int clone(di_node_t node);
712 /* check to see if this is a clone device */
713 if (clone(node))
714 new_entry->clone = 1;
725 clone(di_node_t node) function
795 if (ptr->clone)
796 (void) fprintf(stderr, " (clone device)\n");
/illumos-gate/usr/src/uts/sun4u/io/
H A Dtodds1287.c353 * Combination of instance number and clone number 0 is used for
401 int clone; local
411 for (clone = 1; clone < DS1287_MAX_CLONE; clone++)
412 if (!softsp->clones[clone])
415 if (clone == DS1287_MAX_CLONE) {
417 "to clone a minor.");
422 *devp = makedevice(getmajor(*devp), (instance << 8) + clone);
423 softsp->clones[clone]
434 int clone; local
459 int clone; local
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_destroy.c224 dsl_dataset_t *clone; local
227 za.za_first_integer, FTAG, &clone));
228 if (clone->ds_dir->dd_origin_txg > mintxg) {
229 dsl_deadlist_remove_key(&clone->ds_deadlist,
231 dsl_dataset_remove_clones_key(clone, mintxg, tx);
233 dsl_dataset_rele(clone, FTAG);
358 /* Collapse range in clone heads */
587 * the previous snapshot, if we are a clone)
685 * exists, a temporary clone is created. We never count this temporary
686 * clone, whos
[all...]
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_state.c2015 ipstate_t *clone; local
2036 KMALLOC(clone, ipstate_t *);
2037 if (clone == NULL)
2039 bcopy((char *)is, (char *)clone, sizeof(*clone));
2041 MUTEX_NUKE(&clone->is_lock);
2043 clone->is_die = ONE_DAY + ifs->ifs_fr_ticks;
2044 clone->is_state[0] = 0;
2045 clone->is_state[1] = 0;
2051 clone
2284 ipstate_t *clone; local
[all...]

Completed in 169 milliseconds

12