Home
last modified time | relevance | path

Searched refs:sl (Results 1 – 25 of 142) sorted by relevance

123456

/titanic_41/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd.c56 extern sbd_status_t sbd_pgr_meta_init(sbd_lu_t *sl);
57 extern sbd_status_t sbd_pgr_meta_load(sbd_lu_t *sl);
58 extern void sbd_pgr_reset(sbd_lu_t *sl);
81 int sbd_import_active_lu(sbd_import_lu_t *ilu, sbd_lu_t *sl, uint32_t *err_ret);
93 sbd_status_t sbd_create_zfs_meta_object(sbd_lu_t *sl);
94 sbd_status_t sbd_open_zfs_meta(sbd_lu_t *sl);
95 sbd_status_t sbd_read_zfs_meta(sbd_lu_t *sl, uint8_t *buf, uint64_t sz,
97 sbd_status_t sbd_write_zfs_meta(sbd_lu_t *sl, uint8_t *buf, uint64_t sz,
99 sbd_status_t sbd_update_zfs_prop(sbd_lu_t *sl);
104 void sbd_close_lu(sbd_lu_t *sl);
[all …]
H A Dsbd_zvol.c106 sbd_zvol_get_volume_params(sbd_lu_t *sl) in sbd_zvol_get_volume_params() argument
110 ret = zvol_get_volume_params(sl->sl_zvol_minor, in sbd_zvol_get_volume_params()
111 &sl->sl_blksize, /* volume block size */ in sbd_zvol_get_volume_params()
112 &sl->sl_max_xfer_len, /* max data chunk size */ in sbd_zvol_get_volume_params()
113 &sl->sl_zvol_minor_hdl, /* minor soft state */ in sbd_zvol_get_volume_params()
114 &sl->sl_zvol_objset_hdl, /* dmu_tx_create */ in sbd_zvol_get_volume_params()
115 &sl->sl_zvol_zil_hdl, /* zil_commit */ in sbd_zvol_get_volume_params()
116 &sl->sl_zvol_rl_hdl, /* zfs_range_lock */ in sbd_zvol_get_volume_params()
117 &sl->sl_zvol_bonus_hdl); /* dmu_buf_hold_array_by_bonus, */ in sbd_zvol_get_volume_params()
121 if (ret == 0 && sl->sl_blksize < MMU_PAGESIZE) { in sbd_zvol_get_volume_params()
[all …]
H A Dsbd_scsi.c135 sbd_lu_t *sl = (sbd_lu_t *)task->task_lu->lu_provider_private; in sbd_do_read_xfer() local
154 if (sbd_data_read(sl, task, laddr, (uint64_t)iolen, in sbd_do_read_xfer()
211 sbd_lu_t *sl = (sbd_lu_t *)task->task_lu->lu_provider_private; in sbd_do_sgl_read_xfer() local
219 uint64_t blksize = sl->sl_blksize; in sbd_do_sgl_read_xfer()
223 ASSERT(rw_read_held(&sl->sl_access_state_lock)); in sbd_do_sgl_read_xfer()
224 ASSERT((sl->sl_flags & SL_MEDIA_LOADED) != 0); in sbd_do_sgl_read_xfer()
246 max_len = MIN(task->task_max_xfer_len, sl->sl_max_xfer_len); in sbd_do_sgl_read_xfer()
292 nblks = sbd_zvol_numsegs(sl, offset, xfer_len); in sbd_do_sgl_read_xfer()
336 DTRACE_PROBE5(backing__store__read__start, sbd_lu_t *, sl, in sbd_do_sgl_read_xfer()
340 ret = sbd_zvol_alloc_read_bufs(sl, dbuf); in sbd_do_sgl_read_xfer()
[all …]
H A Dsbd_impl.h286 int sbd_zvol_get_volume_params(sbd_lu_t *sl);
287 uint32_t sbd_zvol_numsegs(sbd_lu_t *sl, uint64_t off, uint32_t len);
288 int sbd_zvol_alloc_read_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf);
289 void sbd_zvol_rele_read_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf);
290 int sbd_zvol_alloc_write_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf);
291 void sbd_zvol_rele_write_bufs_abort(sbd_lu_t *sl, stmf_data_buf_t *dbuf);
292 int sbd_zvol_rele_write_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf);
293 int sbd_zvol_copy_read(sbd_lu_t *sl, uio_t *uio);
294 int sbd_zvol_copy_write(sbd_lu_t *sl, uio_t *uio, int flags);
/titanic_41/usr/src/cmd/man/
H A Dstringlist.c45 stringlist *sl; in sl_init() local
47 if ((sl = malloc(sizeof (stringlist))) == NULL) in sl_init()
50 sl->sl_cur = 0; in sl_init()
51 sl->sl_max = _SL_CHUNKSIZE; in sl_init()
52 sl->sl_str = malloc(sl->sl_max * sizeof (char *)); in sl_init()
53 if (sl->sl_str == NULL) in sl_init()
56 return (sl); in sl_init()
60 sl_add(stringlist *sl, char *name) in sl_add() argument
63 if (sl->sl_cur == sl->sl_max - 1) { in sl_add()
64 sl->sl_max += _SL_CHUNKSIZE; in sl_add()
[all …]
/titanic_41/usr/src/uts/common/inet/
H A Dip_listutils.h51 #define SLIST_IS_EMPTY(sl) (((sl) == NULL) || ((sl)->sl_numsrc == 0)) argument
52 #define SLIST_CNT(sl) (((sl) == NULL) ? 0 : ((sl)->sl_numsrc)) argument
53 #define CLEAR_SLIST(sl) if ((sl) != NULL) (sl)->sl_numsrc = 0 argument
54 #define FREE_SLIST(sl) if ((sl) != NULL) l_free((sl)) argument
55 #define COPY_SLIST(sl, newsl) \ argument
57 (newsl) = l_alloc_copy((sl)); \
59 l_copy((sl), (newsl))
/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_tunables.c50 sctp_listener_t *sl; in sctp_listener_conf_get() local
63 for (sl = list_head(&sctps->sctps_listener_conf); sl != NULL; in sctp_listener_conf_get()
64 sl = list_next(&sctps->sctps_listener_conf, sl)) { in sctp_listener_conf_get()
66 nbytes = snprintf(pval, size, "%d:%d", sl->sl_port, in sctp_listener_conf_get()
67 sl->sl_ratio); in sctp_listener_conf_get()
69 nbytes = snprintf(pval, size, ",%d:%d", sl->sl_port, in sctp_listener_conf_get()
70 sl->sl_ratio); in sctp_listener_conf_get()
94 sctp_listener_t *sl; in sctp_listener_conf_add() local
111 for (sl = list_head(&sctps->sctps_listener_conf); sl != NULL; in sctp_listener_conf_add()
112 sl = list_next(&sctps->sctps_listener_conf, sl)) { in sctp_listener_conf_add()
[all …]
H A Dsctp_misc.c115 sctp_listener_t *sl; in sctp_find_listener_conf() local
119 for (sl = list_head(&sctps->sctps_listener_conf); sl != NULL; in sctp_find_listener_conf()
120 sl = list_next(&sctps->sctps_listener_conf, sl)) { in sctp_find_listener_conf()
121 if (sl->sl_port == port) { in sctp_find_listener_conf()
122 ratio = sl->sl_ratio; in sctp_find_listener_conf()
136 sctp_listener_t *sl; in sctp_listener_conf_cleanup() local
139 while ((sl = list_head(&sctps->sctps_listener_conf)) != NULL) { in sctp_listener_conf_cleanup()
140 list_remove(&sctps->sctps_listener_conf, sl); in sctp_listener_conf_cleanup()
141 kmem_free(sl, sizeof (sctp_listener_t)); in sctp_listener_conf_cleanup()
/titanic_41/usr/src/cmd/tbl/
H A Dtv.c24 int tp=0, sl, ln, pos, epb, ept, vm; in drawvert() local
64 sl = start-1; in drawvert()
65 while (sl>=0 && instead[sl]) sl--; in drawvert()
66 if (sl>=0 && (fullbot[sl] || allh(sl))) in drawvert()
69 if (sl>=0) in drawvert()
70 switch(midbar(sl,c)) in drawvert()
/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_kutil.c595 smb_slist_t *sl, in smb_slist_constructor() argument
599 mutex_init(&sl->sl_mutex, NULL, MUTEX_DEFAULT, NULL); in smb_slist_constructor()
600 cv_init(&sl->sl_cv, NULL, CV_DEFAULT, NULL); in smb_slist_constructor()
601 list_create(&sl->sl_list, size, offset); in smb_slist_constructor()
602 sl->sl_count = 0; in smb_slist_constructor()
603 sl->sl_waiting = B_FALSE; in smb_slist_constructor()
613 smb_slist_t *sl) in smb_slist_destructor() argument
615 VERIFY(sl->sl_count == 0); in smb_slist_destructor()
617 mutex_destroy(&sl->sl_mutex); in smb_slist_destructor()
618 cv_destroy(&sl->sl_cv); in smb_slist_destructor()
[all …]
/titanic_41/usr/src/uts/common/os/
H A Dprintf.c73 cprintf(const char *fmt, va_list adx, int sl, const char *prefix, in cprintf() argument
97 sl |= SL_CONSONLY; in cprintf()
100 sl = (sl & ~(SL_USER | SL_NOTE)) | SL_LOGONLY; in cprintf()
104 if ((sl & SL_USER) && (MUTEX_HELD(&pidlock) || on_intr)) { in cprintf()
106 sl = sl & ~(SL_USER | SL_LOGONLY) | SL_CONSOLE; in cprintf()
123 if (((sl & SL_CONSONLY) && panicstr) || in cprintf()
139 mp = log_makemsg(mid, sid, level, sl, LOG_KERN, bufp, in cprintf()
142 if ((sl & (SL_CONSOLE | SL_LOGONLY)) == SL_CONSOLE && !on_intr) in cprintf()
147 if (sl & SL_USER) { in cprintf()
339 strlog(short mid, short sid, char level, ushort_t sl, char *fmt, ...) in strlog() argument
[all …]
/titanic_41/usr/src/lib/libtsol/common/
H A Dgetplabel.c48 bslabel_t *sl; in getplabel() local
50 sl = getzonelabelbyid(zoneid); in getplabel()
51 if (sl == NULL) { in getplabel()
54 *label_p = *sl; in getplabel()
55 free(sl); in getplabel()
/titanic_41/usr/src/cmd/ndmpd/tlm/
H A Dtlm_lib.c356 scsi_link_t *sl; in tlm_get_scsi_sasd_entry() local
372 sl = sasd_dev_slink(i); in tlm_get_scsi_sasd_entry()
373 if (!sl) in tlm_get_scsi_sasd_entry()
376 if (dp->td_slink->sl_sa == sl->sl_sa && in tlm_get_scsi_sasd_entry()
377 dp->td_scsi_id == sl->sl_sid && in tlm_get_scsi_sasd_entry()
378 dp->td_lun == sl->sl_lun) { in tlm_get_scsi_sasd_entry()
973 scsi_link_t *sl, *next; in scsi_sasd_attach() local
994 sl = &ssd->ss_slink; in scsi_sasd_attach()
995 sl->sl_type = type; in scsi_sasd_attach()
996 sl->sl_sa = sa; in scsi_sasd_attach()
[all …]
/titanic_41/usr/src/cmd/ipf/tools/
H A Dipmon.c806 struct ipslog *sl; local
812 sl = (struct ipslog *)((char *)ipl + sizeof(*ipl));
827 if (sl->isl_type == ISL_NEW)
829 else if (sl->isl_type == ISL_CLONE)
831 else if (sl->isl_type == ISL_EXPIRE) {
832 if ((sl->isl_p == IPPROTO_TCP) &&
833 (sl->isl_state[0] > IPF_TCPS_ESTABLISHED ||
834 sl->isl_state[1] > IPF_TCPS_ESTABLISHED))
838 } else if (sl->isl_type == ISL_FLUSH)
840 else if (sl->isl_type == ISL_INTERMEDIATE)
[all …]
/titanic_41/usr/src/cmd/pools/poold/com/sun/solaris/domain/pools/
H A DResourceMonitor.java228 StatisticList sl = (StatisticList) get(keys. in calcDerivedStatistic() local
231 sl.getLast(); in calcDerivedStatistic()
233 sl.get(sl.size() - 2); in calcDerivedStatistic()
234 if (sl.getName().compareTo("idle") == 0) in calcDerivedStatistic()
252 StatisticList sl = (StatisticList) get(name); in resetData() local
253 sl.clear(); in resetData()
H A DSystemMonitor.java200 StatisticList sl = new StatisticList( in setResourceMonitors() local
202 mon.put(stats[i], sl); in setResourceMonitors()
282 StatisticList sl; in getNext() local
283 sl = (StatisticList) mon.get(stats[i]); in getNext()
284 sl.add(new UnsignedInt64Statistic( in getNext()
342 StatisticList sl = (StatisticList) itSL.next(); in isValid() local
343 if (sl.getName().compareTo("utilization") == in isValid()
345 if (sl.isValid() == false) in isValid()
/titanic_41/usr/src/lib/libc/port/fp/
H A Dcmpdi2.c52 return (aa.sl[H] < bb.sl[H] ? 0 : aa.sl[H] > bb.sl[H] ? 2 : in ___cmpdi2()
/titanic_41/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_path.c893 ibcm_saa_path_rec(ibcm_path_tqargs_t *p_arg, ibtl_cm_port_list_t *sl, in ibcm_saa_path_rec() argument
904 p_arg, sl, dinfo, p_arg->flags, *max_count); in ibcm_saa_path_rec()
906 if ((dinfo->num_dest == 0) || (num_path == 0) || (sl == NULL)) { in ibcm_saa_path_rec()
943 retval = ibcm_get_single_pathrec(p_arg, sl, dinfo, idx, in ibcm_saa_path_rec()
975 "Dest%d", sl->p_multi, sl->p_count, unicast_dgid_present); in ibcm_saa_path_rec()
977 if ((sl->p_multi != IBTL_CM_SIMPLE_SETUP) || in ibcm_saa_path_rec()
978 ((unicast_dgid_present == 1) && (sl->p_count == 1))) { in ibcm_saa_path_rec()
983 retval = ibcm_get_single_pathrec(p_arg, sl, dinfo, 0xFF, in ibcm_saa_path_rec()
989 retval = ibcm_get_multi_pathrec(p_arg, sl, dinfo, in ibcm_saa_path_rec()
993 (sl->p_count > 0) && in ibcm_saa_path_rec()
[all …]
/titanic_41/usr/src/cmd/lp/lib/lp/
H A Dtx.c109 m_label_t *sl; in get_peer_label() local
124 sl = ucred_getlabel(uc); in get_peer_label()
131 if (blequal(sl, &admin_low)) { in get_peer_label()
132 sl = &admin_high; in get_peer_label()
137 if (label_to_str(sl, &pslabel, M_INTERNAL, DEF_NAMES) != 0) in get_peer_label()
/titanic_41/usr/src/cmd/sgs/rtld/common/
H A Ddlfcns.c1068 Slookup sl = *slp; in dlsym_handle() local
1070 sl.sl_flags = (LKUP_FIRST | LKUP_DLSYM | LKUP_SPEC); in dlsym_handle()
1110 sl.sl_imap = nlmp; in dlsym_handle()
1111 if (LM_LOOKUP_SYM(clmp)(&sl, srp, binfo, in_nfavl)) in dlsym_handle()
1131 sl.sl_flags |= LKUP_NODESCENT; in dlsym_handle()
1141 sl.sl_imap = nlmp; in dlsym_handle()
1142 if (elf_lazy_find_sym(&sl, srp, binfo, in dlsym_handle()
1162 sl.sl_imap = nlmp; in dlsym_handle()
1163 if (LM_LOOKUP_SYM(clmp)(&sl, srp, binfo, in_nfavl)) in dlsym_handle()
1191 sl.sl_imap = nlmp; in dlsym_handle()
[all …]
H A Da.out.c328 const char *sl; in aout_find_com() local
336 sl = name; in aout_find_com()
338 while (*sl == *cp++) in aout_find_com()
339 if (*sl++ == '\0') in aout_find_com()
447 Slookup sl = *slp; in aout_lookup_sym() local
451 if (*sl.sl_name == '_') in aout_lookup_sym()
452 ++sl.sl_name; in aout_lookup_sym()
453 else if (*sl.sl_name == '.') in aout_lookup_sym()
454 sl.sl_flags |= LKUP_LDOT; in aout_lookup_sym()
457 (void) strcpy(&name[1], sl.sl_name); in aout_lookup_sym()
[all …]
H A Danalyze.c66 Slookup sl; in load_filtees() local
73 SLOOKUP_INIT(sl, 0, lmp, lmp, ld_entry_cnt, 0, 0, 0, 0, 0); in load_filtees()
85 (void) elf_lookup_filtee(&sl, &sr, &binfo, cnt, in load_filtees()
2626 Slookup sl; in lookup_sym_interpose() local
2696 sl = *slp; in lookup_sym_interpose()
2697 sl.sl_imap = lmp; in lookup_sym_interpose()
2704 if (SYMINTP(lmp)(&sl, &sr, binfo, in_nfavl)) { in lookup_sym_interpose()
2729 sl = *slp; in lookup_sym_interpose()
2731 if (((FLAGS(lmp) & MSK_RT_INTPOSE) == 0) || (sl.sl_flags & LKUP_COPY)) in lookup_sym_interpose()
2751 if (callable(clmp, lmp, 0, sl.sl_flags)) { in lookup_sym_interpose()
[all …]
/titanic_41/usr/src/lib/crypt_modules/bsdmd5/
H A Dbsdmd5.c77 int sl, l, pl, i; in crypt_genhash_impl() local
95 sl = ep - sp; in crypt_genhash_impl()
106 MD5Update(&ctx, (uchar_t *)sp, sl); in crypt_genhash_impl()
111 MD5Update(&ctx1, sp, sl); in crypt_genhash_impl()
131 (void) strncat(ctbuffer, (const char *)sp, sl); in crypt_genhash_impl()
150 MD5Update(&ctx1, sp, sl); in crypt_genhash_impl()
/titanic_41/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_scsi.c578 scsi_link_t *sl; in scsi_find_sid_lun() local
581 for (sl = sa->sa_link_head.sl_next; sl && sl != &sa->sa_link_head; in scsi_find_sid_lun()
582 sl = sl->sl_next) { in scsi_find_sid_lun()
583 name = sasd_slink_name(sl); in scsi_find_sid_lun()
585 *sid = sl->sl_sid; in scsi_find_sid_lun()
586 *lun = sl->sl_lun; in scsi_find_sid_lun()
/titanic_41/usr/src/cmd/lp/lib/secure/
H A Dsecure.c205 m_label_t *sl; in putsecure() local
207 sl = m_label_alloc(MAC_LABEL); in putsecure()
208 (void) getplabel(sl); in putsecure()
209 if (label_to_str(sl, &(secbufp->slabel), in putsecure()
215 m_label_free(sl); in putsecure()

123456