Searched refs:p2 (Results 1 - 25 of 27) sorted by relevance

12

/darwin-on-arm/xnu/bsd/libkern/
H A Dbcmp.c79 register char *p1, *p2; local
84 p2 = (char *)b2;
86 if (*p1++ != *p2++)
/darwin-on-arm/xnu/bsd/net/
H A Dkext_net.c278 static int sym_fix_sbflush(struct sockbuf *p1, struct kextcb *p2) argument
280 if (p2->e_fcb != NULL && g_symantec_util_funcs)
281 return g_symantec_util_funcs->su_sbflush(p1, p2);
286 static int sym_fix_sbappend(struct sockbuf *p1, struct mbuf *p2, struct kextcb *p3) argument
289 return g_symantec_util_funcs->su_sbappend(p1, p2, p3);
294 static int sym_fix_soclose(struct socket *p1, struct kextcb *p2) argument
296 if (p2->e_fcb != NULL && g_symantec_if_funcs)
297 return g_symantec_if_funcs->sf_soclose(p1, p2);
302 static int sym_fix_sofree(struct socket *p1, struct kextcb *p2) argument
304 if (p2
310 sym_fix_soconnect(struct socket *p1, struct sockaddr *p2, struct kextcb *p3) argument
318 sym_fix_soisconnected(struct socket *p1, struct kextcb *p2) argument
326 sym_fix_sosend(struct socket *p1, struct sockaddr **p2, struct uio **p3, struct mbuf **p4, struct mbuf **p5, int *p6, struct kextcb *p7) argument
335 sym_fix_socantrcvmore(struct socket *p1, struct kextcb *p2) argument
343 sym_fix_socontrol(struct socket *p1, struct sockopt *p2, struct kextcb *p3) argument
[all...]
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_symfile.c86 static int file_ioctl(void * p1, void * p2, u_long theIoctl, caddr_t result) argument
91 (device, theIoctl, result, S_IFBLK, p2));
94 static int device_ioctl(void * p1, __unused void * p2, u_long theIoctl, caddr_t result) argument
96 return (VNOP_IOCTL(p1, theIoctl, result, 0, p2));
103 int (*do_ioctl)(void * p1, void * p2, u_long theIoctl, caddr_t result);
105 void * p2; local
118 p2 = kernproc;
125 p2 = ref->ctx;
152 error = do_ioctl(p1, p2, theIoctl, (caddr_t)&unmap);
160 error = do_ioctl(p1, p2, theIoct
211 void * p2 = NULL; local
484 void * p2; local
[all...]
H A Dtty.c143 static int proc_compare(proc_t p1, proc_t p2);
2882 * Returns 1 if p2 is "better" than p1
2900 * Locks: pgrp_lock(p2) held on call to this function
2901 * tty_lock(tp) for p2's tty, for which p2 is the foreground
2905 proc_compare(proc_t p1, proc_t p2) argument
2914 switch (TESTAB(ISRUN(p1), ISRUN(p2))) {
2925 if (p2->p_estcpu > p1->p_estcpu)
2927 if (p1->p_estcpu > p2->p_estcpu)
2930 return (p2
[all...]
H A Dsysv_shm.c900 shmfork(struct proc *p1, struct proc *p2) argument
917 p2->vm_shm = (caddr_t)shmmap_s;
/darwin-on-arm/xnu/tools/tests/superpages/
H A Dmeasure_tlbs.c25 unsigned int run, p, p2, i, res; local
83 p2 = p % (pages*PAGE_SIZE/NODE_SIZE);
84 //printf("p2 = %d\n", p2);
86 data[p2*NODE_SIZE+i] = run & 0xFF;
92 p2 = p % (pages*PAGE_SIZE/NODE_SIZE);
94 sum += data[p2*NODE_SIZE+i];
/darwin-on-arm/xnu/pexpert/pexpert/
H A Dprotos.h81 extern int StartIOKit( void * p1, void * p2, void * p3, void * p4);
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOStartIOKit.cpp127 void StartIOKit( void * p1, void * p2, void * p3, void * p4 ) argument
158 if( rootNub && rootNub->initWithArgs( p1, p2, p3, p4)) {
H A DIOPlatformExpert.cpp1368 void * dtTop, void * p2, void * p3, void * p4 )
1388 argsData[ 1 ] = p2;
1367 initWithArgs( void * dtTop, void * p2, void * p3, void * p4 ) argument
H A DIOHibernateRestoreKernel.c413 uint32_t p2, uint32_t p3, uint32_t p4)
412 hibernate_kernel_entrypoint(uint32_t p1, uint32_t p2, uint32_t p3, uint32_t p4) argument
H A DIOService.cpp1676 void * p2 = 0, void * p3 = 0 )
1682 wl->runAction( action, service, p0, p1, p2, p3 );
1685 (*action)( service, p0, p1, p2, p3 );
/darwin-on-arm/xnu/iokit/IOKit/
H A DIOUserClient.h63 typedef IOReturn (IOService::*IOMethod)(void * p1, void * p2, void * p3,
67 void * p1, void * p2, void * p3,
70 typedef IOReturn (IOService::*IOTrap)(void * p1, void * p2, void * p3,
H A DIOHibernatePrivate.h385 hibernate_machine_entrypoint(uint32_t p1, uint32_t p2, uint32_t p3, uint32_t p4);
387 hibernate_kernel_entrypoint(uint32_t p1, uint32_t p2, uint32_t p3, uint32_t p4);
H A DIOPlatformExpert.h286 virtual bool initWithArgs( void * p1, void * p2,
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_utfconv.c1024 u_int32_t p1, p2; local
1034 p2 = get_combining_class(*ch1);
1036 p1 = p2;
1037 p2 = get_combining_class(*ch2);
1038 if (p1 > p2 && p2 != 0) {
1047 * Make sure that p2 contains the combining class for the
1053 p2 = p1;
/darwin-on-arm/xnu/osfmk/kern/
H A Dprintf.c413 register const char *p2; local
425 p2 = p;
430 p = p2;
/darwin-on-arm/xnu/osfmk/x86_64/
H A Dloose_ends.c480 const unsigned char *p1 = s1, *p2 = s2; local
483 if (*p1++ != *p2++)
484 return (*--p1 - *--p2);
/darwin-on-arm/xnu/osfmk/i386/
H A Dloose_ends.c495 const unsigned char *p1 = s1, *p2 = s2; local
498 if (*p1++ != *p2++)
499 return (*--p1 - *--p2);
/darwin-on-arm/xnu/bsd/netat/
H A Dsys_glue.c827 void atalk_settrace(char * str, p1, p2, p3, p4, p5)
833 sprintf(trace_buf, str, p1, p2, p3, p4, p5);
/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dlibmicro.c1184 doublecmp(const void *p1, const void *p2) argument
1187 double b = *((double *)p2);
/darwin-on-arm/xnu/SETUP/config/
H A Dmkioconf.c68 char *concat3(char *buf, const char *p1, const char *p2, const char *p3);
1479 concat3(char *buf, const char *p1, const char *p2, const char *p3) argument
1481 (void) sprintf(buf, "%s%s%s", p1, p2, p3);
/darwin-on-arm/xnu/bsd/netinet6/
H A Din6.c2880 in6_are_prefix_equal(p1, p2, len)
2881 struct in6_addr *p1, *p2;
2896 if (bcmp(&p1->s6_addr, &p2->s6_addr, bytelen))
2900 p2->s6_addr[bytelen] >> (8 - bitlen))
H A Din6_var.h950 extern int in6_are_prefix_equal(struct in6_addr *p1, struct in6_addr *p2,
/darwin-on-arm/xnu/osfmk/mach/
H A Dmach_traps.h687 PAD_ARG_(void *, p2);
/darwin-on-arm/xnu/bsd/netkey/
H A Dkey.c5146 caddr_t p2,
5155 if (p1 == NULL || p2 == NULL)
5156 return (p1 == p2);
5159 if (*p1++ != *p2++)
5166 if ((*p1 & mask) != (*p2 & mask))
5144 key_bbcmp( caddr_t p1, caddr_t p2, u_int bits) argument

Completed in 117 milliseconds

12