/illumos-gate/usr/src/cmd/auditconfig/ |
H A D | auditconfig.c | 990 au_stat_t as; local 996 eauditon(A_GETSTAT, (caddr_t)&as, 0); 1008 if (evp->ae_number <= as.as_numevent) { 1052 au_stat_t as; local 1054 eauditon(A_GETSTAT, (caddr_t)&as, 0); 1059 if (evp->ae_number <= as.as_numevent) { 1658 au_stat_t as; local 1662 eauditon(A_GETSTAT, (caddr_t)&as, 0); 1665 (ulong_t)as.as_generated, &(offset[0]), 1666 (ulong_t)as 1883 au_stat_t as; local 2627 au_stat_t as; local 2651 au_stat_t as; local [all...] |
/illumos-gate/usr/src/uts/common/fs/ |
H A D | fem.c | 1284 vhead_map(vnode_t *vp, offset_t off, struct as *as, caddr_t *addrp, argument 1298 errc = (*func)(arg0, off, as, addrp, len, prot, maxprot, 1306 errc = (*func)(arg0, off, as, addrp, len, prot, maxprot, 1314 vhead_addmap(vnode_t *vp, offset_t off, struct as *as, caddr_t addr, argument 1328 errc = (*func)(arg0, off, as, addr, len, prot, maxprot, 1337 errc = (*func)(arg0, off, as, addr, len, prot, maxprot, 1345 vhead_delmap(vnode_t *vp, offset_t off, struct as *as, caddr_ argument 2505 vnext_map(femarg_t *vf, offset_t off, struct as *as, caddr_t *addrp, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 2522 vnext_addmap(femarg_t *vf, offset_t off, struct as *as, caddr_t addr, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 2539 vnext_delmap(femarg_t *vf, offset_t off, struct as *as, caddr_t addr, size_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument [all...] |
H A D | vnode.c | 81 * number of entries as and parallel to the vfssw table. (Arguably, it could 156 * fstype - Index into vsanchor_fstype[], same as index into vfssw[] 588 * The entries will be allocated/initialized as each file system 846 * as a single reference, so v_count is not decremented until the last DNLC hold 897 * the file system as a result of releasing the vnode. Note, file systems 1376 * If error is ENOSYS then treat it as no error 1476 * the node itself as the "component" of interest. 2270 * Free the vnodeops created as a result of vn_make_ops() 2378 * as well as thos 3933 fop_map( vnode_t *vp, offset_t off, struct as *as, caddr_t *addrp, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 3956 fop_addmap( vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 4006 fop_delmap( vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs3_vnops.c | 83 #include <vm/as.h> 134 static void nfs3_delmap_callback(struct as *, void *, uint_t); 211 static int nfs3_map(vnode_t *, offset_t, struct as *, caddr_t *, size_t, 213 static int nfs3_addmap(vnode_t *, offset_t, struct as *, caddr_t, size_t, 220 static int nfs3_delmap(vnode_t *, offset_t, struct as *, caddr_t, size_t, 318 * the attributes as timed out. They will be refreshed 362 * zones, as that fails too. 1096 * then might as well stop because 1110 * Mark the attribute cache as timed out and 1263 * just be used as 5213 nfs3_map(vnode_t *vp, offset_t off, struct as *as, caddr_t *addrp, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 5327 nfs3_addmap(vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 5555 nfs3_delmap(vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 5655 nfs3_delmap_callback(struct as *as, void *arg, uint_t event) argument [all...] |
H A D | nfs4_vnops.c | 94 #include <vm/as.h> 188 static void nfs4_delmap_callback(struct as *, void *, uint_t); 253 static int nfs4_map(vnode_t *, offset_t, struct as *, caddr_t *, size_t, 255 static int nfs4_addmap(vnode_t *, offset_t, struct as *, caddr_t, size_t, 262 static int nfs4_delmap(vnode_t *, offset_t, struct as *, caddr_t, size_t, 273 * as static. 642 * executable or not, so as to skip OTW 1327 * is the same as the file handle which was passed in with 1449 /* Doesn't matter if 'oo_just_created' already was set as this */ 1578 * as wel 10447 nfs4_map(vnode_t *vp, offset_t off, struct as *as, caddr_t *addrp, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 10737 nfs4_addmap(vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 11053 nfs4_delmap(vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 11216 nfs4_delmap_callback(struct as *as, void *arg, uint_t event) argument [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | bofi.c | 59 * and then corrupting the result of those DDI routine calls as if the 304 dmareq_mapin(offset_t len, caddr_t addr, struct as *as, int flag) argument 315 proc.p_as = as; 344 dmareq_pplist_mapin(uint_t len, caddr_t addr, page_t **pplist, struct as *as, argument 357 proc.p_as = as; 402 * support routine - free off kernel virtual mapping as allocated by 474 * As long as devices are active with modified 2212 * support routine - check if requested driver is defined as unde [all...] |
/illumos-gate/usr/src/uts/common/vm/ |
H A D | vm_pagelist.c | 53 #include <vm/as.h> 154 * what the color is as the color parameter to the function is ignored. 164 * fields are as follows: 215 * as you move accross region sizes. PP_CTR_LOCK_INDX is used to determine the 248 * used to convert a pagenum into a counter array index or vice versa, as 249 * well as a cache of the last successful index to be promoted to a larger 255 * Conceptually, the page counters are represented as: 281 * logic. The fields are as follows: 473 * zero refers to the smallest page size in the system, and as index increases 990 * Preallocate all of the new hpm_counters arrays as w 3735 struct as *as = seg->s_as; local 3887 struct as *as = seg->s_as; local [all...] |
H A D | seg_vn.c | 66 #include <vm/as.h> 168 * Common zfod structures, provided as a shorthand for others to use. 294 * stacks marked as "not executable". It's a bit of a kludge, but is 295 * provided as a tweakable for platforms that export those ABIs 341 * with vp,off,size,szc used as a key. Text replication segments are read only 357 * amp pages are used instead of vnode pages as long as segment has a very 360 * happens such as protection is changed, real COW fault happens, pagesize is 369 * only be used if current file modification time is the same as the timestamp 373 * MAP_SHARED mappings are created to vnodes marked as executabl 5369 struct as *as = seg->s_as; local 10216 struct as *as; local [all...] |
/illumos-gate/usr/src/uts/common/io/usb/usba/ |
H A D | hubdi.c | 268 * root hub support. the root hub uses the same devi as the HCD 1029 hubd_post_attach(hubd_t *hubd, usb_port_t port, struct attachspec *as) argument 1035 port, as->result); 1037 if (as->result == DDI_SUCCESS) { 1063 * last device to detach, mark component as idle 1150 struct attachspec *as; local 1172 as = (struct attachspec *)arg; 1176 if (as->cmd == DDI_RESUME) { 1183 switch (as->when) { 1467 /* zap the dip and usba_device structure as wel [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_print.c | 87 #define PA_NOSYMBOLIC 0x100 /* don't print ptrs as func+offset */ 145 * while still treating them more or less as a single argument. 157 * treat the type argument logically as it would an other atomic argument. 381 /* skip the common prefix as necessary */ 557 * Check as an enumeration tag first, and fall back 645 mdb_warn("cannot walk '%s' as enum", type); 914 * We default to printing signed bitfields as decimals, 916 * hexadecimal, we treat the field as unsigned. 924 /* sign-extend value, and print as a signed decimal */ 968 * then we assume it is a bitfield and print it as suc 1872 mdb_tgt_as_t as = pap->pa_as; local [all...] |
H A D | mdb_cmds.c | 110 write_uint8(mdb_tgt_as_t as, mdb_tgt_addr_t addr, uint64_t ull, uint_t rdback) argument 114 if (rdback && mdb_tgt_aread(mdb.m_target, as, &o, sizeof (o), 118 if (mdb_tgt_awrite(mdb.m_target, as, &n, sizeof (n), addr) == -1) 122 if (mdb_tgt_aread(mdb.m_target, as, &n, sizeof (n), addr) == -1) 133 write_uint16(mdb_tgt_as_t as, mdb_tgt_addr_t addr, uint64_t ull, uint_t rdback) argument 137 if (rdback && mdb_tgt_aread(mdb.m_target, as, &o, sizeof (o), 141 if (mdb_tgt_awrite(mdb.m_target, as, &n, sizeof (n), addr) == -1) 145 if (mdb_tgt_aread(mdb.m_target, as, &n, sizeof (n), addr) == -1) 156 write_uint32(mdb_tgt_as_t as, mdb_tgt_addr_t addr, uint64_t ull, uint_t rdback) argument 160 if (rdback && mdb_tgt_aread(mdb.m_target, as, 179 write_uint64(mdb_tgt_as_t as, mdb_tgt_addr_t addr, uint64_t n, uint_t rdback) argument 202 write_arglist(mdb_tgt_as_t as, mdb_tgt_addr_t addr, int argc, const mdb_arg_t *argv) argument 267 match_uint16(mdb_tgt_as_t as, mdb_tgt_addr_t addr, uint64_t v64, uint64_t m64) argument 283 match_uint32(mdb_tgt_as_t as, mdb_tgt_addr_t addr, uint64_t v64, uint64_t m64) argument 299 match_uint64(mdb_tgt_as_t as, mdb_tgt_addr_t addr, uint64_t val, uint64_t mask) argument 315 match_arglist(mdb_tgt_as_t as, uint_t flags, mdb_tgt_addr_t addr, int argc, const mdb_arg_t *argv) argument 389 print_arglist(mdb_tgt_as_t as, mdb_tgt_addr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) argument 485 print_common(mdb_tgt_as_t as, uint_t flags, int argc, const mdb_arg_t *argv) argument 1918 mdb_tgt_as_t as; local 2413 mdb_tgt_as_t as = MDB_TGT_AS_VIRT; local [all...] |
/illumos-gate/usr/src/uts/i86pc/vm/ |
H A D | hat_i86.c | 74 #include <vm/as.h> 185 * thus set appropriately. Note that dboot/kbm is OK, as only the full 239 * Allocate a hat structure for as. We also create the top level 243 hat_alloc(struct as *as) argument 263 ASSERT(AS_WRITE_HELD(as)); 265 hat->hat_as = as; 272 * page tables. On 32-bit it's not needed as the hypervisor takes 390 * process has finished executing but as has not been cleaned up yet. 400 * to finish. Once we mark it as HAT_FREEIN 3174 hat_reserve(struct as *as, caddr_t addr, size_t len) argument [all...] |
H A D | vm_machdep.c | 66 #include <vm/as.h> 528 struct as *as; local 547 as = &kas; 548 hat = as->a_hat; 552 as = p->p_as; 553 hat = as->a_hat; 559 res = as_fault(hat, as, addr, 1, type, rw); 597 as_rangelock(as); 598 if (as_gap(as, MMU_PAGESIZ 684 struct as *as = p->p_as; local 943 valid_usr_range(caddr_t addr, size_t len, uint_t prot, struct as *as, caddr_t userlimit) argument 2965 page_create_io( struct vnode *vp, u_offset_t off, uint_t bytes, uint_t flags, struct as *as, caddr_t vaddr, ddi_dma_attr_t *mattr) argument 3316 page_get_anylist(struct vnode *vp, u_offset_t off, struct as *as, caddr_t vaddr, size_t size, uint_t flags, ddi_dma_attr_t *dma_attr, lgrp_t *lgrp) argument 3449 page_create_io( struct vnode *vp, u_offset_t off, uint_t bytes, uint_t flags, struct as *as, caddr_t vaddr, ddi_dma_attr_t *mattr) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_vnops.c | 90 #include <vm/as.h> 161 static int ufs_map(struct vnode *, offset_t, struct as *, caddr_t *, size_t, 163 static int ufs_addmap(struct vnode *, offset_t, struct as *, caddr_t, size_t, 165 static int ufs_delmap(struct vnode *, offset_t, struct as *, caddr_t, size_t, 185 extern int as_map_locked(struct as *, caddr_t, size_t, int ((*)()), void *); 286 * Checking for VBAD here will also act as a forced umount check. 334 * In the case that a directory is opened for reading as a file 416 * Filter to determine if this request is suitable as a 419 * through FSYNC descriptors as the inode will be synchronously 671 * may also want to cache the pages for read as lon 5605 ufs_map(struct vnode *vp, offset_t off, struct as *as, caddr_t *addrp, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, struct cred *cr, caller_context_t *ct) argument 5730 ufs_addmap(struct vnode *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, struct cred *cr, caller_context_t *ct) argument 5755 ufs_delmap(struct vnode *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uint_t prot, uint_t maxprot, uint_t flags, struct cred *cr, caller_context_t *ct) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_vnops.c | 51 #include <vm/as.h> 114 * as they can span dmu_tx_assign() calls. 116 * (4) If ZPL locks are held, pass TXG_NOWAIT as the second argument to 771 * Note that if the file block size will change as a result of 1026 * Release the vnode asynchronously as we currently have the 1068 * Release the vnode asynchronously as we currently have the 1735 /* charge as an update -- would be nice not to charge at all */ 1739 * Mark this transaction as typically resulting in a net free of space 2031 * directory is the same as the subdir to be removed, the 2160 * Read as man 4676 zfs_map(vnode_t *vp, offset_t off, struct as *as, caddr_t *addrp, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 4751 zfs_addmap(vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uchar_t prot, uchar_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument 4784 zfs_delmap(vnode_t *vp, offset_t off, struct as *as, caddr_t addr, size_t len, uint_t prot, uint_t maxprot, uint_t flags, cred_t *cr, caller_context_t *ct) argument [all...] |
H A D | arc.c | 67 * space for a cache miss that approximates as closely as possible 78 * ways: 1) via a hash table lookup using the DVA as a key, 110 * - ARC header destruction, as it removes from L2ARC buflists 111 * - ARC header release, as it removes from L2ARC buflists 154 * compressed arc_buf_t's is "zfs send", when it streams data exactly as it 160 * the same compressed data buffer as the arc_buf_hdr_t) and the second could be 388 * as they are written and migrate onto the arc_mru list. 485 * as "overhead" since this data is typically short-lived and will 782 * There are several ARC variables that are critical to export as kstat 5694 arc_stats_t *as = ksp->ks_data; local [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | dumpsubr.c | 67 #include <vm/as.h> 278 * There a four queues, used as follows: 533 * panic CPU does lzjb compression (it is tagged as MAINHELPER.) 993 /* Allocate memory for as many helpers as we can. */ 1227 * if it's not being used as swap. 1367 dump_addpage(struct as *as, void *va, pfn_t pfn) argument 1378 mem_vtop.m_as = as; 1404 * Dump the <as, v 1408 dump_as(struct as *as) argument [all...] |
H A D | zone.c | 55 * The states in which a zone may be in and the transitions are as 69 * the ZONE_IS_BOOTING state as a result of a call to zone_boot(). 113 * state passed in as an argument. Zone state transitions are 307 * Although not declared as static, the variable "zone0" should not be used 424 * Certain filesystems (such as NFS and autofs) need to know which zone 484 * The VFS layer may progress with new mounts as far as we're concerned. 526 * Zone Specific Data (ZSD) is modeled after Thread Specific Data as 538 * The locking strategy and overall picture is as follows: 542 * holding that lock all the existing zones are marked as 5800 struct as *as = pp->p_as; local 5840 struct as *as = pp->p_as; local [all...] |
H A D | sunddi.c | 49 #include <vm/as.h> 178 * We look up the reg property as an array of 294 * simply get a synchronous fault as soon as we touch a missing address. 913 * make things *less* restrictive as you apply one set 955 ddi_segmap(dev_t dev, off_t offset, struct as *asp, caddr_t *addrp, off_t len, 958 extern int spec_segmap(dev_t, off_t, struct as *, caddr_t *, 1103 * data type as specified in the flags. If a DDI_DEV_T_NONE dev 1419 * ddi_bus_prop_op as a proxy for the parent. This 1552 * NOTE: the legacy "nblocks"/"size" properties are treated as 3 7124 ddi_dma_addr_bind_handle(ddi_dma_handle_t handle, struct as *as, caddr_t addr, size_t len, uint_t flags, int (*waitfp)(caddr_t), caddr_t arg, ddi_dma_cookie_t *cookiep, uint_t *ccountp) argument 8077 umem_lock_undo(struct as *as, void *arg, uint_t event) argument 8264 struct as *as; local [all...] |
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prvnops.c | 68 #include <vm/as.h> 118 "as" }, 220 static void rebuild_objdir(struct as *); 600 pr_read_as, /* /proc/<pid>/as */ 686 struct as *as = p->p_as; local 692 if ((p->p_flag & SSYS) || as == &kas) { 879 struct as *as; local 888 as 1342 struct as *as; local 1731 struct as *as = p->p_as; local 2010 struct as *as; local 2393 struct as *as; local 2741 struct as *as = p->p_as; local 2804 struct as *as; local 3697 struct as *as; local 4093 struct as *as = NULL; local 4858 rebuild_objdir(struct as *as) argument 4972 obj_entry(struct as *as, int slot) argument 4991 struct as *as; local 5305 struct as *as = NULL; local [all...] |
/illumos-gate/usr/src/uts/common/io/rsm/ |
H A D | rsm.c | 84 * infrastructure described as follows. 93 * mapping as requested by mmap. The devmap entry point(rsm_devmap) is 135 * between the various threads. Some of the locks are described as follows. 165 * can be viewed in kmdb as *rsmka_dbg/s. The message is logged based 169 * is a string which uses the same formatting rules as the strings used in 173 * message. There are a number of categories that have been defined such as 342 static int rsm_segmap(dev_t, off_t, struct as *, caddr_t *, off_t, uint_t, 581 * The locking model is as follows: 686 /* rsm_detach will be called as a result of mod_remove */ 1105 * A search operation based on a resource number is as follow 8557 rsm_segmap(dev_t dev, off_t off, struct as *as, caddr_t *addrp, off_t len, uint_t prot, uint_t maxprot, uint_t flags, struct cred *cred) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | us3_common.c | 589 * system clock rate as the basis for low level timing, 648 int proc_as; /* null as */ 669 * Attempt to recover a cpu by claiming every cache line as saved 684 struct as *as; local 721 if ((as = p->p_as) == NULL) { 726 if ((hat = as->a_hat) == NULL) { 751 /* Verify as */ 752 if (hat->sfmmu_as != as) { 1484 * be logged as par [all...] |
/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_hba.c | 497 /* scsi_hba_log_filter_level: filter on level as bitmask */ 704 /* We need "scsiprobe" and "scsinodev" as an alias or a driver. */ 917 * NOTE: We use SCSA_HBA_SCSA_TA as an obtuse form of 1005 * DDI_FM_EREPORT_CAPABLE may report as capable, via tran_fm_capable, 1039 * Set SCSI_HBA_SCSA_FM bit to mark us as using the common 1144 * Pull down the scsi-initiator-id from further up the tree, or as 1175 * files of legacy drivers on an as-needed basis. If 'scsi-binding-set' 1341 * function as an initiator for xxx_device children then it should 1350 * same driver as parent are able to be added into per-driver 1990 * necessary, such as targe 2431 struct attachspec *as; local [all...] |
/illumos-gate/usr/src/uts/sfmmu/vm/ |
H A D | hat_sfmmu.c | 37 * The hat layer manages the address translation hardware as a cache 62 #include <vm/as.h> 755 * and by multiples of SPL_SHIFT to get as many varied bits as we can. 1131 * default 8 bytes, as the lower 6 bits will be used to pass 1147 * them to the system as quickly as possible. 1159 * sfmmu_tsb8k_cache) and will be throttled as would any other kmem 1457 hat_alloc(struct as *as) argument 13322 hat_reserve(struct as *as, caddr_t addr, size_t len) argument [all...] |