Home
last modified time | relevance | path

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

1234567

/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd.c637 for (sl = sbd_lu_list; sl; sl = sl->sl_next) { in sbd_find_and_lock_lu()
1822 sl->sl_pgr = (sbd_pgr_t *)(sl + 1); in sbd_create_register_lu()
1834 sl->sl_alias = sl->sl_name = sl->sl_meta_filename = p; in sbd_create_register_lu()
1839 sl->sl_alias = sl->sl_name = sl->sl_data_filename; in sbd_create_register_lu()
2196 sl->sl_pgr = (sbd_pgr_t *)(sl + 1); in sbd_create_standby_lu()
2203 sl->sl_name = sl->sl_meta_filename; in sbd_create_standby_lu()
2347 bzero(sl, sizeof (*sl)); in sbd_import_lu()
2349 sl->sl_pgr = (sbd_pgr_t *)(sl + 1); in sbd_import_lu()
2350 sl->sl_meta_filename = ((char *)sl) + sizeof (*sl) + in sbd_import_lu()
2544 sl->sl_data_vp = sl->sl_meta_vp; in sbd_import_lu()
[all …]
H A Dsbd_zvol.c107 sbd_zvol_get_volume_params(sbd_lu_t *sl) in sbd_zvol_get_volume_params() argument
112 &sl->sl_blksize, /* volume block size */ in sbd_zvol_get_volume_params()
116 &sl->sl_zvol_zil_hdl, /* zil_commit */ in sbd_zvol_get_volume_params()
117 &sl->sl_zvol_rl_hdl, /* locked_range_t */ in sbd_zvol_get_volume_params()
138 uint64_t blksz = sl->sl_blksize; in sbd_zvol_numsegs()
164 if (len > sl->sl_max_xfer_len) in sbd_zvol_alloc_read_bufs()
251 if (len > sl->sl_max_xfer_len) in sbd_zvol_alloc_write_bufs()
264 blksize = sl->sl_blksize; in sbd_zvol_alloc_write_bufs()
358 sbd_zvol_rele_write_bufs_abort(sl, dbuf); in sbd_zvol_rele_write_bufs()
401 if (len > sl->sl_max_xfer_len) in sbd_zvol_copy_read()
[all …]
H A Dsbd_scsi.c1910 s = sl->sl_lu_size >> sl->sl_data_blocksize_shift; in sbd_handle_read_capacity()
2062 if ((sl->sl_flags & in sbd_handle_mode_sense()
2069 if ((sl->sl_flags & in sbd_handle_mode_sense()
2978 if (sl->sl_mgmt_url) { in sbd_handle_inquiry()
3027 bcopy(sl->sl_serial_no, p + 4, sl->sl_serial_no_size); in sbd_handle_inquiry()
3143 s = sl->sl_lu_size >> sl->sl_data_blocksize_shift; in sbd_handle_inquiry()
3297 sl->sl_it_list = it; in sbd_new_task()
3940 sbd_pgr_reset(sl); in sbd_ctl()
3981 sbd_pgr_reset(sl); in sbd_lu_reset_state()
4001 if ((sl->sl_data_vtype == VREG) || (sl->sl_data_vtype == VBLK)) { in sbd_flush_data_cache()
[all …]
H A Dats_copy_mgr.c106 mutex_enter(&sl->sl_lock); in sbd_ats_do_handling_before_io()
170 mutex_exit(&sl->sl_lock); in sbd_ats_do_handling_before_io()
174 mutex_exit(&sl->sl_lock); in sbd_ats_do_handling_before_io()
203 mutex_enter(&sl->sl_lock); in sbd_ats_remove_by_task()
205 mutex_exit(&sl->sl_lock); in sbd_ats_remove_by_task()
221 mutex_exit(&sl->sl_lock); in sbd_ats_remove_by_task()
237 addr <<= sl->sl_data_blocksize_shift; in sbd_compare_and_write()
238 len <<= sl->sl_data_blocksize_shift; in sbd_compare_and_write()
515 addr <<= sl->sl_data_blocksize_shift; in sbd_handle_ats()
516 len <<= sl->sl_data_blocksize_shift; in sbd_handle_ats()
[all …]
H A Dsbd_impl.h311 int sbd_zvol_get_volume_params(sbd_lu_t *sl);
312 uint32_t sbd_zvol_numsegs(sbd_lu_t *sl, uint64_t off, uint32_t len);
313 int sbd_zvol_alloc_read_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf);
314 void sbd_zvol_rele_read_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf);
315 int sbd_zvol_alloc_write_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf);
316 void sbd_zvol_rele_write_bufs_abort(sbd_lu_t *sl, stmf_data_buf_t *dbuf);
317 int sbd_zvol_rele_write_bufs(sbd_lu_t *sl, stmf_data_buf_t *dbuf);
318 int sbd_zvol_copy_read(sbd_lu_t *sl, uio_t *uio);
319 int sbd_zvol_copy_write(sbd_lu_t *sl, uio_t *uio, int flags);
/illumos-gate/usr/src/cmd/man/
H A Dstringlist.c45 stringlist *sl; in sl_init() local
50 sl->sl_cur = 0; in sl_init()
52 sl->sl_str = malloc(sl->sl_max * sizeof (char *)); in sl_init()
56 return (sl); in sl_init()
63 if (sl->sl_cur == sl->sl_max - 1) { in sl_add()
65 sl->sl_str = realloc(sl->sl_str, sl->sl_max * sizeof (char *)); in sl_add()
69 sl->sl_str[sl->sl_cur++] = name; in sl_add()
80 if (sl == NULL) in sl_free()
82 if (sl->sl_str) { in sl_free()
86 free(sl->sl_str); in sl_free()
[all …]
/illumos-gate/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))
/illumos-gate/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()
67 sl->sl_ratio); 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()
142 sctp_listener_t *sl; in sctp_listener_conf_del() local
154 for (sl = list_head(&sctps->sctps_listener_conf); sl != NULL; in sctp_listener_conf_del()
[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()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_kutil.c636 smb_slist_t *sl, in smb_slist_constructor() argument
643 sl->sl_count = 0; in smb_slist_constructor()
654 smb_slist_t *sl) in smb_slist_destructor() argument
680 smb_slist_t *sl, in smb_slist_insert_head() argument
685 ++sl->sl_count; in smb_slist_insert_head()
701 ++sl->sl_count; in smb_slist_insert_tail()
717 if ((--sl->sl_count == 0) && (sl->sl_waiting)) { in smb_slist_remove()
738 rv = sl->sl_count; in smb_slist_move_tail()
741 sl->sl_count = 0; in smb_slist_move_tail()
788 cv_wait(&sl->sl_cv, &sl->sl_mutex); in smb_slist_wait_for_empty()
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/os/
H A Dprintf.c98 sl |= SL_CONSONLY; in cprintf()
101 sl = (sl & ~(SL_USER | SL_NOTE)) | SL_LOGONLY; in cprintf()
105 if ((sl & SL_USER) && (MUTEX_HELD(&pidlock) || on_intr)) { in cprintf()
107 sl = sl & ~(SL_USER | SL_LOGONLY) | SL_CONSOLE; in cprintf()
124 if (((sl & SL_CONSONLY) && panicstr) || in cprintf()
140 mp = log_makemsg(mid, sid, level, sl, LOG_KERN, bufp, in cprintf()
148 if (sl & SL_USER) { in cprintf()
349 if (sl & log_global.lz_active) { in strlog()
352 cprintf(fmt, adx, sl, "", "", caller(), mid, sid, level, in strlog()
362 if (sl & log_global.lz_active) in vstrlog()
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_lib.c356 scsi_link_t *sl; in tlm_get_scsi_sasd_entry() local
373 if (!sl) in tlm_get_scsi_sasd_entry()
995 sl->sl_type = type; in scsi_sasd_attach()
996 sl->sl_sa = sa; in scsi_sasd_attach()
997 sl->sl_lun = lun; in scsi_sasd_attach()
998 sl->sl_sid = sid; in scsi_sasd_attach()
1004 sl->sl_next = next; in scsi_sasd_attach()
1114 for (sl = sh->sl_next; sl != sh; sl = sl->sl_next) in scsi_get_devtype()
1115 if (sl->sl_sid == sid && sl->sl_lun == lun) in scsi_get_devtype()
1133 for (sl = sh->sl_next; sl != sh; sl = sl->sl_next) in scsi_dev_exists()
[all …]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipmon.c856 if (sl->isl_p == IPPROTO_TCP || sl->isl_p == IPPROTO_UDP) {
858 hostname(res, sl->isl_v, (u_32_t *)&sl->isl_src),
862 hostname(res, sl->isl_v, (u_32_t *)&sl->isl_dst),
869 hostname(res, sl->isl_v, (u_32_t *)&sl->isl_dst),
876 hostname(res, sl->isl_v, (u_32_t *)&sl->isl_dst),
880 hostname(res, sl->isl_v, (u_32_t *)&sl->isl_src));
883 hostname(res, sl->isl_v, (u_32_t *)&sl->isl_dst),
905 sl->isl_pkts[0], sl->isl_bytes[0],
906 sl->isl_pkts[1], sl->isl_bytes[1],
907 sl->isl_pkts[2], sl->isl_bytes[2],
[all …]
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_path.c976 "Dest%d", sl->p_multi, sl->p_count, unicast_dgid_present); in ibcm_saa_path_rec()
1323 sl, NULL, in ibcm_get_single_pathrec()
1401 sgid_cnt = sl->p_count; in ibcm_get_multi_pathrec()
1744 sl, NULL, in ibcm_get_multi_pathrec()
2007 sl++; in ibcm_saa_get_agid()
3062 "#Dest=%d, #Path %d", sl->p_multi, sl->p_count, dinfo->num_dest, in ibcm_saa_ip_pr()
3330 sl, NULL, in ibcm_get_ip_spr()
3798 "DGID0: %llX:%llX", sl->p_sgid.gid_prefix, sl->p_sgid.gid_guid, in ibcm_process_get_ip_paths()
3869 sl->p_hca_guid, sl->p_port_num); in ibcm_process_get_ip_paths()
3897 sl[i].p_hca_guid, sl[i].p_port_num); in ibcm_process_get_ip_paths()
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Ddlfcns.c1068 Slookup sl = *slp; in dlsym_handle() local
1110 sl.sl_imap = nlmp; in dlsym_handle()
1162 sl.sl_imap = nlmp; in dlsym_handle()
1229 Slookup sl; in dlsym_core() local
1266 sl.sl_imap = hlmp; in dlsym_core()
1297 sl.sl_rsymndx = 0; in dlsym_core()
1298 sl.sl_rsym = NULL; in dlsym_core()
1327 sl.sl_imap = clmp; in dlsym_core()
1341 sl.sl_imap = hlmp; in dlsym_core()
1360 sl.sl_imap = hlmp; in dlsym_core()
[all …]
H A Da.out.c327 const char *sl; in aout_find_com() local
335 sl = name; in aout_find_com()
337 while (*sl == *cp++) in aout_find_com()
338 if (*sl++ == '\0') in aout_find_com()
446 Slookup sl = *slp; in aout_lookup_sym() local
450 if (*sl.sl_name == '_') in aout_lookup_sym()
451 ++sl.sl_name; in aout_lookup_sym()
453 sl.sl_flags |= LKUP_LDOT; in aout_lookup_sym()
457 sl.sl_name = name; in aout_lookup_sym()
684 Slookup sl; in aout_dlsym_handle() local
[all …]
H A Danalyze.c66 Slookup sl; in load_filtees() local
2626 Slookup sl; in lookup_sym_interpose() local
2696 sl = *slp; in lookup_sym_interpose()
2697 sl.sl_imap = lmp; in lookup_sym_interpose()
2729 sl = *slp; in lookup_sym_interpose()
2761 sl.sl_imap = lmp; in lookup_sym_interpose()
2800 Slookup sl; in lookup_sym_direct() local
2830 sl = *slp; in lookup_sym_direct()
2958 Slookup sl; in _lookup_sym() local
3057 sl = *slp; in _lookup_sym()
[all …]
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/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()

1234567