/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | vio_common.h | 52 #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 D | ldc.h | 153 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 D | vnet_common.h | 141 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 D | vm_dep.h | 72 #define MTYPE_2_MRANGE(mnode, mtype) (mtype) argument 94 #define PAGE_CACHELISTS(mnode, color, mtype) \ argument 95 (*(page_cachelists[mtype][mnode] + (color))) 509 #define MNODETYPE_PGCNT(mn, mtype) \ argument 510 (plcnt[mn][mtype].plc_mt_clpgcnt + \ 512 plcnt[mn][mtype].plc_mt_lgpgcnt) 520 ASSERT(mtype == MTYPE_RELOC || \ 523 MTYPE_NEXT(mnode, mtype, flags); \ 537 mtype = -1; \ 539 mtype = MTYPE_NORELOC; \ [all …]
|
H A D | vm_dep.c | 740 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 D | volmgt_on_private.c | 139 char *mtype = NULL; /* media type */ in _dev_unmount() local 213 mtype, mnum, spcl, bn); 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() 491 mtype_len = strlen(mtype); in get_media_info() 524 *mtypep = strdup(mtype); in get_media_info() 576 mtype ? mtype : "<null ptr>", mnum, spcl ? spcl : "<null ptr>", in call_unmount_prog() 606 "VOLUME_MEDIATYPE=%s", mtype); in call_unmount_prog() [all …]
|
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | vm_dep.h | 71 plcnt_inc_dec(pp, mtype, szc, \ 107 #define MTYPE_2_MRANGE(mnode, mtype) \ argument 120 (*(page_freelists[mtype][szc] + (color))) 130 #define PAGE_CACHELISTS(mnode, color, mtype) \ argument 131 (*(page_cachelists[mtype] + (color))) 299 #define MTYPE_START(mnode, mtype, flags) \ argument 300 (mtype = mtype_func(mnode, mtype, flags)) 302 #define MTYPE_NEXT(mnode, mtype, flags) { \ argument 304 mtype = mtype_func(mnode, mtype, flags | PGI_MT_NEXT); \ 306 mtype = -1; \ [all …]
|
H A D | vm_machdep.c | 168 ((mtype > 0) ? memranges[mtype - 1] - 1: physmax) 169 #define MEMRANGELO(mtype) (memranges[mtype]) argument 1622 mtype = mnoderanges[mtype].mnr_next; in mtype_func() 1632 mtype = mnoderanges[mtype].mnr_next; in mtype_func() 1647 int mtype; in mtype_modify_max() local 1675 mtype = mnoderanges[mtype].mnr_next; in mtype_modify_max() 1761 mtype = mtype_func(mnode, mtype, flags); in mnode_pgcnt() 1765 mtype = mtype_func(mnode, mtype, flags | PGI_MT_NEXT); in mnode_pgcnt() 3374 int mtype; in page_get_anylist() local 3449 mtype = m; in page_get_anylist() [all …]
|
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_pagelist.c | 1388 uint_t bin, mtype; in page_list_add() local 1482 int mtype; in page_list_noreloc_startup() local 1652 uint_t mtype; in page_list_sub() local 1770 uint_t bin, mtype; in page_list_sub_pages() local 1995 if (mtype != PC_MTYPE_ANY && mtype != PP_2_MTYPE(start_pp)) in page_promote() 2156 uint_t mtype; in page_demote() local 3030 if (mtype >= 0) in page_get_mnode_freelist() 3694 int mtype; in page_get_freelist() local 3845 int mtype; in page_get_cachelist() local 4052 if (mtype >= 0) in page_get_mnode_cachelist() [all …]
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | synch.c | 987 int mtype = mp->mutex_type; in mutex_lock_kernel() local 1061 int mtype = mp->mutex_type; in mutex_trylock_kernel() local 2049 int mtype = mp->mutex_type; in mutex_lock_internal() local 2152 if (mtype & LOCK_ROBUST) in mutex_lock_internal() 2232 int mtype = mp->mutex_type; in mutex_lock_impl() local 2296 if (mtype & USYNC_PROCESS) in mutex_lock_impl() 2386 int mtype = mp->mutex_type; in mutex_trylock() local 2501 if (mtype & LOCK_ROBUST) in mutex_unlock_internal() 2530 if (mtype) { in mutex_unlock() 2585 if ((mtype & in mutex_unlock() [all …]
|
H A D | c11_thr.c | 125 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 D | vnet_common.c | 187 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 D | ldc_shm.c | 338 mtype = LDC_SHADOW_MAP; in ldc_mem_bind_handle() 523 if (mtype & LDC_DIRECT_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() 847 minfo->mtype = mhdl->mtype; in ldc_mem_info() 1249 mtype = LDC_SHADOW_MAP; in ldc_mem_map() 1423 mtype = LDC_SHADOW_MAP; in i_ldc_mem_map() 1493 mhdl->mtype = mtype; in i_ldc_mem_map() 1858 mtype = LDC_SHADOW_MAP; in ldc_mem_dring_bind() 2211 mtype = LDC_SHADOW_MAP; in ldc_mem_dring_map() [all …]
|
/illumos-gate/usr/src/cmd/lp/cmd/ |
H A D | lpshut.c | 64 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 D | lpusers.c | 57 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 D | lpfilter.c | 841 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 D | lpforms.c | 1175 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 D | smbmount_common.ksh | 86 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 D | mac_protect.c | 593 mtype = *opt; in intercept_dhcpv4_outbound() 594 if (mtype != REQUEST && mtype != RELEASE) { in intercept_dhcpv4_outbound() 682 mtype = *opt; in intercept_dhcpv4_inbound() 683 if (mtype != ACK && mtype != NAK) { in intercept_dhcpv4_inbound() 709 if (mtype == NAK) { in intercept_dhcpv4_inbound() 1307 uint8_t mtype; in intercept_dhcpv6_outbound() local 1324 if (mtype != DHCPV6_MSG_SOLICIT && mtype != DHCPV6_MSG_REQUEST && in intercept_dhcpv6_outbound() 1325 mtype != DHCPV6_MSG_RENEW && mtype != DHCPV6_MSG_REBIND && in intercept_dhcpv6_outbound() 1376 uint8_t mtype; in intercept_dhcpv6_inbound() local 2068 uint8_t mtype; in dhcpnospoof_check_v6() local [all …]
|
/illumos-gate/usr/src/uts/common/io/cxgbe/common/ |
H A D | common.c | 7 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 D | b_generic.c | 66 _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 D | subr_mchain.c | 629 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 D | smbd_ntlmssp.c | 129 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 D | lp.tell.c | 147 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 D | media.c | 319 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()
|