Home
last modified time | relevance | path

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

123

/illumos-gate/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,
/illumos-gate/usr/src/uts/sun4/vm/
H A Dvm_dep.h55 #define MTYPE_INIT(mtype, vp, vaddr, flags, pgsz) \ argument
56 mtype = (flags & PG_NORELOC) ? MTYPE_NORELOC : MTYPE_RELOC;
59 #define MTYPE_PGR_INIT(mtype, flags, pp, pgcnt) \ argument
60 mtype = (flags & PG_NORELOC) ? MTYPE_NORELOC : MTYPE_RELOC;
62 #define MNODETYPE_2_PFN(mnode, mtype, pfnlo, pfnhi) \ argument
72 #define MTYPE_2_MRANGE(mnode, mtype) (mtype) argument
91 #define PAGE_FREELISTS(mnode, szc, color, mtype) \ argument
92 (*(page_freelists[szc][mtype][mnode] + (color)))
94 #define PAGE_CACHELISTS(mnode, color, mtype) \ argument
95 (*(page_cachelists[mtype][mnode] + (color)))
[all …]
H A Dvm_dep.c740 int mnode, mtype; in alloc_page_freelists() local
746 for (mtype = 0; mtype < MAX_MEM_TYPES; mtype++) { in alloc_page_freelists()
747 page_cachelists[mtype] = (page_t ***)alloc_base; in alloc_page_freelists()
750 page_cachelists[mtype][mnode] = (page_t **)alloc_base; in alloc_page_freelists()
762 for (mtype = 0; mtype < MAX_MEM_TYPES; mtype++) { in alloc_page_freelists()
763 page_freelists[szc][mtype] = (page_t ***)alloc_base; in alloc_page_freelists()
766 page_freelists[szc][mtype][mnode] = in alloc_page_freelists()
/illumos-gate/usr/src/lib/libvolmgt/common/
H A Dvolmgt_on_private.c139 char *mtype = NULL; /* media type */ in _dev_unmount() local
178 media_info_gotten = get_media_info(bn, &mtype, &mnum, &spcl); in _dev_unmount()
180 ret_val = call_unmount_prog(media_info_gotten, use_rmm, mtype, in _dev_unmount()
187 if (get_media_info(bn, &mtype, &mnum, &spcl)) { in _dev_unmount()
213 mtype, mnum, spcl, bn); in _dev_unmount()
228 } while (get_media_info(bn, &mtype, &mnum, &spcl)); in _dev_unmount()
239 if (mtype != NULL) { in _dev_unmount()
240 free(mtype); in _dev_unmount()
449 char *mtype; in get_media_info() local
477 mtype = cp; in get_media_info()
[all …]
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dvm_dep.h68 #define PLCNT_INCR(pp, mnode, mtype, szc, flags) \ argument
69 plcnt_inc_dec(pp, mtype, szc, 1l << PAGE_BSZS_SHIFT(szc), flags)
70 #define PLCNT_DECR(pp, mnode, mtype, szc, flags) \ argument
71 plcnt_inc_dec(pp, mtype, szc, \
107 #define MTYPE_2_MRANGE(mnode, mtype) \ argument
108 (mnode_maxmrange[mnode] - mtype_2_mrange(mtype))
119 #define PAGE_FREELISTS(mnode, szc, color, mtype) \ argument
120 (*(page_freelists[mtype][szc] + (color)))
130 #define PAGE_CACHELISTS(mnode, color, mtype) \ argument
131 (*(page_cachelists[mtype] + (color)))
[all …]
H A Dvm_machdep.c167 #define MEMRANGEHI(mtype) \ argument
168 ((mtype > 0) ? memranges[mtype - 1] - 1: physmax)
169 #define MEMRANGELO(mtype) (memranges[mtype]) argument
1572 int mtype = mtypetop; in mtype_init() local
1587 return (mtype); in mtype_init()
1596 int mtype = mtypetop; in mtype_pgr_init() local
1605 return (mtype); in mtype_pgr_init()
1616 mtype_func(int mnode, int mtype, uint_t flags) in mtype_func() argument
1622 mtype = mnoderanges[mtype].mnr_next; in mtype_func()
1628 while (mtype != -1 && in mtype_func()
[all …]
/illumos-gate/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 …]
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dsynch.c988 int mtype = mp->mutex_type; in mutex_lock_kernel() local
1018 if (mtype & USYNC_PROCESS) { in mutex_lock_kernel()
1062 int mtype = mp->mutex_type; in mutex_trylock_kernel() local
1077 if (mtype & USYNC_PROCESS) { in mutex_trylock_kernel()
1901 mutex_recursion(mutex_t *mp, int mtype, int try) in mutex_recursion() argument
1904 ASSERT(mtype & (LOCK_RECURSIVE|LOCK_ERRORCHECK)); in mutex_recursion()
1907 if (mtype & LOCK_RECURSIVE) { in mutex_recursion()
2050 int mtype = mp->mutex_type; in mutex_lock_internal() local
2066 if ((mtype & (LOCK_RECURSIVE|LOCK_ERRORCHECK)) && mutex_held(mp)) in mutex_lock_internal()
2067 return (mutex_recursion(mp, mtype, try)); in mutex_lock_internal()
[all …]
H A Dc11_thr.c125 int mtype; in mtx_init() local
130 mtype = USYNC_THREAD; in mtx_init()
134 mtype = USYNC_THREAD | LOCK_RECURSIVE; in mtx_init()
144 if (mutex_init((mutex_t *)mtx, mtype, NULL) == 0) in mtx_init()
/illumos-gate/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 …]
/illumos-gate/usr/src/cmd/lp/cmd/
H A Dlpshut.c64 int mtype; in main() local
103 mtype = getmessage(msgbuf, R_SHUTDOWN, &status); in main()
104 if (mtype != R_SHUTDOWN) { in main()
105 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) {
/illumos-gate/usr/src/test/smbclient-tests/include/
H A Dsmbmount_common.ksh86 typeset res on mp tp mtype opts rest
88 while read res on mp tp mtype opts rest
91 if [[ $mtype != smbfs ]] ; then
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_protect.c577 uint8_t opt_len, mtype, cid[DHCP_MAX_OPT_SIZE], cid_len; in intercept_dhcpv4_outbound() local
593 mtype = *opt; in intercept_dhcpv4_outbound()
594 if (mtype != REQUEST && mtype != RELEASE) { in intercept_dhcpv4_outbound()
596 struct dhcp *, dh4, uint8_t, mtype); in intercept_dhcpv4_outbound()
611 if (mtype == RELEASE) { in intercept_dhcpv4_outbound()
674 uint8_t opt_len, mtype; in intercept_dhcpv4_inbound() local
682 mtype = *opt; in intercept_dhcpv4_inbound()
683 if (mtype != ACK && mtype != NAK) { in intercept_dhcpv4_inbound()
685 struct dhcp *, dh4, uint8_t, mtype); in intercept_dhcpv4_inbound()
709 if (mtype == NAK) { in intercept_dhcpv4_inbound()
[all …]
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dcommon.c7 int mtype, u32 maddr, u32 len, in t4_memory_rw() argument
10 return t4_memory_rw_mtype(adap, win, mtype, maddr, len, hbuf, dir); in t4_memory_rw()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsubr_mchain.c629 int mtype, error; in mb_put_uio() local
631 mtype = (uio_isuserspace(uiop) ? MB_MUSER : MB_MSYSTEM); in mb_put_uio()
640 uio_curriovbase(uiop)), left, mtype); in mb_put_uio()
956 int mtype, error; in md_get_uio() local
958 mtype = (uio_isuserspace(uiop) ? MB_MUSER : MB_MSYSTEM); in md_get_uio()
967 uio_curriovbase(uiop)), left, mtype); in md_get_uio()
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_ntlmssp.c129 uint32_t mtype; in smbd_ntlmssp_work() local
137 mtype = letohl(ihdr->h_type); in smbd_ntlmssp_work()
138 if (mtype != be->expect_type) in smbd_ntlmssp_work()
141 switch (mtype) { in smbd_ntlmssp_work()
/illumos-gate/usr/src/cmd/lp/model/
H A Dlp.tell.c147 int mtype, in main() local
422 mtype = getmessage(msgbuf, mesgRetType, &status); in main()
427 if ((mtype != mesgRetType) && in main()
/illumos-gate/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()

123