/xnu-2782.1.97/bsd/kern/ |
H A D | kern_sysctl.c | 1143 /* Non-root processes may be blessed by kperf to access data 1268 caddr_t data; local 1286 /* hold the data we would return */ 1317 /* caller only wants to know length of proc args data */ 1331 * extra space for work alignment and data tags 1415 data = (caddr_t) (copy_end - argslen); 1418 data = (caddr_t) (copy_end - arg_size); 1425 error = copyout(data, (where + sizeof(int)), size); 1428 error = copyout(data, where, size); 1434 * on entry: data [possibil [all...] |
H A D | mach_loader.c | 365 /* Forcibly disallow execution from data pages on even if the arch 452 * Finally, clean up any lingering workqueue data structures 826 /* clear out the flag data if revalidation fails */ 1457 /* Allocate wad-of-data from heap to reduce excessively deep stacks */ 1807 struct macho_data *data, 1815 struct nameidata *ndp = &data->__nid; 1820 union macho_vnode_header *header = &data->__header; 1833 /* init the namei data to point the file user's program name */ 1801 get_macho_vnode( char *path, integer_t archbits, struct mach_header *mach_header, off_t *file_offset, off_t *macho_size, struct macho_data *data, struct vnode **vpp ) argument
|
H A D | posix_sem.c | 175 caddr_t data, vfs_context_t ctx); 1085 __unused caddr_t data, __unused vfs_context_t ctx) 1084 psem_ioctl(__unused struct fileproc *fp, __unused u_long com, __unused caddr_t data, __unused vfs_context_t ctx) argument
|
H A D | posix_shm.c | 179 caddr_t data, vfs_context_t ctx); 1234 __unused caddr_t data, __unused vfs_context_t ctx) 1233 pshm_ioctl(__unused struct fileproc *fp, __unused u_long com, __unused caddr_t data, __unused vfs_context_t ctx) argument
|
/xnu-2782.1.97/bsd/hfs/ |
H A D | hfs_catalog.c | 64 CatalogRecord data; member in struct:btobj 210 /* Remove the data structure with the specified ID from the hashtable */ 228 * hfsmount data structure. We need to validate that the ID is not in-use 401 /* Convert the data fork. */ 1042 /* Convert the data fork. */ 1169 /* Get space for iterator, key and data */ 1187 datalen = buildthread((void*)&bto->key, &bto->data, std_hfs, 1189 btdata.bufferAddress = &bto->data; 1208 buildrecord(attrp, new_fileid, std_hfs, encoding, &bto->data, &datalen); 1209 btdata.bufferAddress = &bto->data; [all...] |
H A D | hfs_xattr.c | 83 static int listattr_callback(const HFSPlusAttrKey *key, const HFSPlusAttrData *data, 253 * Retrieve the data of an extended attribute. 369 * However, if result == 0, it will have returned no data 374 * to get the actual data 414 int hfs_xattr_read(vnode_t vp, const char *name, void *data, size_t *size) argument 420 uio_addiov(uio, CAST_USER_ADDR_T(data), *size); 488 * enough to read inline attribute data which is read in later. 526 * user data, so the minimum size is 2 bytes less that the 528 * has 2 bytes set aside for attribute data). 539 /* User provided buffer is not large enough for the xattr data */ 991 hfs_xattr_write(vnode_t vp, const char *name, const void *data, size_t size) argument 1907 listattr_callback(const HFSPlusAttrKey *key, __unused const HFSPlusAttrData *data, struct listattr_callback_state *state) argument [all...] |
H A D | hfs.h | 87 // would touch enough data that we should break it into 100 /* number of locked buffer caches to hold for b-tree meta data */ 143 /* This structure describes the HFS specific mount structure data. */ 302 void * hfc_recdata; /* recording data (opaque) */ 315 lck_mtx_t hfs_mutex; /* protects access to hfsmount data */ 926 int hfs_xattr_read(vnode_t vp, const char *name, void *data, size_t *size); 929 int hfs_xattr_write(vnode_t vp, const char *name, const void *data, size_t size);
|
/xnu-2782.1.97/tools/lldbmacros/ |
H A D | process.py | 223 """ Summarize the thread structure. It decodes the wait state and waitevents from the data in the struct. 345 """ Summarize the process data. 627 print "Last output data: {0: <#18x} \"{1: <s}\"".format(unsigned(tty.t_outq.c_cs), tty.t_outq.c_cs) 1482 data = [] 1484 data.append(int(entry.uuid[i])) 1486 out_string = "{a[0]:02X}{a[1]:02X}{a[2]:02X}{a[3]:02X}-{a[4]:02X}{a[5]:02X}-{a[6]:02X}{a[7]:02X}-{a[8]:02X}{a[9]:02X}-{a[10]:02X}{a[11]:02X}{a[12]:02X}{a[13]:02X}{a[14]:02X}{a[15]:02X} 0x{b:0>8x}".format(a=data, b=flags)
|
/xnu-2782.1.97/bsd/bsm/ |
H A D | audit_record.h | 135 /* data-types for the arbitrary token */ 234 token_t *au_to_opaque(const char *data, uint16_t bytes);
|
/xnu-2782.1.97/bsd/miscfs/devfs/ |
H A D | devfs_vfsops.c | 141 * data - addr in user space of mount params including the 144 * ndp - namei data pointer (NOT USED) 147 * It makes up its data as it goes along. 153 devfs_mount(struct mount *mp, __unused vnode_t devvp, __unused user_addr_t data, vfs_context_t ctx) argument
|
/xnu-2782.1.97/bsd/net/ |
H A D | if_vlan.c | 649 * data structure. Some operations take a long time to complete, 686 * give up exclusive access to the vlan_parent data structure, and wake up 1797 vlan_ioctl(ifnet_t ifp, u_long cmd, void * data) argument 1814 ifr = (struct ifreq *)data; 1815 ifa = (struct ifaddr *)data; 1832 ifmr = (struct ifmediareq *)data;
|
H A D | ndrv.c | 249 * Flush data or not depending on the options. 801 ifdemux->data = ndrv->data.other;
|
H A D | if_bridge.c | 990 printf("%s0x%llx type: %u flags: 0x%x len: %u data: 0x%llx " 1472 bridge_ioctl(struct ifnet *ifp, u_long cmd, void *data) argument 1475 struct ifreq *ifr = (struct ifreq *)data; 1498 struct ifmediareq *ifmr = (struct ifmediareq *)data; 1541 struct ifdrv32 *ifd = (struct ifdrv32 *)data; 1559 struct ifdrv64 *ifd = (struct ifdrv64 *)data; 1625 error = ether_ioctl(ifp, cmd, data); 1834 mbuf_t *data, char **frame_ptr) 1842 mbuf_t m = *data; 1854 printf("%s: %s from %s m 0x%llx data 1833 bridge_iff_input(void *cookie, ifnet_t ifp, protocol_family_t protocol, mbuf_t *data, char **frame_ptr) argument 1905 bridge_iff_output(void *cookie, ifnet_t ifp, protocol_family_t protocol, mbuf_t *data) argument [all...] |
/xnu-2782.1.97/bsd/nfs/ |
H A D | nfs_gss.c | 50 * verifier or optionally to provide data integrity and/or privacy. 52 * Once the context is complete, the client and server enter a normal data 174 * separate from the data, the size is always the same: 35 bytes (0x23). 176 * size of the token + the encrypted data that follows. So the size 658 * Since XDR data is always 32-bit aligned, it 688 /* Add null XDR pad if the ASN.1 token misaligned the data */ 2773 /* Now compute the checksum over the results data */ 2785 * Since XDR data is always 32-bit aligned, it 2798 /* Now compute the checksum over the results data */ 2813 /* Add null XDR pad if the ASN.1 token misaligned the data */ 3296 vm_offset_t data; local 3808 gss_digest_Update(GSS_DIGEST_CTX *ctx, void *data, size_t len) argument [all...] |
H A D | nfs_vfsops.c | 290 * Called once to initialize data structures... 298 * Check to see if major data structures haven't bloated. 1462 nfs_convert_old_nfs_args(mount_t mp, user_addr_t data, vfs_context_t ctx, int argsversion, int inkernel, char **xdrbufp) argument 1506 bcopy(CAST_DOWN(void *, data), argsp, argsize); 1508 error = copyin(data, argsp, argsize); 1825 nfs_vfs_mount(mount_t mp, vnode_t vp, user_addr_t data, vfs_context_t ctx) argument 1833 bcopy(CAST_DOWN(void *, data), &argsversion, sizeof(argsversion)); 1834 else if ((error = copyin(data, &argsversion, sizeof(argsversion)))) 1847 error = nfs_convert_old_nfs_args(mp, data, ctx, argsversion, inkernel, &xdrbuf); 1852 bcopy(CAST_DOWN(void *, (data 3672 nfs_mirror_mount_trigger_resolve( vnode_t vp, const struct componentname *cnp, enum path_operation pop, __unused int flags, __unused void *data, vfs_context_t ctx) argument 3775 nfs_mirror_mount_trigger_unresolve( vnode_t vp, int flags, __unused void *data, vfs_context_t ctx) argument 3811 nfs_mirror_mount_trigger_rearm( vnode_t vp, __unused int flags, __unused void *data, vfs_context_t ctx) argument [all...] |
/xnu-2782.1.97/bsd/sys/ |
H A D | vnode_internal.h | 106 void * vr_data; /* private data for resolver */ 144 uint16_t v_tag; /* type of underlying data */ 175 void * v_data; /* private data for fs */ 241 #define VNOCACHE_DATA 0x000400 /* don't keep data cached once it's been consumed */ 265 * This structure describes vnode data which is specific to a file descriptor. 305 * Global vnode data. 358 * Finally, we've got a list of private data (about each operation) 416 __private_extern__ int set_package_extensions_table(user_addr_t data, int nentries, int maxwidth);
|
/xnu-2782.1.97/bsd/vfs/ |
H A D | kpi_vfs.c | 175 VFS_MOUNT(mount_t mp, vnode_t devvp, user_addr_t data, vfs_context_t ctx) argument 184 error = (*mp->mnt_op->vfs_mount)(mp, devvp, data, ctx); 191 error = (*mp->mnt_op->vfs_mount)(mp, devvp, data, ctx); 666 /* return the private data handle stored in mount_t */ 673 /* set the private data handle in mount_t */ 1308 * 2. vfs_context_bind() sets the unrefcounted data 1515 /* is vnode_t marked to not keep data cached once it's been consumed */ 1707 /* TBD: set vnode_t to not cache data after it is consumed once; used for quota */ 2051 /* no attribute - no security data */ 2193 /* don't ask for extended security data i 2694 vfs_settriggercallback(fsid_t *fsid, vfs_trigger_callback_t vtc, void *data, uint32_t flags __unused, vfs_context_t ctx) argument 3313 VNOP_IOCTL(vnode_t vp, u_long command, caddr_t data, int fflag, vfs_context_t ctx) argument [all...] |
/xnu-2782.1.97/iokit/IOKit/ |
H A D | IOHibernatePrivate.h | 191 uint8_t data[]; member in struct:IOHibernateHandoff
|
/xnu-2782.1.97/osfmk/vm/ |
H A D | vm_protos.h | 470 const void *data,
|
/xnu-2782.1.97/bsd/security/audit/ |
H A D | audit_syscalls.c | 145 * type submitted as part of the user audit data. 292 error = copyin(uap->data, (void *)&udata, uap->length); 707 * Copy data back to userspace for the GET comands. 727 error = copyout((void *)&udata, uap->data, uap->length); 940 * is appropriate for storing audit data, or that the caller was
|
/xnu-2782.1.97/iokit/IOKit/pwr_mgt/ |
H A D | RootDomain.h | 506 void tracePoint( uint8_t point, uint8_t data );
|
/xnu-2782.1.97/tools/tests/MPMMTest/ |
H A D | KQMPMMtest.c | 418 if (kev[0].data != args.port) 419 printf("kevent64(MACH_PORT_NULL) port name (%lld) != expected (0x%x)\n", kev[0].data, args.port);
|
/xnu-2782.1.97/bsd/netinet6/ |
H A D | ipsec.c | 4285 * allocate a new cluster and copy the data to the new cluster. 4325 * Copy data. If we don't have enough space to 4326 * store the whole data, allocate a cluster 4646 u_int8_t *data = NULL; local 4665 /* Not enough room in this data frame */ 4669 data = frame->data; 4670 ip = (__typeof__(ip))(void *)(data + frame_data_offset); 4671 uh = (__typeof__(uh))(void *)(data + frame_data_offset + sizeof(*ip)); 4674 bzero(data, IPSEC_OFFLOAD_FRAME_DATA_SIZ [all...] |
/xnu-2782.1.97/bsd/dev/dtrace/ |
H A D | fasttrap.c | 67 * instruction to gather data; this includes probes with semantic 2435 _fasttrap_ioctl(dev_t dev, u_long cmd, caddr_t data, int fflag, struct proc *p) argument 2441 uaddrp = *(user_addr_t *)data; 2443 uaddrp = (user_addr_t) *(uint32_t *)data;
|
/xnu-2782.1.97/bsd/hfs/hfscommon/Misc/ |
H A D | FileExtentMapping.c | 85 data record. 208 // forkType 0 = data fork, -1 = resource fork 216 // foundKey The key data for the record actually found 285 // Copy the found data back for the caller 332 // Copy the found data back for the caller 401 HFSExtentRecord data; local 404 btRecord.bufferAddress = &data; 414 err = HFSPlusToHFSExtents(extents, data); 533 dataEnd = (off_t)((off_t)(nextFABN) * (off_t)(allocBlockSize)); // Assume valid data through end of this extent 586 // Function: Release the extents of a single extent data recor [all...] |