Home
last modified time | relevance | path

Searched refs:mtype (Results 1 – 25 of 66) sorted by relevance

123

/titanic_41/usr/src/uts/sun4v/sys/
H A Dvio_common.h52 #define VIO_DRING_ACQUIRE(otd, mtype, handle, start, stop) \ argument
53 ((mtype) == LDC_DIRECT_MAP ? \
57 #define VIO_DRING_ACQUIRE_NOCOPYIN(otd, mtype) \ argument
58 ((mtype) == LDC_DIRECT_MAP ? \
61 #define VIO_DRING_RELEASE(mtype, handle, start, stop) \ argument
62 ((mtype) == LDC_DIRECT_MAP ? \
66 #define VIO_DRING_RELEASE_NOCOPYOUT(mtype) \ argument
67 ((mtype) == LDC_DIRECT_MAP ? \
H A Dldc.h153 uint8_t mtype; /* map type */ member
187 uint8_t mtype, uint8_t perm, ldc_mem_cookie_t *cookie, uint32_t *ccount);
196 uint32_t ccount, uint8_t mtype, uint8_t perm, caddr_t *vaddr,
206 uint8_t mtype, uint8_t perm, ldc_mem_cookie_t *dcookie, uint32_t *ccount);
212 uint32_t ccount, uint32_t len, uint32_t dsize, uint8_t mtype,
H A Dvnet_common.h141 uint8_t mtype, ldc_dring_handle_t handle, uint64_t start, uint64_t stop);
142 int vnet_dring_entry_set_dstate(vnet_public_desc_t *descp, uint8_t mtype,
/titanic_41/usr/src/uts/sun4/vm/
H A Dvm_dep.h54 #define MTYPE_INIT(mtype, vp, vaddr, flags, pgsz) \ argument
55 mtype = (flags & PG_NORELOC) ? MTYPE_NORELOC : MTYPE_RELOC;
58 #define MTYPE_PGR_INIT(mtype, flags, pp, mnode, pgcnt) \ argument
59 mtype = (flags & PG_NORELOC) ? MTYPE_NORELOC : MTYPE_RELOC;
61 #define MNODETYPE_2_PFN(mnode, mtype, pfnlo, pfnhi) \ argument
71 #define MTYPE_2_MRANGE(mnode, mtype) (mtype) argument
90 #define PAGE_FREELISTS(mnode, szc, color, mtype) \ argument
91 (*(page_freelists[szc][mtype][mnode] + (color)))
93 #define PAGE_CACHELISTS(mnode, color, mtype) \ argument
94 (*(page_cachelists[mtype][mnode] + (color)))
[all …]
H A Dvm_dep.c801 int mnode, mtype; in alloc_page_freelists() local
807 for (mtype = 0; mtype < MAX_MEM_TYPES; mtype++) { in alloc_page_freelists()
808 page_cachelists[mtype] = (page_t ***)alloc_base; in alloc_page_freelists()
811 page_cachelists[mtype][mnode] = (page_t **)alloc_base; in alloc_page_freelists()
823 for (mtype = 0; mtype < MAX_MEM_TYPES; mtype++) { in alloc_page_freelists()
824 page_freelists[szc][mtype] = (page_t ***)alloc_base; in alloc_page_freelists()
827 page_freelists[szc][mtype][mnode] = in alloc_page_freelists()
/titanic_41/usr/src/lib/libvolmgt/common/
H A Dvolmgt_on_private.c138 char *mtype = NULL; /* media type */ in _dev_unmount() local
177 media_info_gotten = get_media_info(bn, &mtype, &mnum, &spcl); in _dev_unmount()
179 ret_val = call_unmount_prog(media_info_gotten, use_rmm, mtype, in _dev_unmount()
186 if (get_media_info(bn, &mtype, &mnum, &spcl)) { in _dev_unmount()
212 mtype, mnum, spcl, bn); in _dev_unmount()
227 } while (get_media_info(bn, &mtype, &mnum, &spcl)); in _dev_unmount()
238 if (mtype != NULL) { in _dev_unmount()
239 free(mtype); in _dev_unmount()
448 char *mtype; in get_media_info() local
476 mtype = cp; in get_media_info()
[all …]
/titanic_41/usr/src/uts/i86pc/vm/
H A Dvm_dep.h67 #define PLCNT_INCR(pp, mnode, mtype, szc, flags) \ argument
68 plcnt_inc_dec(pp, mtype, szc, 1l << PAGE_BSZS_SHIFT(szc), flags)
69 #define PLCNT_DECR(pp, mnode, mtype, szc, flags) \ argument
70 plcnt_inc_dec(pp, mtype, szc, -1l << PAGE_BSZS_SHIFT(szc), flags)
105 #define MTYPE_2_MRANGE(mnode, mtype) \ argument
106 (mnode_maxmrange[mnode] - mtype_2_mrange(mtype))
117 #define PAGE_FREELISTS(mnode, szc, color, mtype) \ argument
118 (*(page_freelists[mtype][szc] + (color)))
128 #define PAGE_CACHELISTS(mnode, color, mtype) \ argument
129 (*(page_cachelists[mtype] + (color)))
[all …]
H A Dvm_machdep.c164 #define MEMRANGEHI(mtype) \ argument
165 ((mtype > 0) ? memranges[mtype - 1] - 1: physmax)
166 #define MEMRANGELO(mtype) (memranges[mtype]) argument
1450 int mtype = mtypetop; in mtype_init() local
1464 mtype = mtype4g; in mtype_init()
1474 return (mtype); in mtype_init()
1490 return (mtype); in mtype_init()
1499 int mtype = mtypetop; in mtype_pgr_init() local
1508 return (mtype); in mtype_pgr_init()
1519 mtype_func(int mnode, int mtype, uint_t flags) in mtype_func() argument
[all …]
/titanic_41/usr/src/lib/libsmbfs/smb/
H A Dnb_ssn.c70 int mtype, int mlen) in nb_ssn_send() argument
84 hdr = (mtype << 24) | mlen; in nb_ssn_send()
121 int err, mtype, mlen; in smb_ssn_recv() local
122 err = nb_ssn_recv(ctx, mbp, &mtype, &mlen); in smb_ssn_recv()
125 if (mtype != NB_SSN_MESSAGE) { in smb_ssn_recv()
126 DPRINT("discard type 0x%x", mtype); in smb_ssn_recv()
145 int *mtype, int *mlen) in nb_ssn_recv() argument
178 *mtype = (hdr >> 24) & 0xff; in nb_ssn_recv()
277 int err, mtype, mlen; in nb_ssn_request() local
318 err = nb_ssn_recv(ctx, &res, &mtype, &mlen); in nb_ssn_request()
[all …]
/titanic_41/usr/src/uts/common/vm/
H A Dvm_pagelist.c807 page_ctr_add_internal(int mnode, int mtype, page_t *pp, int flags) in page_ctr_add_internal() argument
815 ASSERT(mtype == PP_2_MTYPE(pp)); in page_ctr_add_internal()
819 PLCNT_INCR(pp, mnode, mtype, pp->p_szc, flags); in page_ctr_add_internal()
856 page_ctr_add(int mnode, int mtype, page_t *pp, int flags) in page_ctr_add() argument
862 page_ctr_add_internal(mnode, mtype, pp, flags); in page_ctr_add()
867 page_ctr_sub_internal(int mnode, int mtype, page_t *pp, int flags) in page_ctr_sub_internal() argument
875 ASSERT(mtype == PP_2_MTYPE(pp)); in page_ctr_sub_internal()
879 PLCNT_DECR(pp, mnode, mtype, pp->p_szc, flags); in page_ctr_sub_internal()
919 page_ctr_sub(int mnode, int mtype, page_t *pp, int flags) in page_ctr_sub() argument
925 page_ctr_sub_internal(mnode, mtype, pp, flags); in page_ctr_sub()
[all …]
/titanic_41/usr/src/uts/sun4v/io/
H A Dvnet_common.c187 uint8_t mtype, ldc_dring_handle_t handle, uint64_t start, uint64_t stop) in vnet_dring_entry_copy() argument
192 if ((rv = VIO_DRING_ACQUIRE(&otd, mtype, handle, start, stop)) != 0) in vnet_dring_entry_copy()
197 rv = VIO_DRING_RELEASE_NOCOPYOUT(mtype); in vnet_dring_entry_copy()
203 vnet_dring_entry_set_dstate(vnet_public_desc_t *descp, uint8_t mtype, in vnet_dring_entry_set_dstate() argument
209 rv = VIO_DRING_ACQUIRE_NOCOPYIN(&otd, mtype); in vnet_dring_entry_set_dstate()
215 rv = VIO_DRING_RELEASE(mtype, handle, start, stop); in vnet_dring_entry_set_dstate()
H A Dldc_shm.c73 uint32_t ccount, uint8_t mtype, uint8_t perm, caddr_t *vaddr,
76 size_t len, uint8_t mtype, uint8_t perm, ldc_mem_cookie_t *cookie,
331 uint8_t mtype, uint8_t perm, ldc_mem_cookie_t *cookie, uint32_t *ccount) in ldc_mem_bind_handle() argument
338 mtype = LDC_SHADOW_MAP; in ldc_mem_bind_handle()
340 return (i_ldc_mem_bind_handle(mhandle, vaddr, len, mtype, perm, in ldc_mem_bind_handle()
346 uint8_t mtype, uint8_t perm, ldc_mem_cookie_t *cookie, uint32_t *ccount) in i_ldc_mem_bind_handle() argument
523 if (mtype & LDC_DIRECT_MAP) { in i_ldc_mem_bind_handle()
529 if (mtype & LDC_SHADOW_MAP) { in i_ldc_mem_bind_handle()
534 if (mtype & LDC_IO_MAP) { in i_ldc_mem_bind_handle()
641 mhdl->mtype = mtype; in i_ldc_mem_bind_handle()
[all …]
/titanic_41/usr/src/lib/libc/port/threads/
H A Dsynch.c985 int mtype = mp->mutex_type; in mutex_lock_kernel() local
1015 if (mtype & USYNC_PROCESS) { in mutex_lock_kernel()
1059 int mtype = mp->mutex_type; in mutex_trylock_kernel() local
1074 if (mtype & USYNC_PROCESS) { in mutex_trylock_kernel()
1898 mutex_recursion(mutex_t *mp, int mtype, int try) in mutex_recursion() argument
1901 ASSERT(mtype & (LOCK_RECURSIVE|LOCK_ERRORCHECK)); in mutex_recursion()
1904 if (mtype & LOCK_RECURSIVE) { in mutex_recursion()
2047 int mtype = mp->mutex_type; in mutex_lock_internal() local
2063 if ((mtype & (LOCK_RECURSIVE|LOCK_ERRORCHECK)) && mutex_held(mp)) in mutex_lock_internal()
2064 return (mutex_recursion(mp, mtype, try)); in mutex_lock_internal()
[all …]
/titanic_41/usr/src/cmd/lp/cmd/
H A Dlpshut.c66 int mtype; in main() local
105 mtype = getmessage(msgbuf, R_SHUTDOWN, &status); in main()
106 if (mtype != R_SHUTDOWN) { in main()
107 LP_ERRMSG1 (ERROR, E_LP_BADREPLY, mtype); in main()
H A Dlpusers.c57 int mtype, size, c, in main() local
202 mtype = getmessage(reply, R_LOAD_USER_FILE, &status); in main()
203 if (mtype != R_LOAD_USER_FILE) { in main()
204 LP_ERRMSG1 (ERROR, E_LP_BADREPLY, mtype); in main()
H A Dlpfilter.c841 int mtype; in alert_spooler() local
862 mtype = getmessage(msgbuf, R_LOAD_FILTER_TABLE, &status); in alert_spooler()
863 if (mtype != R_LOAD_FILTER_TABLE) { in alert_spooler()
864 LP_ERRMSG1 (ERROR, E_LP_BADREPLY, mtype); in alert_spooler()
H A Dlpforms.c1175 int mtype; local
1207 mtype = getmessage(msgbuf, R_QUIET_ALERT, &status);
1210 if (mtype != R_QUIET_ALERT) {
1304 int mtype; local
1335 mtype = getmessage(msgbuf, replymsg, &status);
1337 if (mtype != replymsg) {
/titanic_41/usr/src/uts/common/io/mac/
H A Dmac_protect.c565 uint8_t opt_len, mtype, cid[DHCP_MAX_OPT_SIZE], cid_len; in intercept_dhcpv4_outbound() local
581 mtype = *opt; in intercept_dhcpv4_outbound()
582 if (mtype != REQUEST && mtype != RELEASE) { in intercept_dhcpv4_outbound()
584 struct dhcp *, dh4, uint8_t, mtype); in intercept_dhcpv4_outbound()
599 if (mtype == RELEASE) { in intercept_dhcpv4_outbound()
662 uint8_t opt_len, mtype; in intercept_dhcpv4_inbound() local
673 mtype = *opt; in intercept_dhcpv4_inbound()
674 if (mtype != ACK && mtype != NAK) { in intercept_dhcpv4_inbound()
676 struct dhcp *, dh4, uint8_t, mtype); in intercept_dhcpv4_inbound()
700 if (mtype == NAK) { in intercept_dhcpv4_inbound()
[all …]
/titanic_41/usr/src/uts/sun4u/starfire/os/
H A Dstarfire.c274 int mtype; in plat_freelist_process() local
277 for (mtype = 0; mtype < MAX_MEM_TYPES; mtype++) { in plat_freelist_process()
299 color, mtype); in plat_freelist_process()
/titanic_41/usr/src/lib/libsmedia/plugins/blkdev/common/
H A Db_generic.c66 _m_device_type(ushort_t ctype, ushort_t mtype) in _m_device_type() argument
69 if (mtype == 0) in _m_device_type()
/titanic_41/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsubr_mchain.c585 int mtype, error; in mb_put_uio() local
587 mtype = (uio_isuserspace(uiop) ? MB_MUSER : MB_MSYSTEM); in mb_put_uio()
596 uio_curriovbase(uiop)), left, mtype); in mb_put_uio()
910 int mtype, error; in md_get_uio() local
912 mtype = (uio_isuserspace(uiop) ? MB_MUSER : MB_MSYSTEM); in md_get_uio()
921 uio_curriovbase(uiop)), left, mtype); in md_get_uio()
/titanic_41/usr/src/cmd/lp/model/
H A Dlp.tell.c149 int mtype, in main() local
424 mtype = getmessage(msgbuf, mesgRetType, &status); in main()
429 if ((mtype != mesgRetType) && in main()
/titanic_41/usr/src/lib/libbc/inc/include/sys/
H A Dmsg.h72 long mtype; /* message type */ member
/titanic_41/usr/src/lib/libdiskmgt/common/
H A Dmedia.c319 int mtype; in apply_filter() local
323 mtype = get_media_type(minfo.dki_media_type); in apply_filter()
327 if (mtype == filter[j]) { in apply_filter()
/titanic_41/usr/src/cmd/ipcs/
H A Dipcs.c77 static long mtype; /* -D: user-supplied message type */ variable
147 mtype = strtol(optarg, &endptr, 0); in main()
478 if (msgsnap(msqid, buf, bufsize, mtype) != 0) { in dumpmsgq()

123