/titanic_44/usr/src/uts/common/fs/zfs/ |
H A D | space_map.c | 56 space_map_load(space_map_t *sm, range_tree_t *rt, maptype_t maptype) in space_map_load() argument 62 ASSERT(MUTEX_HELD(sm->sm_lock)); in space_map_load() 64 end = space_map_length(sm); in space_map_load() 65 space = space_map_allocated(sm); in space_map_load() 70 range_tree_add(rt, sm->sm_start, sm->sm_size); in space_map_load() 71 space = sm->sm_size - space; in space_map_load() 74 bufsize = MAX(sm->sm_blksz, SPA_MINBLOCKSIZE); in space_map_load() 77 mutex_exit(sm->sm_lock); in space_map_load() 79 dmu_prefetch(sm->sm_os, space_map_object(sm), 0, bufsize, in space_map_load() 82 mutex_enter(sm->sm_lock); in space_map_load() [all …]
|
/titanic_44/usr/src/lib/libtecla/common/ |
H A D | strngmem.c | 63 StringMem *sm; /* The container to be returned. */ in _new_StringMem() local 74 sm = (StringMem *) malloc(sizeof(StringMem)); in _new_StringMem() 75 if(!sm) { in _new_StringMem() 84 sm->nmalloc = 0; in _new_StringMem() 85 sm->fl = NULL; in _new_StringMem() 89 sm->fl = _new_FreeList(SM_STRLEN, blocking_factor); in _new_StringMem() 90 if(!sm->fl) in _new_StringMem() 91 return _del_StringMem(sm, 1); in _new_StringMem() 95 return sm; in _new_StringMem() 113 StringMem *_del_StringMem(StringMem *sm, int force) in _del_StringMem() argument [all …]
|
H A D | strngmem.h | 70 StringMem *_del_StringMem(StringMem *sm, int force); 75 char *_new_StringMemString(StringMem *sm, size_t size); 80 char *_del_StringMemString(StringMem *sm, char *s);
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | syncinit.c | 105 struct scc_mode sm; in main() local 158 sioc.ic_dp = (char *)&sm; in main() 170 sm.sm_baudrate = speed; in main() 174 sm.sm_config |= CONN_LPBK; in main() 176 sm.sm_config &= ~CONN_LPBK; in main() 180 sm.sm_config |= CONN_ECHO; in main() 182 sm.sm_config &= ~CONN_ECHO; in main() 186 sm.sm_config |= CONN_NRZI; in main() 188 sm.sm_config &= ~CONN_NRZI; in main() 190 sm.sm_txclock = lookup(txnames, arg); in main() [all …]
|
H A D | syncloop.c | 102 struct scc_mode sm; in main() local 213 sioc.ic_dp = (char *)&sm; in main() 238 if ((sm.sm_txclock != TXC_IS_BAUD) || in main() 239 (sm.sm_rxclock != RXC_IS_BAUD)) in main() 241 sm.sm_txclock = TXC_IS_BAUD; in main() 242 sm.sm_rxclock = RXC_IS_BAUD; in main() 243 if ((sm.sm_config & CONN_LPBK) == 0) in main() 245 sm.sm_config |= CONN_LPBK; in main() 248 if ((sm.sm_txclock != TXC_IS_BAUD) || in main() 249 (sm.sm_rxclock != RXC_IS_RXC)) in main() [all …]
|
H A D | syncstat.c | 45 static struct scc_mode sm; variable 134 sioc.ic_dp = (char *)&sm; in main() 165 if (sm.sm_baudrate == 0) { in main() 182 (void) printf(" %7d %7d %7d %7d %7d %7d %7d %7d %7d\n", sm.sm_baudrate, in main() 215 iutil = 100 * iutil / sm.sm_baudrate; in sample() 217 outil = 100 * outil / sm.sm_baudrate; in sample()
|
/titanic_44/usr/src/uts/common/io/aggr/ |
H A D | aggr_lacp.c | 232 portp->lp_lacp.sm.selected = AGGR_SELECTED; in lacp_port_select() 247 portp->lp_lacp.sm.selected = AGGR_UNSELECTED; in lacp_port_unselect() 315 pl->sm.lacp_on = B_FALSE; /* LACP Off default */ in aggr_lacp_init_port() 316 pl->sm.begin = B_TRUE; /* Prevents transmissions */ in aggr_lacp_init_port() 317 pl->sm.lacp_enabled = B_FALSE; in aggr_lacp_init_port() 318 pl->sm.port_enabled = B_FALSE; /* Link Down */ in aggr_lacp_init_port() 319 pl->sm.actor_churn = B_FALSE; in aggr_lacp_init_port() 320 pl->sm.partner_churn = B_FALSE; in aggr_lacp_init_port() 321 pl->sm.ready_n = B_FALSE; in aggr_lacp_init_port() 322 pl->sm.port_moved = B_FALSE; in aggr_lacp_init_port() [all …]
|
/titanic_44/usr/src/uts/common/fs/zfs/sys/ |
H A D | space_map.h | 136 int space_map_load(space_map_t *sm, range_tree_t *rt, maptype_t maptype); 138 void space_map_histogram_clear(space_map_t *sm); 139 void space_map_histogram_add(space_map_t *sm, range_tree_t *rt, 142 void space_map_update(space_map_t *sm); 144 uint64_t space_map_object(space_map_t *sm); 145 uint64_t space_map_allocated(space_map_t *sm); 146 uint64_t space_map_length(space_map_t *sm); 148 void space_map_write(space_map_t *sm, range_tree_t *rt, maptype_t maptype, 150 void space_map_truncate(space_map_t *sm, dmu_tx_t *tx); 152 void space_map_free(space_map_t *sm, dmu_tx_t *tx); [all …]
|
/titanic_44/usr/src/uts/sun4u/montecarlo/io/ |
H A D | ttymux.conf | 32 sm-trlv = 0x0; # debug trace. 33 sm-max-units = 6; # max no. of linked lower streams. 34 sm-minor-cnt = 0; # number of extra device minors. 35 sm-refuse-opens = 0; # unless associated 36 sm-ctrla-abort-on = 1; # software break sequence enabled 37 sm-break-abort-on = 0; # hardware break disabled
|
/titanic_44/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | srchpref.c | 209 struct ldap_searchmatch *sm, *nextsm; in free_searchobj() local 210 for ( sm = so->so_smlist; sm != NULL; sm = nextsm ) { in free_searchobj() 211 nextsm = sm->sm_next; in free_searchobj() 212 if ( sm->sm_matchprompt != NULL ) { in free_searchobj() 213 NSLDAPI_FREE( sm->sm_matchprompt ); in free_searchobj() 215 if ( sm->sm_filter != NULL ) { in free_searchobj() 216 NSLDAPI_FREE( sm->sm_filter ); in free_searchobj() 218 NSLDAPI_FREE( sm ); in free_searchobj() 252 struct ldap_searchmatch **sm; in read_next_searchobj() local 403 sm = &( so->so_smlist ); in read_next_searchobj() [all …]
|
/titanic_44/usr/src/cmd/fs.d/autofs/ |
H A D | nfs_cast.c | 82 struct sm { struct 516 struct sm *buffer; 518 buffer = (struct sm *)malloc(allocsize * sizeof (struct sm)); 541 buffer = (struct sm *)realloc(buffer, 542 allocsize * sizeof (struct sm)); 566 qsort((void *)buffer, size, sizeof (struct sm), host_sm); 597 qsort((void *)buffer, size, sizeof (struct sm), time_sm); 631 return (strcmp(((struct sm *)a)->mfs->mfs_host, in host_sm() 632 ((struct sm *)b)->mfs->mfs_host)); in host_sm() 637 if (timercmp(&(((struct sm *)a)->timeval), in time_sm() [all …]
|
/titanic_44/usr/src/uts/common/vm/ |
H A D | seg_map.c | 304 struct smfree *sm; in segmap_create() local 367 sm = &smd->smd_free[i]; in segmap_create() 368 mutex_init(&sm->sm_freeq[0].smq_mtx, NULL, MUTEX_DEFAULT, NULL); in segmap_create() 369 mutex_init(&sm->sm_freeq[1].smq_mtx, NULL, MUTEX_DEFAULT, NULL); in segmap_create() 370 sm->sm_allocq = &sm->sm_freeq[0]; in segmap_create() 371 sm->sm_releq = &sm->sm_freeq[1]; in segmap_create() 421 sm = SMP2SMF(smp); in segmap_create() 422 releq = sm->sm_releq; in segmap_create() 929 struct smfree *sm; in segmap_smapadd() local 940 sm = &smd_free[smp->sm_free_ndx]; in segmap_smapadd() [all …]
|
/titanic_44/usr/src/cmd/ldap/common/ |
H A D | tmpltest.c | 238 struct ldap_searchmatch *sm; in dump_srchpref() local 276 for ( i = 0, sm = so->so_smlist; sm != NULL; i++, sm = sm->sm_next ) { in dump_srchpref() 279 NULLSTRINGIFNULL( sm->sm_matchprompt ), in dump_srchpref() 280 NULLSTRINGIFNULL( sm->sm_filter )); in dump_srchpref()
|
/titanic_44/usr/src/uts/common/io/comstar/stmf/ |
H A D | lun_map.c | 50 stmf_status_t stmf_add_ent_to_map(stmf_lun_map_t *sm, void *ent, uint8_t *lun); 51 stmf_status_t stmf_remove_ent_from_map(stmf_lun_map_t *sm, uint8_t *lun); 52 uint16_t stmf_get_next_free_lun(stmf_lun_map_t *sm, uint8_t *lun); 246 stmf_lun_map_t *sm; in stmf_session_destroy_lun_map() local 256 sm = iss->iss_sm; in stmf_session_destroy_lun_map() 259 if (sm->lm_nentries) { in stmf_session_destroy_lun_map() 260 for (n = 0; n < sm->lm_nentries; n++) { in stmf_session_destroy_lun_map() 261 if ((ent = (stmf_lun_map_ent_t *)sm->lm_plus[n]) in stmf_session_destroy_lun_map() 271 kmem_free(sm->lm_plus[n], in stmf_session_destroy_lun_map() 275 kmem_free(sm->lm_plus, in stmf_session_destroy_lun_map() [all …]
|
H A D | lun_map.h | 53 stmf_xfer_data_t *stmf_session_prepare_report_lun_data(stmf_lun_map_t *sm); 56 void *stmf_get_ent_from_map(stmf_lun_map_t *sm, uint16_t lun_num);
|
/titanic_44/usr/src/uts/common/io/comstar/lu/stmf_sbd/ |
H A D | sbd.c | 804 sbd_calc_section_sum(sm_section_hdr_t *sm, uint32_t sz) in sbd_calc_section_sum() argument 808 o = sm->sms_chksum; in sbd_calc_section_sum() 809 sm->sms_chksum = 0; in sbd_calc_section_sum() 810 s = sbd_calc_sum((uint8_t *)sm, sz); in sbd_calc_section_sum() 811 sm->sms_chksum = o; in sbd_calc_section_sum() 829 sbd_swap_meta_start(sbd_meta_start_t *sm) in sbd_swap_meta_start() argument 831 if (sm->sm_magic == SBD_MAGIC) in sbd_swap_meta_start() 833 sm->sm_magic = BSWAP_64(sm->sm_magic); in sbd_swap_meta_start() 834 sm->sm_meta_size = BSWAP_64(sm->sm_meta_size); in sbd_swap_meta_start() 835 sm->sm_meta_size_used = BSWAP_64(sm->sm_meta_size_used); in sbd_swap_meta_start() [all …]
|
/titanic_44/usr/src/uts/sun/io/ |
H A D | zs_hdlc.c | 266 static int zsh_program(struct zscom *zs, struct scc_mode *sm); 275 struct scc_mode *sm); 1238 register struct scc_mode *sm; in zsh_ioctl() local 1267 sm = (struct scc_mode *)mp->b_cont->b_rptr; in zsh_ioctl() 1268 bcopy(&zss->sl_mode, sm, sizeof (struct scc_mode)); in zsh_ioctl() 1389 zsh_setmode(struct zscom *zs, struct syncline *zss, struct scc_mode *sm) in zsh_setmode() argument 1395 if (sm->sm_rxclock == RXC_IS_PLL) { in zsh_setmode() 1400 if (((zss->sl_mode.sm_config ^ sm->sm_config) & in zsh_setmode() 1402 if (sm->sm_config & CONN_SIGNAL) { /* ...up. */ in zsh_setmode() 1420 if (!(sm->sm_config & CONN_IBM)) { in zsh_setmode() [all …]
|
/titanic_44/usr/src/cmd/fm/schemes/mem/ |
H A D | mem.c | 545 mem_seg_map_t *sm, *tm; in fmd_fmri_fini() local 562 for (sm = mem.mem_seg; sm != NULL; sm = tm) { in fmd_fmri_fini() 563 tm = sm->sm_next; in fmd_fmri_fini() 564 fmd_fmri_free(sm, sizeof (mem_seg_map_t)); in fmd_fmri_fini()
|
/titanic_44/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_netbios.c | 477 } sm[] = { in smb_netbios_dump() local 511 for (i = 0; i < sizeof (sm) / sizeof (sm[0]); ++i) { in smb_netbios_dump() 512 if (nbtd.nbs_state == sm[i].state) { in smb_netbios_dump() 515 sm[i].text, last_event, nbtd.nbs_errors); in smb_netbios_dump()
|
/titanic_44/usr/src/cmd/sendmail/cf/feature/ |
H A D | msp.m4 | 41 `define(`confPID_FILE', QUEUE_DIR`/sm-client.pid')') 45 …_FILE, `sendmail.st'))ifelse(_b_, `-1', `STATUS_FILE', `substr(STATUS_FILE, 0, _b_)sm-client.st')') 48 `define(`STATUS_FILE', QUEUE_DIR`/sm-client.st')')
|
/titanic_44/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_mem.c | 646 uint64_t sm = ~ (137438953472ull - 1); in dr_del_span_query() local 647 uint64_t sa = pa & sm; in dr_del_span_query() 658 if ((ml->ml_address & sm) != sa) { in dr_del_span_query() 1108 uint64_t sm = sz - 1; in dr_post_detach_mem_unit() local 1272 if (((t_new_basepa & sm) + _ptob64(t_mp->sbm_npages)) > sz) { in dr_post_detach_mem_unit() 1273 t_new_smallsize = sz - (t_new_basepa & sm); in dr_post_detach_mem_unit() 1340 t_old_basepa & ~ sm, sz); in dr_post_detach_mem_unit() 1353 s_old_basepa & ~ sm, t_new_basepa & sm); in dr_post_detach_mem_unit() 1361 s_old_basepa & ~ sm, sz); in dr_post_detach_mem_unit() 2070 pgcnt_t sm = sz - 1; /* mem_slice_mask */ in dr_select_mem_target() local [all …]
|
/titanic_44/usr/src/lib/fm/topo/modules/sun4v/platform-mem/ |
H A D | mem_mdesc.c | 485 mem_seg_map_t *sm, *snext; in mem_mdesc_fini() local 506 for (sm = mem->mem_seg; sm != NULL; sm = snext) { in mem_mdesc_fini() 507 snext = sm->sm_next; in mem_mdesc_fini() 508 topo_mod_free(mod, sm, sizeof (mem_seg_map_t)); in mem_mdesc_fini()
|
/titanic_44/usr/src/cmd/sendmail/ |
H A D | Makefile.cmd | 27 CPPFLAGS.sm= $(CPPFLAGS.master) -DSOLARIS=2$(RELEASE_MINOR)00 \
|
/titanic_44/usr/src/cmd/sendmail/libsmutil/ |
H A D | Makefile | 35 CPPFLAGS= $(INCPATH) $(CPPFLAGS.sm)
|
/titanic_44/usr/src/cmd/sendmail/libsmdb/ |
H A D | Makefile | 36 CPPFLAGS= $(INCPATH) $(ENVDEF) $(CPPFLAGS.sm)
|