/titanic_50/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,
|
/titanic_50/usr/src/uts/sun4/vm/ |
H A D | vm_dep.h | 54 #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 D | vm_dep.c | 801 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_50/usr/src/lib/libvolmgt/common/ |
H A D | volmgt_on_private.c | 138 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_50/usr/src/uts/i86pc/vm/ |
H A D | vm_dep.h | 67 #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 D | vm_machdep.c | 164 #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_50/usr/src/lib/libsmbfs/smb/ |
H A D | nb_ssn.c | 70 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_50/usr/src/uts/common/vm/ |
H A D | vm_pagelist.c | 807 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_50/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 | 73 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_50/usr/src/lib/libc/port/threads/ |
H A D | synch.c | 986 int mtype = mp->mutex_type; in mutex_lock_kernel() local 1016 if (mtype & USYNC_PROCESS) { in mutex_lock_kernel() 1060 int mtype = mp->mutex_type; in mutex_trylock_kernel() local 1075 if (mtype & USYNC_PROCESS) { in mutex_trylock_kernel() 1899 mutex_recursion(mutex_t *mp, int mtype, int try) in mutex_recursion() argument 1902 ASSERT(mtype & (LOCK_RECURSIVE|LOCK_ERRORCHECK)); in mutex_recursion() 1905 if (mtype & LOCK_RECURSIVE) { in mutex_recursion() 2048 int mtype = mp->mutex_type; in mutex_lock_internal() local 2064 if ((mtype & (LOCK_RECURSIVE|LOCK_ERRORCHECK)) && mutex_held(mp)) in mutex_lock_internal() 2065 return (mutex_recursion(mp, mtype, try)); in mutex_lock_internal() [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()
|
/titanic_50/usr/src/cmd/lp/cmd/ |
H A D | lpshut.c | 66 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 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()
|
/titanic_50/usr/src/uts/common/io/mac/ |
H A D | mac_protect.c | 577 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 …]
|
/titanic_50/usr/src/uts/sun4u/starfire/os/ |
H A D | starfire.c | 274 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_50/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()
|
/titanic_50/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | subr_mchain.c | 585 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_50/usr/src/cmd/lp/model/ |
H A D | lp.tell.c | 149 int mtype, in main() local 424 mtype = getmessage(msgbuf, mesgRetType, &status); in main() 429 if ((mtype != mesgRetType) && in main()
|
/titanic_50/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()
|
/titanic_50/usr/src/lib/libbc/inc/include/sys/ |
H A D | msg.h | 72 long mtype; /* message type */ member
|
/titanic_50/usr/src/cmd/ipcs/ |
H A D | ipcs.c | 77 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()
|