Searched refs:mtype (Results 1 - 25 of 68) 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) \
53 ((mtype) == LDC_DIRECT_MAP ? \
57 #define VIO_DRING_ACQUIRE_NOCOPYIN(otd, mtype) \
58 ((mtype) == LDC_DIRECT_MAP ? \
61 #define VIO_DRING_RELEASE(mtype, handle, start, stop) \
62 ((mtype) == LDC_DIRECT_MAP ? \
66 #define VIO_DRING_RELEASE_NOCOPYOUT(mtype) \
67 ((mtype) == LDC_DIRECT_MAP ? \
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,
H A Dldc.h153 uint8_t mtype; /* map type */ member in struct:ldc_mem_info
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,
/illumos-gate/usr/src/uts/i86pc/vm/
H A Dvm_dep.h67 #define PLCNT_INCR(pp, mnode, mtype, szc, flags) \
68 plcnt_inc_dec(pp, mtype, szc, 1l << PAGE_BSZS_SHIFT(szc), flags)
69 #define PLCNT_DECR(pp, mnode, mtype, szc, flags) \
70 plcnt_inc_dec(pp, mtype, szc, -1l << PAGE_BSZS_SHIFT(szc), flags)
105 #define MTYPE_2_MRANGE(mnode, mtype) \
106 (mnode_maxmrange[mnode] - mtype_2_mrange(mtype))
110 * dimensions [mtype][mmu_page_sizes][colors]
112 * mtype specifies a physical memory range with a unique mnode.
117 #define PAGE_FREELISTS(mnode, szc, color, mtype) \
118 (*(page_freelists[mtype][sz
[all...]
H A Dvm_machdep.c145 * mnode/mtype dimension in the page lists.
159 struct mnr_mts { /* mnode/mtype szc stats */
167 #define MEMRANGEHI(mtype) \
168 ((mtype > 0) ? memranges[mtype - 1] - 1: physmax)
169 #define MEMRANGELO(mtype) (memranges[mtype])
1406 /* Check whether mtype already exists. */
1487 int mtype = mtypetop; local
1492 * set the mtype rang
1536 int mtype = mtypetop; local
1556 mtype_func(int mnode, int mtype, uint_t flags) argument
1587 int mtype; local
1620 mtype_2_mrange(int mtype) argument
1626 mnodetype_2_pfn(int mnode, int mtype, pfn_t *pfnlo, pfn_t *pfnhi) argument
1671 plcnt_inc_dec(page_t *pp, int mtype, int szc, long cnt, int flags) argument
1697 int mtype = mtypetop; local
3106 page_get_mnode_anylist(ulong_t origbin, uchar_t szc, uint_t flags, int mnode, int mtype, ddi_dma_attr_t *dma_attr) argument
3320 int mtype; local
[all...]
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dmsg.h72 long mtype; /* message type */ member in struct:msgbuf
/illumos-gate/usr/src/cmd/lp/cmd/
H A Dlpshut.c66 int mtype; local
105 mtype = getmessage(msgbuf, R_SHUTDOWN, &status);
106 if (mtype != R_SHUTDOWN) {
107 LP_ERRMSG1 (ERROR, E_LP_BADREPLY, mtype);
H A Dlpusers.c57 int mtype, size, c, local
202 mtype = getmessage(reply, R_LOAD_USER_FILE, &status);
203 if (mtype != R_LOAD_USER_FILE) {
204 LP_ERRMSG1 (ERROR, E_LP_BADREPLY, mtype);
H A Dlpfilter.c841 int mtype; local
862 mtype = getmessage(msgbuf, R_LOAD_FILTER_TABLE, &status);
863 if (mtype != R_LOAD_FILTER_TABLE) {
864 LP_ERRMSG1 (ERROR, E_LP_BADREPLY, mtype);
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dnb_ssn.c70 int mtype, int mlen)
84 hdr = (mtype << 24) | mlen;
121 int err, mtype, mlen; local
122 err = nb_ssn_recv(ctx, mbp, &mtype, &mlen);
125 if (mtype != NB_SSN_MESSAGE) {
126 DPRINT("discard type 0x%x", mtype);
145 int *mtype, int *mlen)
178 *mtype = (hdr >> 24) & 0xff;
277 int err, mtype, mlen; local
318 err = nb_ssn_recv(ctx, &res, &mtype,
69 nb_ssn_send(struct smb_ctx *ctx, struct mbdata *mbp, int mtype, int mlen) argument
144 nb_ssn_recv(struct smb_ctx *ctx, struct mbdata *mb, int *mtype, int *mlen) argument
[all...]
/illumos-gate/usr/src/lib/libvolmgt/common/
H A Dvolmgt_on_private.c138 char *mtype = NULL; /* media type */ local
177 media_info_gotten = get_media_info(bn, &mtype, &mnum, &spcl);
179 ret_val = call_unmount_prog(media_info_gotten, use_rmm, mtype,
186 if (get_media_info(bn, &mtype, &mnum, &spcl)) {
212 mtype, mnum, spcl, bn);
227 } while (get_media_info(bn, &mtype, &mnum, &spcl));
238 if (mtype != NULL) {
239 free(mtype);
448 char *mtype; local
476 mtype
561 call_unmount_prog(int mi_gotten, int use_rmm, char *mtype, int mnum, char *spcl, char *bn) argument
[all...]
/illumos-gate/usr/src/uts/sun4/vm/
H A Dvm_dep.h54 #define MTYPE_INIT(mtype, vp, vaddr, flags, pgsz) \
55 mtype = (flags & PG_NORELOC) ? MTYPE_NORELOC : MTYPE_RELOC;
57 /* mtype init for page_get_replacement_page */
58 #define MTYPE_PGR_INIT(mtype, flags, pp, mnode, pgcnt) \
59 mtype = (flags & PG_NORELOC) ? MTYPE_NORELOC : MTYPE_RELOC;
61 #define MNODETYPE_2_PFN(mnode, mtype, pfnlo, pfnhi) \
71 #define MTYPE_2_MRANGE(mnode, mtype) (mtype)
82 * PGI mtype flags - should not overlap PGI flags
84 #define PGI_MT_RANGE 0x1000000 /* mtype rang
[all...]
H A Dvm_dep.c815 int mnode, mtype; local
821 for (mtype = 0; mtype < MAX_MEM_TYPES; mtype++) {
822 page_cachelists[mtype] = (page_t ***)alloc_base;
825 page_cachelists[mtype][mnode] = (page_t **)alloc_base;
837 for (mtype = 0; mtype < MAX_MEM_TYPES; mtype++) {
838 page_freelists[szc][mtype]
[all...]
/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)
192 if ((rv = VIO_DRING_ACQUIRE(&otd, mtype, handle, start, stop)) != 0)
197 rv = VIO_DRING_RELEASE_NOCOPYOUT(mtype);
203 vnet_dring_entry_set_dstate(vnet_public_desc_t *descp, uint8_t mtype, argument
209 rv = VIO_DRING_ACQUIRE_NOCOPYIN(&otd, mtype);
215 rv = VIO_DRING_RELEASE(mtype, handle, start, stop);
186 vnet_dring_entry_copy(vnet_public_desc_t *from, vnet_public_desc_t *to, uint8_t mtype, ldc_dring_handle_t handle, uint64_t start, uint64_t stop) argument
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)
338 mtype = LDC_SHADOW_MAP;
340 return (i_ldc_mem_bind_handle(mhandle, vaddr, len, mtype, perm,
346 uint8_t mtype, uint8_t perm, ldc_mem_cookie_t *cookie, uint32_t *ccount)
523 if (mtype & LDC_DIRECT_MAP) {
529 if (mtype & LDC_SHADOW_MAP) {
534 if (mtype & LDC_IO_MAP) {
641 mhdl->mtype
330 ldc_mem_bind_handle(ldc_mem_handle_t mhandle, caddr_t vaddr, size_t len, uint8_t mtype, uint8_t perm, ldc_mem_cookie_t *cookie, uint32_t *ccount) argument
345 i_ldc_mem_bind_handle(ldc_mem_handle_t mhandle, caddr_t vaddr, size_t len, uint8_t mtype, uint8_t perm, ldc_mem_cookie_t *cookie, uint32_t *ccount) argument
1241 ldc_mem_map(ldc_mem_handle_t mhandle, ldc_mem_cookie_t *cookie, uint32_t ccount, uint8_t mtype, uint8_t perm, caddr_t *vaddr, caddr_t *raddr) argument
1256 i_ldc_mem_map(ldc_mem_handle_t mhandle, ldc_mem_cookie_t *cookie, uint32_t ccount, uint8_t mtype, uint8_t perm, caddr_t *vaddr, caddr_t *raddr) argument
1821 ldc_mem_dring_bind(ldc_handle_t handle, ldc_dring_handle_t dhandle, uint8_t mtype, uint8_t perm, ldc_mem_cookie_t *cookie, uint32_t *ccount) argument
2162 ldc_mem_dring_map(ldc_handle_t handle, ldc_mem_cookie_t *cookie, uint32_t ccount, uint32_t len, uint32_t dsize, uint8_t mtype, ldc_dring_handle_t *dhandle) argument
[all...]
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_pagelist.c158 /* mtype value for page_promote to use when mtype does not matter */
807 page_ctr_add_internal(int mnode, int mtype, page_t *pp, int flags) argument
815 ASSERT(mtype == PP_2_MTYPE(pp));
819 PLCNT_INCR(pp, mnode, mtype, pp->p_szc, flags);
856 page_ctr_add(int mnode, int mtype, page_t *pp, int flags) argument
862 page_ctr_add_internal(mnode, mtype, pp, flags);
867 page_ctr_sub_internal(int mnode, int mtype, page_t *pp, int flags) argument
875 ASSERT(mtype == PP_2_MTYPE(pp));
879 PLCNT_DECR(pp, mnode, mtype, p
919 page_ctr_sub(int mnode, int mtype, page_t *pp, int flags) argument
1388 uint_t bin, mtype; local
1482 int mtype; local
1583 uint_t bin, mtype, i; local
1652 uint_t mtype; local
1770 uint_t bin, mtype; local
1966 page_promote(int mnode, pfn_t pfnum, uchar_t new_szc, int flags, int mtype) argument
2156 uint_t mtype; local
2270 page_freelist_coalesce(int mnode, uchar_t szc, uint_t color, uint_t ceq_mask, int mtype, pfn_t pfnhi) argument
2583 page_freelist_split(uchar_t szc, uint_t color, int mnode, int mtype, pfn_t pfnlo, pfn_t pfnhi, page_list_walker_t *plw) argument
2918 page_get_mnode_freelist(int mnode, uint_t bin, int mtype, uchar_t szc, uint_t flags) argument
3637 page_get_contig_pages(int mnode, uint_t bin, int mtype, uchar_t szc, uint_t flags) argument
3740 int mtype; local
3891 int mtype; local
3982 page_get_mnode_cachelist(uint_t bin, uint_t flags, int mnode, int mtype) argument
4145 int mtype; local
[all...]
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dc11_thr.c125 int mtype; local
130 mtype = USYNC_THREAD;
134 mtype = USYNC_THREAD | LOCK_RECURSIVE;
144 if (mutex_init((mutex_t *)mtx, mtype, NULL) == 0)
H A Dsynch.c986 int mtype = mp->mutex_type; local
1016 if (mtype & USYNC_PROCESS) {
1060 int mtype = mp->mutex_type; local
1075 if (mtype & USYNC_PROCESS) {
1899 mutex_recursion(mutex_t *mp, int mtype, int try) argument
1902 ASSERT(mtype & (LOCK_RECURSIVE|LOCK_ERRORCHECK));
1905 if (mtype & LOCK_RECURSIVE) {
2048 int mtype = mp->mutex_type; local
2064 if ((mtype & (LOCK_RECURSIVE|LOCK_ERRORCHECK)) && mutex_held(mp))
2065 return (mutex_recursion(mp, mtype, tr
2177 fast_process_lock(mutex_t *mp, timespec_t *tsp, int mtype, int try) argument
2231 int mtype = mp->mutex_type; local
2377 int mtype = mp->mutex_type; local
2444 int mtype = mp->mutex_type; local
2507 int mtype = mp->mutex_type; local
3354 int mtype = mp->mutex_type; local
3433 int mtype = mp->mutex_type; local
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dmsg.h110 long mtype; /* message type */
H A Dmsg_impl.h154 int32_t mtype; /* message type */ member in struct:ipcmsgbuf32
/illumos-gate/usr/src/uts/sun4u/starfire/os/
H A Dstarfire.c274 int mtype; local
277 for (mtype = 0; mtype < MAX_MEM_TYPES; mtype++) {
299 color, mtype);
/illumos-gate/usr/src/lib/libsmedia/plugins/blkdev/common/
H A Db_generic.c66 _m_device_type(ushort_t ctype, ushort_t mtype) argument
69 if (mtype == 0)
/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; local
593 mtype = *opt;
594 if (mtype != REQUEST && mtype != RELEASE) {
596 struct dhcp *, dh4, uint8_t, mtype);
611 if (mtype == RELEASE) {
674 uint8_t opt_len, mtype; local
682 mtype = *opt;
683 if (mtype != ACK && mtype !
1307 uint8_t mtype; local
1376 uint8_t mtype; local
2068 uint8_t mtype; local
[all...]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dmedia.c319 int mtype; local
323 mtype = get_media_type(minfo.dki_media_type);
327 if (mtype == filter[j]) {
/illumos-gate/usr/src/cmd/lp/model/
H A Dlp.tell.c149 int mtype, local
424 mtype = getmessage(msgbuf, mesgRetType, &status);
429 if ((mtype != mesgRetType) &&

Completed in 163 milliseconds

123