Home
last modified time | relevance | path

Searched refs:nsp (Results 1 – 23 of 23) sorted by relevance

/titanic_41/usr/src/cmd/ipf/tools/
H A Dipnat.c91 void showhostmap __P((natstat_t *nsp));
112 natstat_t ns, *nsp; local
118 nsp = &ns;
215 obj.ipfo_size = sizeof(*nsp);
217 obj.ipfo_ptr = (void *)nsp;
228 natstat_dead(nsp, kernel);
230 dostats(fd, nsp, opts, 0);
240 dostats(fd, nsp, opts, 1);
249 void natstat_dead(nsp, kernel) in natstat_dead() argument
250 natstat_t *nsp; in natstat_dead()
[all …]
/titanic_41/usr/src/cmd/fs.d/autofs/
H A Dns_generic.c75 struct ns_info *nsp; in ns_setup() local
77 for (nsp = ns_info; nsp->ns_name; nsp++) { in ns_setup()
78 nsp->ns_init(stack, stkptr); in ns_setup()
90 struct ns_info *nsp; local
112 for (nsp = ns_info; nsp->ns_name; nsp++) {
113 if (strcmp(lkp->service_name, nsp->ns_name) == 0) {
115 return (nsp);
137 struct ns_info *nsp; local
148 while ((nsp = get_next_ns(&curr_ns, ns_err)) != NULL) {
149 ns_err = nsp->ns_getmapent(key, mapname, ml, stack, stkptr,
[all …]
/titanic_41/usr/src/uts/common/inet/ipf/
H A Dip_compat.c219 nat_save_t *nsp; local
249 nsp = (nat_save_t *)ptr;
250 bzero((char *)nsp, sizeof (*nsp));
251 nsp->ipn_next = nsc.ipn_next;
252 nsp->ipn_dsize = nsc.ipn_dsize;
253 nsp->ipn_nat.nat_inip = nsc.ipn_nat.nat_inip;
254 nsp->ipn_nat.nat_outip = nsc.ipn_nat.nat_outip;
255 nsp->ipn_nat.nat_oip = nsc.ipn_nat.nat_oip;
256 nsp->ipn_nat.nat_inport = nsc.ipn_nat.nat_inport;
257 nsp->ipn_nat.nat_outport = nsc.ipn_nat.nat_outport;
[all …]
/titanic_41/usr/src/ucblib/libcurses/
H A Drefresh.c156 char *nsp, *csp, *ce; in makech() local
177 nsp = &win->_y[wy][wx]; in makech()
191 if (*nsp != *csp) { in makech()
198 while (wx <= lch && *nsp != *csp) { in makech()
199 if (ce != NULL && wx >= nlsp && *nsp == ' ') { in makech()
229 if (SO && (*nsp&_STANDOUT) != in makech()
231 if (*nsp & _STANDOUT) { in makech()
250 (void) _putchar((*csp = *nsp) & in makech()
253 (void) _putchar(*nsp & 0177); in makech()
270 (void) _putchar((*csp++ = *nsp) & 0177); in makech()
[all …]
/titanic_41/usr/src/cmd/auditreduce/
H A Dmain.c185 mfork(audit_pcb_t *pcb, int nsp, int lo, int hi) in mfork() argument
192 (void) fprintf(stderr, "mfork: nsp %d %d->%d\n", nsp, lo, hi); in mfork()
198 if (nsp <= max_sproc) { in mfork()
215 if (nsp <= max_sproc * (max_sproc - 1)) { in mfork()
216 tofork = nsp / max_sproc; in mfork()
217 if (nsp % max_sproc) in mfork()
231 nnsp = nsp / tofork; /* # of pcbs per forked process */ in mfork()
232 nrem = nsp % tofork; /* remainder to spread around */ in mfork()
563 mcount(int nsp, int lo) in mcount() argument
569 if (nsp > max_sproc) { in mcount()
[all …]
/titanic_41/usr/src/uts/common/klm/
H A Dnlm_impl.c2121 struct nlm_shres *nsp, *nsp_new; in nlm_shres_track() local
2131 for (nsp = hostp->nh_shrlist; nsp != NULL; nsp = nsp->ns_next) in nlm_shres_track()
2132 if (nsp->ns_vp == vp && nlm_shres_equal(shrp, nsp->ns_shr)) in nlm_shres_track()
2135 if (nsp != NULL) { in nlm_shres_track()
2143 nsp = nsp_new; in nlm_shres_track()
2145 nsp->ns_next = hostp->nh_shrlist; in nlm_shres_track()
2146 hostp->nh_shrlist = nsp; in nlm_shres_track()
2157 struct nlm_shres *nsp, *nsp_prev = NULL; in nlm_shres_untrack() local
2160 nsp = hostp->nh_shrlist; in nlm_shres_untrack()
2161 while (nsp != NULL) { in nlm_shres_untrack()
[all …]
H A Dnlm_client.c148 struct nlm_shres *nsp_head, *nsp; in nlm_reclaim_client() local
220 nsp_head = nsp = nlm_get_active_shres(hostp); in nlm_reclaim_client()
221 while (nsp != NULL) { in nlm_reclaim_client()
222 error = nlm_reclaim_share(hostp, nsp->ns_vp, in nlm_reclaim_client()
223 nsp->ns_shr, state); in nlm_reclaim_client()
226 nsp = nsp->ns_next; in nlm_reclaim_client()
232 nlm_shres_untrack(hostp, nsp->ns_vp, in nlm_reclaim_client()
233 nsp->ns_shr); in nlm_reclaim_client()
234 nlm_local_shrcancel(nsp->ns_vp, in nlm_reclaim_client()
235 nsp->ns_shr); in nlm_reclaim_client()
[all …]
/titanic_41/usr/src/cmd/fm/fmd/common/
H A Dfmd_scheme.c353 fmd_scheme_t *sp, *nsp = NULL; in fmd_scheme_hash_lookup() local
366 nsp = fmd_scheme_create(name); in fmd_scheme_hash_lookup()
370 nsp->sch_next = shp->sch_hash[h]; in fmd_scheme_hash_lookup()
371 shp->sch_hash[h] = sp = nsp; in fmd_scheme_hash_lookup()
373 fmd_scheme_hash_release(shp, nsp); in fmd_scheme_hash_lookup()
374 nsp = NULL; in fmd_scheme_hash_lookup()
390 if (nsp != NULL) { in fmd_scheme_hash_lookup()
/titanic_41/usr/src/uts/common/os/
H A Dnetstack.c316 netstack_t **nsp; in netstack_zone_create() local
337 for (nsp = &netstack_head; *nsp != NULL; in netstack_zone_create()
338 nsp = &((*nsp)->netstack_next)) { in netstack_zone_create()
339 if ((*nsp)->netstack_stackid == stackid) { in netstack_zone_create()
345 ns = *nsp; in netstack_zone_create()
365 *nsp = ns; in netstack_zone_create()
1047 netstack_t **nsp; in netstack_rele() local
1080 for (nsp = &netstack_head; *nsp != NULL; in netstack_rele()
1081 nsp = &(*nsp)->netstack_next) { in netstack_rele()
1082 if (*nsp == ns) { in netstack_rele()
[all …]
H A Dsunmdi.c6087 struct pi_errs *nsp; in mdi_pi_kstat_create() local
6107 nsp = (struct pi_errs *)kerrsp->ks_data; in mdi_pi_kstat_create()
6108 kstat_named_init(&nsp->pi_softerrs, "Soft Errors", KSTAT_DATA_UINT32); in mdi_pi_kstat_create()
6109 kstat_named_init(&nsp->pi_harderrs, "Hard Errors", KSTAT_DATA_UINT32); in mdi_pi_kstat_create()
6110 kstat_named_init(&nsp->pi_transerrs, "Transport Errors", in mdi_pi_kstat_create()
6112 kstat_named_init(&nsp->pi_icnt_busy, "Interconnect Busy", in mdi_pi_kstat_create()
6114 kstat_named_init(&nsp->pi_icnt_errors, "Interconnect Errors", in mdi_pi_kstat_create()
6116 kstat_named_init(&nsp->pi_phci_rsrc, "pHCI No Resources", in mdi_pi_kstat_create()
6118 kstat_named_init(&nsp->pi_phci_localerr, "pHCI Local Errors", in mdi_pi_kstat_create()
6120 kstat_named_init(&nsp->pi_phci_invstate, "pHCI Invalid State", in mdi_pi_kstat_create()
[all …]
/titanic_41/usr/src/cmd/fm/fmstat/common/
H A Dfmstat.c260 fmd_stat_t *tsp, *nsp, *sp; in modstat_compute() local
273 for (nsp = ams->ams_buf; nsp < ams->ams_buf + ams->ams_len; nsp++) { in modstat_compute()
275 const char *p = strrchr(nsp->fmds_name, '.'); in modstat_compute()
285 strncmp(nsp->fmds_name, "fmd.", 4) != 0) in modstat_compute()
288 if (tsp->fmds_type != nsp->fmds_type) { in modstat_compute()
290 nsp->fmds_name, tsp->fmds_type, in modstat_compute()
291 nsp->fmds_type); in modstat_compute()
294 sp->fmds_value = nsp->fmds_value; in modstat_compute()
/titanic_41/usr/src/uts/common/fs/specfs/
H A Dspecsubr.c119 struct snode *nsp; in specvp() local
137 nsp = kmem_cache_alloc(snode_cache, KM_SLEEP); in specvp()
152 sp = nsp; /* Use pre-allocated snode */ in specvp()
205 kmem_cache_free(snode_cache, nsp); in specvp()
534 struct snode *nsp, /* pre-allocated snode */ in get_cvp() argument
542 sp = nsp; /* Use pre-allocated snode */ in get_cvp()
581 struct snode *sp, *nsp; in commonvp() local
585 nsp = kmem_cache_alloc(snode_cache, KM_SLEEP); in commonvp()
589 sp = nsp; /* Use pre-alloced snode */ in commonvp()
618 kmem_cache_free(snode_cache, nsp); in commonvp()
/titanic_41/usr/src/cmd/fm/fminject/common/
H A Dinj_string.c150 inj_strtime(hrtime_t *nsp, const char *units) in inj_strtime() argument
174 hrtime_t val = *nsp, mul = 1; in inj_strtime()
193 *nsp = val; in inj_strtime()
/titanic_41/usr/src/cmd/fs.d/udfs/mkfs/
H A Dmkfs.c608 struct nsr_desc *nsp; in volseqinit() local
653 nsp = (struct nsr_desc *)buf; in volseqinit()
654 nsp->nsr_str_type = 0; in volseqinit()
655 nsp->nsr_ver = 1; in volseqinit()
656 (void) strncpy((int8_t *)nsp->nsr_id, "BEA01", 5); in volseqinit()
658 nsp = (struct nsr_desc *)&buf[2048]; in volseqinit()
659 nsp->nsr_str_type = 0; in volseqinit()
660 nsp->nsr_ver = 1; in volseqinit()
661 (void) strncpy((int8_t *)nsp->nsr_id, "NSR02", 5); in volseqinit()
663 nsp = (struct nsr_desc *)&buf[4096]; in volseqinit()
[all …]
/titanic_41/usr/src/uts/sun4u/starfire/io/
H A Didn_smr.c487 smr_slab_t *nsp = NULL; in smr_slab_free() local
506 for (; sp; sp = nsp) { in smr_slab_free()
507 nsp = sp->sl_next; in smr_slab_free()
517 for (; sp; sp = nsp) { in smr_slab_free()
518 nsp = sp->sl_next; in smr_slab_free()
542 smr_slab_t *nsp; in smr_slab_garbage_collection() local
552 for (; sp; sp = nsp) { in smr_slab_garbage_collection()
553 nsp = sp->sl_next; in smr_slab_garbage_collection()
1844 smr_slab_t *nsp; in smr_slab_reserve() local
1857 nsp = GETSTRUCT(smr_slab_t, 1); in smr_slab_reserve()
[all …]
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_mbox.c2399 emlxs_mb_check_sparm(emlxs_hba_t *hba, SERV_PARM *nsp) in emlxs_mb_check_sparm() argument
2404 if (nsp->cmn.fPort) { in emlxs_mb_check_sparm()
2409 iptr = (uint32_t *)&nsp->portName; in emlxs_mb_check_sparm()
2414 iptr = (uint32_t *)&nsp->nodeName; in emlxs_mb_check_sparm()
2419 if (nsp->cls2.classValid) { in emlxs_mb_check_sparm()
2421 ((nsp->cls2.rcvDataSizeMsb & 0x0f) << 8) | nsp->cls2. in emlxs_mb_check_sparm()
2427 nsp->cls2.rcvDataSizeMsb = nsp->cmn.bbRcvSizeMsb; in emlxs_mb_check_sparm()
2428 nsp->cls2.rcvDataSizeLsb = nsp->cmn.bbRcvSizeLsb; in emlxs_mb_check_sparm()
2433 if (nsp->cls3.classValid) { in emlxs_mb_check_sparm()
2435 ((nsp->cls3.rcvDataSizeMsb & 0x0f) << 8) | nsp->cls3. in emlxs_mb_check_sparm()
[all …]
/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_asconf.c1546 sctp_saddr_ipif_t *nsp; in sctp_del_ip() local
1619 nsp = sctp_saddr_lookup(sctp, &addr, ifindex); in sctp_del_ip()
1620 if (nsp == NULL) { in sctp_del_ip()
1634 nsp->saddr_ipif_delete_pending = 1; in sctp_del_ip()
1635 nsp->saddr_ipif_dontsrc = 1; in sctp_del_ip()
1706 nsp = sctp_saddr_lookup(sctp, &addr, ifindex); in sctp_del_ip()
1707 ASSERT(nsp != NULL); in sctp_del_ip()
1708 nsp->saddr_ipif_delete_pending = 0; in sctp_del_ip()
1709 nsp->saddr_ipif_dontsrc = 0; in sctp_del_ip()
/titanic_41/usr/src/cmd/fm/modules/common/ext-event-transport/
H A Dfmevt_inbound.c146 fmevt_rs_burst(fmd_hdl_t *hdl, char *ruleset, char **nsp, char **subsysp, in fmevt_rs_burst() argument
176 if (nsp) in fmevt_rs_burst()
177 *nsp = ns; /* caller must free if alloc == B_TRUE */ in fmevt_rs_burst()
/titanic_41/usr/src/lib/libdtrace/common/
H A Ddt_decl.c1086 dt_scope_t *nsp; in dt_scope_destroy() local
1088 for (; dsp != NULL; dsp = nsp) { in dt_scope_destroy()
1091 nsp = dsp->ds_next; in dt_scope_destroy()
/titanic_41/usr/src/uts/common/fs/
H A Dfem.c3190 struct fem_list *nsp; /* New fem_list being cloned */ in fem_remove_node() local
3194 nsp = femlist_create(sp->feml_ssize); in fem_remove_node()
3202 fem_dup_list(sp, nsp); in fem_remove_node()
3203 error = remove_node(nsp, baseops, opset, datap); in fem_remove_node()
3205 fem_release(nsp); in fem_remove_node()
3206 } else if (nsp->feml_tos == 1) { in fem_remove_node()
3208 fem_release(nsp); in fem_remove_node()
3211 fh->femh_list = nsp; in fem_remove_node()
3216 fem_release(nsp); in fem_remove_node()
/titanic_41/usr/src/uts/sun/io/
H A Dzs_async.c140 #define ztdelay(nsp) (zsdelay[(nsp)]*(hz/100)) argument
/titanic_41/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_extern.h529 SERV_PARM *nsp);
/titanic_41/usr/src/uts/sun/io/scsi/adapters/
H A Dfas.c7979 struct fas_cmd *sp, *nsp; in fas_flush_readyQ() local
7992 nsp = sp->cmd_forw; in fas_flush_readyQ()
7997 sp = nsp; in fas_flush_readyQ()