Searched refs:type (Results 226 - 250 of 288) sorted by relevance

1234567891011>>

/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ffs/
H A Dffs_vfsops.c1265 int i, type, error = 0; local
1280 type = M_FFSNODE;
1281 MALLOC_ZONE(ip, struct inode *, sizeof(struct inode), type, M_WAITOK);
1292 FREE_ZONE(ip, sizeof(struct inode), type);
1440 FREE_ZONE(ip, sizeof(struct inode), type);
/macosx-10.5.8/xnu-1228.15.4/security/
H A Dmac_base.c304 mac_label_journal_add (struct label *l, int type) argument
314 mlj->type = type;
379 switch (mlj->type) {
769 if (arr->type == MAC_DATA_TYPE_DICT) {
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_descrip.c114 int fdopen(dev_t dev, int mode, int type, proc_t p);
1522 * to copy the results back out, if it is that type of
1897 * XXX switch on node type is bogus; need a stat in struct
1910 file_type_t type; local
1923 type = fp->f_type;
1929 switch (type) {
2148 file_type_t type; local
2155 type = fp->f_type;
2158 switch (type) {
2722 * underlying type, whic
[all...]
H A Dproc_info.c89 int proc_listpids(uint32_t type, uint32_t tyoneinfo, user_addr_t buffer, uint32_t buffersize, register_t * retval);
141 /* pid contains type and flavor contains typeinfo */
158 proc_listpids(uint32_t type, uint32_t typeinfo, user_addr_t buffer, uint32_t buffersize, register_t * retval) argument
193 switch (type) {
H A Dkern_audit.c798 * work, since we pre-select only based on the AUE_audit event type,
799 * not the event type submitted as part of the user audit data.
1615 * to the proper type of event based on the flags and the error
2641 audit_mac_data(int type, int len, u_char *data) { argument
2666 record->type = type;
2787 audit_mac_data(int type, int len, u_char *data) argument
H A Dpthread_synch.c248 mutex->type = attr->type;
1217 int type,
1228 switch (type) {
1216 workqueue_callback( int type, thread_t thread) argument
H A Dkdebug.c797 switch (kdr->type) {
863 switch (kdr->type) {
H A Dkern_bsm_audit.c537 tok = au_to_arg32(2,"type", ar->ar_arg_sockinfo.so_type);
1255 switch (mar->type) {
1270 printf("kaudit_to_bsm(): BSM conversion requested for unknown mac_audit data type %d\n",
1271 mar->type);
H A Dkern_subr.c431 hashinit(int elements, int type, u_long *hashmask) argument
443 (u_long)hashsize * sizeof(*hashtbl), type, M_WAITOK|M_ZERO);
709 int a_spacetype, /* type of address space */
746 int a_spacetype, /* type of address space */
768 panic("%s :%d - invalid address space type\n", __FILE__, __LINE__);
814 * uio_spacetype - return the address space type for the given uio_t
862 int a_spacetype, /* type of address space */
874 panic("%s :%d - invalid address space type\n", __FILE__, __LINE__);
H A Dkpi_socket.c741 int type,
750 error = socreate(domain, new_so, type, protocol);
739 sock_socket( int domain, int type, int protocol, sock_upcall callback, void* context, socket_t *new_so) argument
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_fw2.c330 * This macro maps an ip pointer into a layer3 header pointer of type T
337 int type = L3HDR(struct icmp,ip)->icmp_type; local
339 return (type <= ICMP_MAXTYPE && (cmd->d[0] & (1<<type)) );
348 int type = L3HDR(struct icmp, ip)->icmp_type; local
349 return (type <= ICMP_MAXTYPE && (TT & (1<<type)) );
1035 * Install state of type 'type' for a dynamic session.
1036 * The hash table contains two type o
[all...]
H A Dip_fw2_compat.c1185 int i, type; local
1189 type = cmd32->d[0] & i;
1191 compat_rule->fw_uar_compat.fw_icmptypes[type / (sizeof(unsigned) * 8)] |=
1192 1 << (type % (sizeof(unsigned) * 8));
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dip6_output.c157 * type of "mtu": rt_rmx.rmx_mtu is u_long, ifnet.ifr_mtu is int, and
1898 #define PKTOPT_EXTHDRCPY(type) \
1900 if (src->type) {\
1902 (((struct ip6_ext *)src->type)->ip6e_len + 1) << 3;\
1903 dst->type = _MALLOC(hlen, M_IP6OPT, canwait);\
1904 if (dst->type == NULL && canwait == M_NOWAIT)\
1906 bcopy(src->type, dst->type, hlen);\
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs_vfsops.c460 * The NFS VFS_GETATTR function: "statfs"-type information is retrieved
2086 nfs3_getquota(struct nfsmount *nmp, vfs_context_t ctx, u_long id, int type, struct dqblk *dqb) argument
2089 int rqvers = (type == GRPQUOTA) ? RPCRQUOTA_EXT_VER : RPCRQUOTA_VER;
2151 if (type == GRPQUOTA)
2152 nfsm_chain_add_32(error, &nmreq, type);
2198 nfs4_getquota(struct nfsmount *nmp, vfs_context_t ctx, u_long id, int type, struct dqblk *dqb) argument
2208 if (type != USRQUOTA) /* NFSv4 only supports user quotas */
2284 int cmd, type, error, nfsvers; local
2311 type = cmds & SUBCMDMASK;
2312 if ((u_int)type >
[all...]
H A Dnfs4_vnops.c1708 int type,
1734 switch (type) {
1773 nfsm_chain_add_32(error, &nmreq, type);
1774 if (type == NFLNK) {
1776 } else if ((type == NFBLK) || (type == NFCHR)) {
1703 nfs4_create_rpc( vfs_context_t ctx, nfsnode_t dnp, struct componentname *cnp, struct vnode_attr *vap, int type, char *link, nfsnode_t *npp) argument
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Ddlil.c1205 int type = SOCK_RAW; local
1216 type = SOCK_STREAM;
1218 type = SOCK_DGRAM;
1227 type = SOCK_STREAM;
1229 type = SOCK_DGRAM;
1234 return (type);
/macosx-10.5.8/xnu-1228.15.4/osfmk/ipc/
H A Dipc_port.c1455 print_type_ports(type, dead)
1456 unsigned type;
1467 if (ip_kotype(port) == type &&
1642 * number of occurences of each message type, and the first
1922 iprintf("Active port type summary:\n");
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dproc_internal.h491 #define LCTX_LOCK_ASSERT(lc, type)
/macosx-10.5.8/xnu-1228.15.4/bsd/netkey/
H A Dkey.c304 #define LIST_INSERT_TAIL(head, elm, type, field) \
306 struct type *curelm = LIST_FIRST(head); \
1674 "key_msg2sp: invalid proto type=%u\n",
1797 ipseclog((LOG_DEBUG, "key_msg2sp: invalid policy type.\n"));
2048 ipseclog((LOG_DEBUG, "key_spdadd: Invalid policy type.\n"));
2063 * If the type is either SPDADD or SPDSETIDX AND a SP is found,
2151 * policies of type generate should be at the end of the SPD
2735 key_setdumpsp(sp, type, seq, pid)
2737 u_int8_t type;
2742 m = key_setsadbmsg(type,
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_syscalls.c175 u_long type; /* format of the complex file */ member in struct:mkcomplex_args
216 muap.type = uap->type;
268 error = copyinstr(uap->type, fstypename, MFSNAMELEN, &dummy);
361 /* XXXAUDIT: Should we capture the type on the error path as well? */
796 int type; local
811 for (type=0; type < MAXQUOTAS; type++) {
812 snprintf(qfpath, sizeof(qfpath), "%s/%s.%s", mp->mnt_vfsstat.f_mntonname, qfopsname, qfextension[type]);
2097 int type, indx, error; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/profiling/i386/
H A Dprofile-asm.s356 * Prof data type.
362 LCL(P_size) = LCL(P_overflow)+4 /* size of prof data type */
370 * Gprof data type.
378 LCL(G_size) = LCL(G_overflow)+4 /* size of gprof data type */
404 LCL(H_size) = LCL(H_cache_ptr)+LCL(H_csize) /* size of gprof header type */
470 LCL(type) = LCL(callback_size)+4 /* profile type (gprof, prof) */
471 LCL(error_msg) = LCL(type)+4 /* error message for perror */
/macosx-10.5.8/xnu-1228.15.4/osfmk/vm/
H A Dvm_map.c296 * or allow_stack_exec to enable data execution for that type of data area for that particular
3739 /* did we have a change of type? */
4968 /* tr3("enter: copy 0x%x type %d", copy, copy->type);*/
4973 switch (copy->type) {
5034 if (copy->type == VM_MAP_COPY_ENTRY_LIST) {
5049 copy->type = VM_MAP_COPY_OBJECT;
5280 if (copy->type == VM_MAP_COPY_KERNEL_BUFFER) {
5291 assert(copy->type == VM_MAP_COPY_ENTRY_LIST);
5664 copy->type
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dstart.s45 ; Definitions of the processor type table format, which drives this code.
175 addi r26,r26,ptSize ; Point to the next type
220 ; processor type or other things.
226 lwz r16,patchType(r11) ; Load the patch type
910 ; .long ptRptdProc - Processor type reported
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_vfsops.c1755 int cmd, type, error; local
1774 type = cmds & SUBCMDMASK;
1775 if ((u_int)type >= MAXQUOTAS)
1783 error = hfs_quotaon(p, mp, type, datap);
1787 error = hfs_quotaoff(p, mp, type);
1791 error = hfs_setquota(mp, uid, type, datap);
1795 error = hfs_setuse(mp, uid, type, datap);
1799 error = hfs_getquota(mp, uid, type, datap);
1807 error = hfs_quotastat(mp, type, datap);
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Datp_write.c416 ddp->type = DDP_ATP;
1177 ddp->type = DDP_ATP;
1510 ddp->type = DDP_ATP;

Completed in 273 milliseconds

1234567891011>>