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

/illumos-gate/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)
250 natstat_t *nsp;
[all...]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dns_generic.c75 struct ns_info *nsp; local
77 for (nsp = ns_info; nsp->ns_name; nsp++) {
78 nsp->ns_init(stack, stkptr);
90 struct ns_info *nsp; local
112 for (nsp = ns_info; nsp->ns_name; nsp++) {
113 if (strcmp(lkp->service_name, nsp
137 struct ns_info *nsp; local
165 struct ns_info *nsp; local
186 struct ns_info *nsp; local
287 struct ns_info *nsp; local
[all...]
/illumos-gate/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
[all...]
/illumos-gate/usr/src/ucblib/libcurses/
H A Drefresh.c156 char *nsp, *csp, *ce; local
177 nsp = &win->_y[wy][wx];
191 if (*nsp != *csp) {
198 while (wx <= lch && *nsp != *csp) {
199 if (ce != NULL && wx >= nlsp && *nsp == ' ') {
229 if (SO && (*nsp&_STANDOUT) !=
231 if (*nsp & _STANDOUT) {
250 (void) _putchar((*csp = *nsp) &
253 (void) _putchar(*nsp & 0177);
270 (void) _putchar((*csp++ = *nsp)
[all...]
/illumos-gate/usr/src/cmd/auditreduce/
H A Dmain.c176 * .call ret = mfork(pcb, nsp, lo, hi).
178 * .arg nsp - number of sub-processes this tree must process.
185 mfork(audit_pcb_t *pcb, int nsp, int lo, int hi) argument
192 (void) fprintf(stderr, "mfork: nsp %d %d->%d\n", nsp, lo, hi);
198 if (nsp <= max_sproc) {
215 if (nsp <= max_sproc * (max_sproc - 1)) {
216 tofork = nsp / max_sproc;
217 if (nsp % max_sproc)
231 nnsp = nsp / tofor
563 mcount(int nsp, int lo) argument
[all...]
/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_impl.c2184 struct nlm_shres *nsp, *nsp_new; local
2194 for (nsp = hostp->nh_shrlist; nsp != NULL; nsp = nsp->ns_next)
2195 if (nsp->ns_vp == vp && nlm_shres_equal(shrp, nsp->ns_shr))
2198 if (nsp != NULL) {
2206 nsp = nsp_new;
2208 nsp
2220 struct nlm_shres *nsp, *nsp_prev = NULL; local
2255 struct nlm_shres *nsp, *nslist = NULL; local
2277 struct nlm_shres *nsp; local
2303 struct nlm_shres *nsp; local
2316 nlm_shres_destroy_item(struct nlm_shres *nsp) argument
[all...]
H A Dnlm_client.c148 struct nlm_shres *nsp_head, *nsp; local
220 nsp_head = nsp = nlm_get_active_shres(hostp);
221 while (nsp != NULL) {
222 error = nlm_reclaim_share(hostp, nsp->ns_vp,
223 nsp->ns_shr, state);
226 nsp = nsp->ns_next;
232 nlm_shres_untrack(hostp, nsp->ns_vp,
233 nsp->ns_shr);
234 nlm_local_shrcancel(nsp
472 struct nlm_shres *nsp_head, *nsp; local
[all...]
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_string.c150 inj_strtime(hrtime_t *nsp, const char *units) argument
174 hrtime_t val = *nsp, mul = 1;
193 *nsp = val;
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_scheme.c353 fmd_scheme_t *sp, *nsp = NULL; local
366 nsp = fmd_scheme_create(name);
370 nsp->sch_next = shp->sch_hash[h];
371 shp->sch_hash[h] = sp = nsp;
373 fmd_scheme_hash_release(shp, nsp);
374 nsp = NULL;
390 if (nsp != NULL) {
/illumos-gate/usr/src/cmd/fm/fmstat/common/
H A Dfmstat.c260 fmd_stat_t *tsp, *nsp, *sp; local
273 for (nsp = ams->ams_buf; nsp < ams->ams_buf + ams->ams_len; nsp++) {
275 const char *p = strrchr(nsp->fmds_name, '.');
285 strncmp(nsp->fmds_name, "fmd.", 4) != 0)
288 if (tsp->fmds_type != nsp->fmds_type) {
290 nsp->fmds_name, tsp->fmds_type,
291 nsp->fmds_type);
294 sp->fmds_value = nsp
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dnetstack.c316 netstack_t **nsp; local
337 for (nsp = &netstack_head; *nsp != NULL;
338 nsp = &((*nsp)->netstack_next)) {
339 if ((*nsp)->netstack_stackid == stackid) {
345 ns = *nsp;
365 *nsp = ns;
1067 netstack_t **nsp; local
1100 for (nsp
[all...]
H A Dsunmdi.c6076 struct pi_errs *nsp; local
6096 nsp = (struct pi_errs *)kerrsp->ks_data;
6097 kstat_named_init(&nsp->pi_softerrs, "Soft Errors", KSTAT_DATA_UINT32);
6098 kstat_named_init(&nsp->pi_harderrs, "Hard Errors", KSTAT_DATA_UINT32);
6099 kstat_named_init(&nsp->pi_transerrs, "Transport Errors",
6101 kstat_named_init(&nsp->pi_icnt_busy, "Interconnect Busy",
6103 kstat_named_init(&nsp->pi_icnt_errors, "Interconnect Errors",
6105 kstat_named_init(&nsp->pi_phci_rsrc, "pHCI No Resources",
6107 kstat_named_init(&nsp->pi_phci_localerr, "pHCI Local Errors",
6109 kstat_named_init(&nsp
[all...]
/illumos-gate/usr/src/uts/sun4u/starfire/io/
H A Didn_smr.c487 smr_slab_t *nsp = NULL; local
506 for (; sp; sp = nsp) {
507 nsp = sp->sl_next;
517 for (; sp; sp = nsp) {
518 nsp = sp->sl_next;
542 smr_slab_t *nsp; local
552 for (; sp; sp = nsp) {
553 nsp = sp->sl_next;
1844 smr_slab_t *nsp; local
1857 nsp
[all...]
/illumos-gate/usr/src/uts/common/fs/specfs/
H A Dspecsubr.c119 struct snode *nsp; local
137 nsp = kmem_cache_alloc(snode_cache, KM_SLEEP);
152 sp = nsp; /* Use pre-allocated snode */
205 kmem_cache_free(snode_cache, nsp);
534 struct snode *nsp, /* pre-allocated snode */
535 int *used_nsp) /* flag indicating if we use nsp */
542 sp = nsp; /* Use pre-allocated snode */
581 struct snode *sp, *nsp; local
585 nsp = kmem_cache_alloc(snode_cache, KM_SLEEP);
589 sp = nsp; /* Us
531 get_cvp( dev_t dev, vtype_t type, struct snode *nsp, int *used_nsp) argument
[all...]
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/
H A Dmkfs.c608 struct nsr_desc *nsp; local
653 nsp = (struct nsr_desc *)buf;
654 nsp->nsr_str_type = 0;
655 nsp->nsr_ver = 1;
656 (void) strncpy((int8_t *)nsp->nsr_id, "BEA01", 5);
658 nsp = (struct nsr_desc *)&buf[2048];
659 nsp->nsr_str_type = 0;
660 nsp->nsr_ver = 1;
661 (void) strncpy((int8_t *)nsp->nsr_id, "NSR02", 5);
663 nsp
[all...]
/illumos-gate/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, argument
176 if (nsp)
177 *nsp = ns; /* caller must free if alloc == B_TRUE */
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_asconf.c1546 sctp_saddr_ipif_t *nsp; local
1619 nsp = sctp_saddr_lookup(sctp, &addr, ifindex);
1620 if (nsp == NULL) {
1634 nsp->saddr_ipif_delete_pending = 1;
1635 nsp->saddr_ipif_dontsrc = 1;
1706 nsp = sctp_saddr_lookup(sctp, &addr, ifindex);
1707 ASSERT(nsp != NULL);
1708 nsp->saddr_ipif_delete_pending = 0;
1709 nsp->saddr_ipif_dontsrc = 0;
/illumos-gate/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) argument
2404 if (nsp->cmn.fPort) {
2409 iptr = (uint32_t *)&nsp->portName;
2414 iptr = (uint32_t *)&nsp->nodeName;
2419 if (nsp->cls2.classValid) {
2421 ((nsp->cls2.rcvDataSizeMsb & 0x0f) << 8) | nsp->cls2.
2427 nsp->cls2.rcvDataSizeMsb = nsp->cmn.bbRcvSizeMsb;
2428 nsp
[all...]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_decl.c1086 dt_scope_t *nsp; local
1088 for (; dsp != NULL; dsp = nsp) {
1091 nsp = dsp->ds_next;
/illumos-gate/usr/src/uts/common/fs/
H A Dfem.c3190 struct fem_list *nsp; /* New fem_list being cloned */ local
3194 nsp = femlist_create(sp->feml_ssize);
3202 fem_dup_list(sp, nsp);
3203 error = remove_node(nsp, baseops, opset, datap);
3205 fem_release(nsp);
3206 } else if (nsp->feml_tos == 1) {
3208 fem_release(nsp);
3211 fh->femh_list = nsp;
3216 fem_release(nsp);
/illumos-gate/usr/src/uts/sun/io/
H A Dzs_async.c140 #define ztdelay(nsp) (zsdelay[(nsp)]*(hz/100))
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_extern.h529 SERV_PARM *nsp);
/illumos-gate/usr/src/uts/sun/io/scsi/adapters/
H A Dfas.c7979 struct fas_cmd *sp, *nsp; local
7992 nsp = sp->cmd_forw;
7997 sp = nsp;

Completed in 197 milliseconds