/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_mirror_resync.c | 63 md_resync_ioctl_t ri; in meta_mirror_resync() local 78 (void) memset(&ri, 0, sizeof (ri)); in meta_mirror_resync() 79 MD_SETDRIVERNAME(&ri, MD_MIRROR, sp->setno); in meta_mirror_resync() 80 ri.ri_mnum = meta_getminor(mirnp->dev); in meta_mirror_resync() 81 ri.ri_copysize = size; in meta_mirror_resync() 84 ri.ri_flags |= MD_RI_RESYNC_FORCE_MNSTART; in meta_mirror_resync() 87 ri.ri_flags = 0; in meta_mirror_resync() 90 ri.ri_flags = MD_RI_BLOCK; in meta_mirror_resync() 93 ri.ri_flags = MD_RI_UNBLOCK; in meta_mirror_resync() 96 ri.ri_flags = MD_RI_KILL; in meta_mirror_resync() [all …]
|
H A D | meta_raid_resync.c | 48 md_resync_ioctl_t ri; in meta_raid_resync() local 63 (void) memset(&ri, 0, sizeof (ri)); in meta_raid_resync() 64 MD_SETDRIVERNAME(&ri, MD_RAID, sp->setno); in meta_raid_resync() 65 ri.ri_mnum = meta_getminor(raidnp->dev); in meta_raid_resync() 66 ri.ri_copysize = size; in meta_raid_resync() 67 if (metaioctl(MD_IOCSETSYNC, &ri, &ri.mde, raidnp->cname) != 0) in meta_raid_resync() 68 return (mdstealerror(ep, &ri.mde)); in meta_raid_resync()
|
H A D | meta_raid.c | 98 md_resync_ioctl_t ri; in meta_get_raid_common() local 217 (void) memset(&ri, 0, sizeof (ri)); in meta_get_raid_common() 218 ri.ri_mnum = meta_getminor(raidnp->dev); in meta_get_raid_common() 219 MD_SETDRIVERNAME(&ri, MD_RAID, sp->setno); in meta_get_raid_common() 220 if (metaioctl(MD_IOCGETSYNC, &ri, &ri.mde, raidnp->cname) != 0) { in meta_get_raid_common() 221 (void) mdstealerror(ep, &ri.mde); in meta_get_raid_common() 224 raidp->resync_flags = ri.ri_flags; in meta_get_raid_common() 225 raidp->percent_dirty = ri.ri_percent_dirty; in meta_get_raid_common() 226 raidp->percent_done = ri.ri_percent_done; in meta_get_raid_common() 2753 md_resync_ioctl_t ri; in meta_raid_regen_byname() local [all …]
|
H A D | meta_mirror.c | 95 md_resync_ioctl_t ri; in meta_get_mirror_common() local 161 (void) memset(&ri, 0, sizeof (ri)); in meta_get_mirror_common() 162 ri.ri_mnum = meta_getminor(mirnp->dev); in meta_get_mirror_common() 163 MD_SETDRIVERNAME(&ri, MD_MIRROR, sp->setno); in meta_get_mirror_common() 164 if (metaioctl(MD_IOCGETSYNC, &ri, &ri.mde, mirnp->cname) != 0) { in meta_get_mirror_common() 165 (void) mdstealerror(ep, &ri.mde); in meta_get_mirror_common() 168 mirrorp->percent_done = ri.ri_percent_done; in meta_get_mirror_common() 169 mirrorp->percent_dirty = ri.ri_percent_dirty; in meta_get_mirror_common()
|
H A D | meta_mn_handlers.c | 786 md_resync_ioctl_t ri; in mdmn_do_setsync() local 796 (void) memset(&ri, 0, sizeof (ri)); in mdmn_do_setsync() 797 MD_SETDRIVERNAME(&ri, MD_MIRROR, MD_MIN2SET(d->setsync_mnum)) in mdmn_do_setsync() 798 ri.ri_mnum = d->setsync_mnum; in mdmn_do_setsync() 799 ri.ri_copysize = d->setsync_copysize; in mdmn_do_setsync() 800 ri.ri_flags = d->setsync_flags; in mdmn_do_setsync() 802 ret = metaioctl(MD_MN_SETSYNC, &ri, &ri.mde, NULL); in mdmn_do_setsync()
|
/titanic_41/usr/src/cmd/ramdiskadm/ |
H A D | main.c | 96 struct rd_ioctl ri; in alloc_ramdisk() local 98 (void) strlcpy(ri.ri_name, name, sizeof (ri.ri_name)); in alloc_ramdisk() 99 ri.ri_size = size; in alloc_ramdisk() 101 if (ioctl(ctl_fd, RD_CREATE_DISK, &ri) == -1) { in alloc_ramdisk() 115 struct rd_ioctl ri; in delete_ramdisk() local 117 (void) strlcpy(ri.ri_name, name, sizeof (ri.ri_name)); in delete_ramdisk() 119 if (ioctl(ctl_fd, RD_DELETE_DISK, &ri) == -1) { in delete_ramdisk()
|
/titanic_41/usr/src/cmd/svc/startd/ |
H A D | restarter.c | 710 restarter_delete_inst(restarter_inst_t *ri) in restarter_delete_inst() argument 717 assert(MUTEX_HELD(&ri->ri_lock)); in restarter_delete_inst() 723 id = ri->ri_id; in restarter_delete_inst() 724 MUTEX_UNLOCK(&ri->ri_lock); in restarter_delete_inst() 734 assert(ri == rip); in restarter_delete_inst() 736 uu_list_remove(instance_list.ril_instance_list, ri); in restarter_delete_inst() 739 ri->ri_i.i_fmri); in restarter_delete_inst() 747 MUTEX_LOCK(&ri->ri_lock); in restarter_delete_inst() 748 MUTEX_LOCK(&ri->ri_queue_lock); in restarter_delete_inst() 750 if (ri->ri_i.i_primary_ctid >= 1) in restarter_delete_inst() [all …]
|
/titanic_41/usr/src/cmd/mdb/common/modules/svc.startd/ |
H A D | startd.c | 206 restarter_inst_t ri; in pr_instance() local 226 if (mdb_vread(&ri, sizeof (restarter_inst_t), addr) == -1) { in pr_instance() 237 if (mdb_readstr(iname, 1024, (uintptr_t)ri.ri_i.i_fmri) == -1) { in pr_instance() 242 statechr = xstate2chr(ri.ri_i.i_state); in pr_instance() 243 typechr = (ri.ri_i.i_enabled) ? 'I' : 'i'; in pr_instance() 245 mdb_printf("%-10a %3x %c %c %s\n", addr, ri.ri_id, typechr, statechr, in pr_instance()
|
/titanic_41/usr/src/cmd/sendmail/db/db/ |
H A D | db_conv.c | 107 RINTERNAL *ri; local 228 ri = GET_RINTERNAL(h, i); 229 M_32_SWAP(ri->pgno); 230 M_32_SWAP(ri->nrecs);
|
H A D | db_pr.c | 384 RINTERNAL *ri; local 549 ri = sp; 551 (u_long)ri->nrecs, (u_long)ri->pgno);
|
/titanic_41/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_rsearch.c | 76 RINTERNAL *ri; local 221 ri = GET_RINTERNAL(h, indx); 222 if (++indx == top || total + ri->nrecs >= recno) 224 total += ri->nrecs; 226 pg = ri->pgno;
|
H A D | bt_split.c | 531 RINTERNAL ri; local 542 hdr.data = &ri; 546 ri.pgno = lp->pgno; 547 ri.nrecs = __bam_total(lp); 550 RE_NREC_SET(rootp, ri.nrecs); 551 ri.pgno = rp->pgno; 552 ri.nrecs = __bam_total(rp); 555 RE_NREC_ADJ(rootp, ri.nrecs); 575 RINTERNAL ri; local 730 hdr.data = &ri; [all …]
|
/titanic_41/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | ServiceLocationManager.java | 247 int ri = 0; in getRefreshInterval() local 260 if (mriv > ri) { in getRefreshInterval() 261 ri = mriv; in getRefreshInterval() 266 return ri; in getRefreshInterval()
|
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | tlx.c | 53 rpc_info_equal(const rpc_info_t *ri, const rpc_info_t *ri2) in rpc_info_equal() argument 55 return ((ri->prognum == ri2->prognum) && in rpc_info_equal() 56 (ri->lowver == ri2->lowver) && in rpc_info_equal() 57 (ri->highver == ri2->highver) && in rpc_info_equal() 58 (strcmp(ri->netid, ri2->netid) == 0)); in rpc_info_equal() 318 rpc_info_t *rpc = tlx_info->pr_info.ri; in create_bound_endpoint()
|
H A D | config.c | 252 if (pi->ri != NULL) { in proto_info_compare() 253 if ((pi2->ri == NULL) || !rpc_info_equal(pi->ri, pi2->ri)) in proto_info_compare() 255 } else if (pi2->ri != NULL) { in proto_info_compare() 264 pi->ri != NULL)) in proto_info_compare() 268 (socket_info_t *)rv, pi->ri != NULL)) in proto_info_compare()
|
H A D | inetd.c | 714 rpc_info_t *rpc = sock_info->pr_info.ri; in create_bound_socket() 1048 if (pi->ri == NULL) in is_rpc_num_in_use() 1050 if (pi->ri->prognum != rpc_n) in is_rpc_num_in_use() 1054 if ((lowver < pi->ri->lowver && in is_rpc_num_in_use() 1055 highver < pi->ri->lowver) || in is_rpc_num_in_use() 1056 (lowver > pi->ri->highver && in is_rpc_num_in_use() 1057 highver > pi->ri->highver)) in is_rpc_num_in_use() 1111 if (pi->ri != NULL) { in create_bound_fds() 1118 if (is_rpc_num_in_use(pi->ri->prognum, pi->proto, in create_bound_fds() 1119 pi->ri->lowver, pi->ri->highver)) { in create_bound_fds() [all …]
|
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_debug.c | 207 RINTERNAL *ri; local 256 ri = GETRINTERNAL(h, cur); 258 ri->nrecs, ri->pgno);
|
/titanic_41/usr/src/cmd/sgs/error/common/ |
H A D | errorinput.c | 53 Errorclass ri(void); 97 ((errorclass = ri()) != C_UNKNOWN) || in eaterrors() 488 ri(void) in ri() function
|
/titanic_41/usr/src/uts/common/io/lvm/mirror/ |
H A D | mirror_resync.c | 2859 md_resync_ioctl_t *ri, in mirror_resync_unit() argument 2904 if ((ri) && (ri->ri_copysize > 0) && in mirror_resync_unit() 2905 (ri->ri_copysize <= md_max_xfer_bufsz)) in mirror_resync_unit() 2906 un->un_rs_copysize = ri->ri_copysize; in mirror_resync_unit() 2959 md_resync_ioctl_t *ri, in mirror_ioctl_resync() argument 2963 minor_t mnum = ri->ri_mnum; in mirror_ioctl_resync() 2972 mdclrerror(&ri->mde); in mirror_ioctl_resync() 2976 return (mdmderror(&ri->mde, MDE_INVAL_UNIT, mnum)); in mirror_ioctl_resync() 2980 un = mirror_getun(mnum, &ri->mde, RD_LOCK, lock); in mirror_ioctl_resync() 2983 return (mdmderror(&ri->mde, MDE_UNIT_NOT_SETUP, mnum)); in mirror_ioctl_resync() [all …]
|
H A D | mirror_ioctl.c | 1517 md_resync_ioctl_t *ri in mirror_get_resync() argument 1520 minor_t mnum = ri->ri_mnum; in mirror_get_resync() 1527 mdclrerror(&ri->mde); in mirror_get_resync() 1529 if ((un = mirror_getun(mnum, &ri->mde, STALE_OK|NO_LOCK, NULL)) == NULL) in mirror_get_resync() 1532 ri->ri_flags = 0; in mirror_get_resync() 1534 ri->ri_percent_done = 0; in mirror_get_resync() 1535 ri->ri_percent_dirty = 0; in mirror_get_resync() 1541 ri->ri_flags |= MD_RI_INPROGRESS; in mirror_get_resync() 1543 ri->ri_flags |= (un->un_rs_thread_flags & MD_RI_BLOCK); in mirror_get_resync() 1557 ri->ri_percent_done = (int)percent; in mirror_get_resync() [all …]
|
/titanic_41/usr/src/lib/fm/topo/modules/common/hostbridge/ |
H A D | hostbridge.c | 291 topo_instance_t ri) in pciexrc_declare() argument 299 if ((ntn = hb_tnode_create(mod, parent, PCIEX_ROOT, ri, din)) == NULL) in pciexrc_declare()
|
/titanic_41/usr/src/uts/common/io/lvm/trans/ |
H A D | mdtrans.c | 217 int ri = 0; in trans_commit() local 222 recids[ri++] = un->c.un_record_id; in trans_commit() 227 recids[ri++] = su->c.un_record_id; in trans_commit() 230 if (ri == 0) in trans_commit() 232 recids[ri] = 0; in trans_commit()
|
/titanic_41/usr/src/uts/common/sys/usb/clients/usbser/usbser_keyspan/ |
H A D | usa49msg.h | 244 uint8_t ri; /* reports RI pin */ member
|
H A D | usa90msg.h | 167 uint8_t ri; /* reports RI pin */ member
|
/titanic_41/usr/src/common/bignum/ |
H A D | bignumimpl.c | 939 BIG_CHUNK_TYPE t1, t2, ai, cy, ri; in big_mulhalf_high() local 945 ri = 0; in big_mulhalf_high() 951 r[i] = (t1 << (BIG_CHUNK_SIZE / 2)) + ri; in big_mulhalf_high() 952 ri = t2 & BIG_CHUNK_LOWHALFBITS; in big_mulhalf_high() 955 r[i] = (cy << (BIG_CHUNK_SIZE / 2)) + ri; in big_mulhalf_high() 3016 BIGNUM *xi, *ri, *riminus1, *riminus2, *t; in big_ext_gcd_pos() local 3075 ri = &t1; in big_ext_gcd_pos() 3076 ri->value[0] = 1; in big_ext_gcd_pos() 3077 ri->len = 1; in big_ext_gcd_pos() 3094 (void) big_copy(ri, e); in big_ext_gcd_pos() [all …]
|