Home
last modified time | relevance | path

Searched refs:mn (Results 1 – 25 of 49) sorted by relevance

12

/illumos-gate/usr/src/boot/libsa/
H A Dzalloc.c92 MemNode *mn; in znalloc() local
112 for (pmn = &mp->mp_First; (mn = *pmn) != NULL; pmn = &mn->mr_Next) { in znalloc()
152 mn = (MemNode *)((char *)mn + bytes); in znalloc()
155 *pmn = mn; in znalloc()
176 MemNode *mn; in zfree() local
201 for (pmn = &mp->mp_First; (mn = *pmn) != NULL; pmn = &mn->mr_Next) { in zfree()
247 if ((char *)ptr < (char *)mn + mn->mr_Bytes) { in zfree()
312 MemNode *mn; in zallocstats() local
323 if ((char *)mn + mn->mr_Bytes != mp->mp_End) { in zallocstats()
329 ((char *)mn + mn->mr_Bytes); in zallocstats()
[all …]
/illumos-gate/usr/src/cmd/devfsadm/
H A Daudio_link.c153 char *mn; in sndstat_process() local
155 mn = di_minor_name(minor); in sndstat_process()
181 char *mn; in audio_process() local
198 mn = di_minor_name(minor); in audio_process()
214 mn = base; in audio_process()
220 driver = mn; in audio_process()
222 mn = tmp + 1; in audio_process()
227 mn += sizeof ("audio") - 1; in audio_process()
231 for (i = strlen(mn); i; i--) { in audio_process()
232 if (!isdigit(mn[i - 1])) in audio_process()
[all …]
H A Dtape_link.c67 char *mn; in tape_process() local
71 mn = di_minor_name(minor); in tape_process()
74 if ((mn != NULL) && (*mn >= '0') && (*mn <= '9')) { in tape_process()
86 (void) strcat(l_path, mn); in tape_process()
100 (void) strcat(l_path, mn); in tape_process()
H A Ddisk_link.c512 char *mn; in disk_common() local
523 mn = di_minor_name(minor); in disk_common()
524 if (strstr(mn, ",raw")) { in disk_common()
527 (void) strncpy(mn_copy, mn, 4); in disk_common()
533 part = mn; in disk_common()
558 if (mn[0] < 'q') { in disk_common()
599 if (*mn == *(MN_SMI) || (strncmp(mn, MN_EFI, 2) == 0)) { in disk_common()
659 char *buf, *mn; in diskctrl() local
668 mn = di_minor_name(minor); in diskctrl()
675 (void) strcat(path, mn); in diskctrl()
[all …]
H A Dmisc_link.c268 char *mn = di_minor_name(minor); in display() local
272 (void) strcat(l_path, mn); in display()
398 char *mn = di_minor_name(minor); in minor_name() local
401 if (strcmp(mn, "icmp") == 0) { in minor_name()
404 if (strcmp(mn, "icmp6") == 0) { in minor_name()
407 if (strcmp(mn, "ipf") == 0) { in minor_name()
486 char *mn; in printer_create() local
490 mn = di_minor_name(minor); in printer_create()
526 char *mn; in se_hdlc_create() local
528 mn = di_minor_name(minor); in se_hdlc_create()
[all …]
H A Dfssnap_link.c59 char mn[MAXNAMELEN + 1]; in fssnap() local
64 (void) strcpy(mn, di_minor_name(minor)); in fssnap()
66 if (strcmp(mn, "ctl") == 0) { in fssnap()
75 if (strcmp(mn, blkname) == 0) { in fssnap()
78 } else if (strcmp(mn, rawname) == 0) { in fssnap()
H A Dlofi_link.c82 char mn[MAXNAMELEN + 1]; in lofi() local
85 (void) strcpy(mn, di_minor_name(minor)); in lofi()
87 if (strcmp(mn, "ctl") == 0) { in lofi()
92 if (strcmp(mn, LOFI_BLOCK_NODE) == 0) { in lofi()
95 } else if (strcmp(mn, LOFI_CHAR_NODE) == 0) { in lofi()
H A Dzfs_link.c56 char mn[MAXNAMELEN + 1]; in zfs() local
58 (void) strcpy(mn, di_minor_name(minor)); in zfs()
60 if (strcmp(mn, ZFS_DRIVER) == 0) { in zfs()
H A Dsmp_link.c69 char *mn; in smp_callback() local
73 mn = di_minor_name(minor); in smp_callback()
79 (void) strcat(l_path, mn); in smp_callback()
H A Dport_link.c321 char *devfspath, *buf, *mn; in dialout_create() local
329 if ((mn = di_minor_name(minor)) == NULL) { in dialout_create()
336 if (!is_dialout(mn)) { in dialout_create()
338 modname, devfspath, mn); in dialout_create()
345 (void) strcat(p_path, mn); in dialout_create()
526 char *devfspath, *buf, *mn; in onbrd_dialout_create() local
534 if ((mn = di_minor_name(minor)) == NULL) { in onbrd_dialout_create()
544 if (!is_dialout(mn)) { in onbrd_dialout_create()
546 modname, devfspath, mn); in onbrd_dialout_create()
553 (void) strcat(p_path, mn); in onbrd_dialout_create()
[all …]
H A Dsgen_link.c189 char *buf, *mn; in find_ctrlr() local
198 mn = di_minor_name(minor); in find_ctrlr()
205 (void) strcat(path, mn); in find_ctrlr()
/illumos-gate/usr/src/cmd/fm/schemes/mem/sparc/
H A Dmem_disc.c432 mem_name_t mn; in mem_get_serids_from_kernel() local
446 bzero(&mn, sizeof (mn)); in mem_get_serids_from_kernel()
450 mn.m_sidlen = MEM_SERID_MAXLEN; in mem_get_serids_from_kernel()
452 mn.m_name = fmd_fmri_alloc(mn.m_namelen); in mem_get_serids_from_kernel()
453 mn.m_sid = fmd_fmri_alloc(mn.m_sidlen); in mem_get_serids_from_kernel()
455 (void) strcpy(mn.m_name, dimms[i]); in mem_get_serids_from_kernel()
458 rc = ioctl(fd, MEM_SID, &mn); in mem_get_serids_from_kernel()
495 fmd_fmri_free(mn.m_name, mn.m_namelen); in mem_get_serids_from_kernel()
496 fmd_fmri_free(mn.m_sid, mn.m_sidlen); in mem_get_serids_from_kernel()
505 fmd_fmri_free(mn.m_name, mn.m_namelen); in mem_get_serids_from_kernel()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_mem.c197 mem_name_t mn; in cmd_mem_fmri_derive() local
204 mn.m_addr = afar; in cmd_mem_fmri_derive()
205 mn.m_synd = synd; in cmd_mem_fmri_derive()
206 mn.m_type[0] = afsr; in cmd_mem_fmri_derive()
207 mn.m_type[1] = 0; in cmd_mem_fmri_derive()
208 mn.m_namelen = 100; in cmd_mem_fmri_derive()
211 mn.m_name = fmd_hdl_alloc(hdl, mn.m_namelen, FMD_SLEEP); in cmd_mem_fmri_derive()
213 if (ioctl(fd, MEM_NAME, &mn) == 0) in cmd_mem_fmri_derive()
216 fmd_hdl_free(hdl, mn.m_name, mn.m_namelen); in cmd_mem_fmri_derive()
223 mn.m_namelen *= 2; in cmd_mem_fmri_derive()
[all …]
/illumos-gate/usr/src/cmd/devfsadm/i386/
H A Dmisc_link_i386.c175 char *mn = di_minor_name(minor); in diskette() local
181 if (strcmp(mn, "c") == 0) { in diskette()
192 if (strcmp(mn, "c") == 0) { in diskette()
265 char *mn = di_minor_name(minor); in serial() local
269 (void) strcat(link, mn); in serial()
272 if (strcmp(mn, "a") == 0) { in serial()
275 } else if (strcmp(mn, "b") == 0) { in serial()
278 } else if (strcmp(mn, "c") == 0) { in serial()
281 } else if (strcmp(mn, "d") == 0) { in serial()
296 char *mn = di_minor_name(minor); in serial_dialout() local
[all …]
/illumos-gate/usr/src/uts/sun4/vm/
H A Dvm_dep.h365 int mn, mt, szc, colors; \
368 for (mn = 0; mn < max_mem_nodes; mn++) { \
370 plcnt[mn][mt].plc_mts[szc]. \
372 plcnt[mn][mt].plc_mts[szc]. \
430 int mn = PP_2_MEM_NODE(pp); \
501 #define MNODE_PGCNT(mn) \ argument
502 (plcnt[mn][MTYPE_RELOC].plc_mt_clpgcnt + \
509 #define MNODETYPE_PGCNT(mn, mtype) \ argument
510 (plcnt[mn][mtype].plc_mt_clpgcnt + \
511 plcnt[mn][mtype].plc_mt_flpgcnt + \
[all …]
/illumos-gate/usr/src/cmd/devfsadm/sparc/
H A Dmisc_link_sparc.c87 char *mn = di_minor_name(minor); in ddi_other() local
93 (void) strcat(path, mn); in ddi_other()
107 char *mn = di_minor_name(minor); in diskette() local
112 if (strcmp(mn, "c") == 0) { in diskette()
116 } else if (strcmp(mn, "c,raw") == 0) { in diskette()
206 char *mn; in starcat_sbbc_node() local
209 mn = di_minor_name(minor); in starcat_sbbc_node()
210 (void) devfsadm_mklink(mn, node, minor, 0); in starcat_sbbc_node()
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dmbuf.c230 struct mbuf *m, *mn; in mb_fit() local
235 if ((error = m_get(size, &mn)) != 0) in mb_fit()
237 mbp->mb_pos = mtod(mn, char *); in mb_fit()
238 mbp->mb_cur = m->m_next = mn; in mb_fit()
239 m = mn; in mb_fit()
/illumos-gate/usr/src/uts/i86pc/cpu/generic_cpu/
H A Dgcpu_mca.c410 const char *mn[GCPU_CLASS_VARCOMPS]; in gcpu_mn_fmt() local
416 mn[0] = GCPU_MNEMONIC(code, TT, nspace); in gcpu_mn_fmt()
417 mn[1] = GCPU_MNEMONIC(code, LL, nspace); in gcpu_mn_fmt()
418 mn[2] = GCPU_MNEMONIC(code, RRRR, nspace); in gcpu_mn_fmt()
419 mn[3] = GCPU_MNEMONIC(code, PP, nspace); in gcpu_mn_fmt()
420 mn[4] = GCPU_MNEMONIC(code, II, nspace); in gcpu_mn_fmt()
421 mn[5] = GCPU_MNEMONIC(code, T, nspace); in gcpu_mn_fmt()
422 mn[6] = (status & MSR_MC_STATUS_UC) ? "_uc" : ""; in gcpu_mn_fmt()
423 mn[7] = GCPU_MNEMONIC(code, CCCC, nspace); in gcpu_mn_fmt()
424 mn[8] = GCPU_MNEMONIC(code, MMM, nspace); in gcpu_mn_fmt()
[all …]
/illumos-gate/usr/src/cmd/vtfontcvt/
H A Dvtfontcvt.c620 struct mapping *mn, *mp, *mbase; in fold_mappings() local
623 for (mp = mbase = TAILQ_FIRST(ml); mp != NULL; mp = mn) { in fold_mappings()
624 mn = TAILQ_NEXT(mp, m_list); in fold_mappings()
625 if (mn != NULL && mn->m_char == mp->m_char + 1 && in fold_mappings()
626 mn->m_glyph->g_index == mp->m_glyph->g_index + 1) in fold_mappings()
629 mbase = mp = mn; in fold_mappings()
/illumos-gate/usr/src/uts/common/io/
H A Dtclient.c64 #define MINOR_TO_INST(mn) (mn) argument
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Denum-min-size.c23 enum mn { MN = -1LL }; enum
/illumos-gate/usr/src/cmd/zdump/
H A Dzdump.c595 register const char *mn; local
614 mn = "???";
615 else mn = mon_name[timeptr->tm_mon];
617 wn, mn,
/illumos-gate/usr/src/test/util-tests/tests/awk/examples/awk/
H A Dt.stately1 /^(al|ak|az|ar|ca|co|ct|de|fl|ga|hi|io|il|in|ia|ks|ky|la|me|md|ma|mi|mn|ms|mo|mt|nb|nv|nh|nj|nm|ny|…
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dreadcf.c953 char *mn; local
967 sm_free(mn);
1008 mn);
1009 sm_free(mn);
1020 mn);
1033 sm_free(mn);
1050 sm_free(mn);
1066 mn);
1067 sm_free(mn);
1077 mn);
[all …]
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsubr_mchain.c335 mblk_t *m, *mn; in mb_reserve() local
344 mn = m_getblk(size, 1); in mb_reserve()
345 if (mn == NULL) in mb_reserve()
347 mbp->mb_cur = m->b_cont = mn; in mb_reserve()
348 m = mn; in mb_reserve()

12