/net/ |
D | compat.c | 428 u32 a0, a1; in COMPAT_SYSCALL_DEFINE2() local 445 a1 = a[1]; in COMPAT_SYSCALL_DEFINE2() 449 ret = __sys_socket(a0, a1, a[2]); in COMPAT_SYSCALL_DEFINE2() 452 ret = __sys_bind(a0, compat_ptr(a1), a[2]); in COMPAT_SYSCALL_DEFINE2() 455 ret = __sys_connect(a0, compat_ptr(a1), a[2]); in COMPAT_SYSCALL_DEFINE2() 458 ret = __sys_listen(a0, a1); in COMPAT_SYSCALL_DEFINE2() 461 ret = __sys_accept4(a0, compat_ptr(a1), compat_ptr(a[2]), 0); in COMPAT_SYSCALL_DEFINE2() 464 ret = __sys_getsockname(a0, compat_ptr(a1), compat_ptr(a[2])); in COMPAT_SYSCALL_DEFINE2() 467 ret = __sys_getpeername(a0, compat_ptr(a1), compat_ptr(a[2])); in COMPAT_SYSCALL_DEFINE2() 470 ret = __sys_socketpair(a0, a1, a[2], compat_ptr(a[3])); in COMPAT_SYSCALL_DEFINE2() [all …]
|
D | socket.c | 2871 unsigned long a0, a1; in SYSCALL_DEFINE2() local 2892 a1 = a[1]; in SYSCALL_DEFINE2() 2896 err = __sys_socket(a0, a1, a[2]); in SYSCALL_DEFINE2() 2899 err = __sys_bind(a0, (struct sockaddr __user *)a1, a[2]); in SYSCALL_DEFINE2() 2902 err = __sys_connect(a0, (struct sockaddr __user *)a1, a[2]); in SYSCALL_DEFINE2() 2905 err = __sys_listen(a0, a1); in SYSCALL_DEFINE2() 2908 err = __sys_accept4(a0, (struct sockaddr __user *)a1, in SYSCALL_DEFINE2() 2913 __sys_getsockname(a0, (struct sockaddr __user *)a1, in SYSCALL_DEFINE2() 2918 __sys_getpeername(a0, (struct sockaddr __user *)a1, in SYSCALL_DEFINE2() 2922 err = __sys_socketpair(a0, a1, a[2], (int __user *)a[3]); in SYSCALL_DEFINE2() [all …]
|
/net/rds/ |
D | threads.c | 271 const __be64 *a1, *a2; in rds_addr_cmp() local 274 a1 = (__be64 *)addr1; in rds_addr_cmp() 277 if (*a1 != *a2) { in rds_addr_cmp() 278 if (be64_to_cpu(*a1) < be64_to_cpu(*a2)) in rds_addr_cmp() 283 x = be64_to_cpu(*++a1); in rds_addr_cmp()
|
D | rds.h | 1004 int rds_addr_cmp(const struct in6_addr *a1, const struct in6_addr *a2);
|
/net/bluetooth/bnep/ |
D | core.c | 178 u8 a1[6], *a2; in bnep_ctrl_set_mcfilter() local 180 memcpy(a1, data, ETH_ALEN); in bnep_ctrl_set_mcfilter() 185 BT_DBG("mc filter %pMR -> %pMR", a1, a2); in bnep_ctrl_set_mcfilter() 188 set_bit(bnep_mc_hash(a1), (ulong *) &s->mc_filter); in bnep_ctrl_set_mcfilter() 189 while (memcmp(a1, a2, 6) < 0 && s->mc_filter != ~0LL) { in bnep_ctrl_set_mcfilter() 192 while (i >= 0 && ++a1[i--] == 0) in bnep_ctrl_set_mcfilter() 195 set_bit(bnep_mc_hash(a1), (ulong *) &s->mc_filter); in bnep_ctrl_set_mcfilter()
|
/net/netfilter/ |
D | xt_policy.c | 22 xt_addr_cmp(const union nf_inet_addr *a1, const union nf_inet_addr *m, in xt_addr_cmp() argument 27 return ((a1->ip ^ a2->ip) & m->ip) == 0; in xt_addr_cmp() 29 return ipv6_masked_addr_cmp(&a1->in6, &m->in6, &a2->in6) == 0; in xt_addr_cmp()
|
/net/sched/ |
D | sch_netem.c | 133 u32 a1; /* p13 for 4-states or p for GE */ member 220 } else if (clg->a4 < rnd && rnd < clg->a1 + clg->a4) { in loss_4state() 223 } else if (clg->a1 + clg->a4 < rnd) { in loss_4state() 271 if (prandom_u32() < clg->a1) in loss_gilb_ell() 879 q->clg.a1 = gi->p13; in get_loss_clg() 897 q->clg.a1 = ge->p; in get_loss_clg() 1100 .p13 = q->clg.a1, in dump_loss_model() 1113 .p = q->clg.a1, in dump_loss_model()
|
/net/bluetooth/ |
D | smp.c | 233 const u8 n1[16], const u8 n2[16], const u8 a1[7], in smp_f5() 251 SMP_DBG("a1 %7phN a2 %7phN", a1, a2); in smp_f5() 261 memcpy(m + 9, a1, 7); in smp_f5() 287 const u8 io_cap[3], const u8 a1[7], const u8 a2[7], in smp_f6() 295 SMP_DBG("r %16phN io_cap %3phN a1 %7phN a2 %7phN", r, io_cap, a1, a2); in smp_f6() 298 memcpy(m + 7, a1, 7); in smp_f6() 3654 const u8 a1[7] = { 0xce, 0xbf, 0x37, 0x37, 0x12, 0x56, 0x00 }; in test_f5() local 3665 err = smp_f5(tfm_cmac, w, n1, n2, a1, a2, mackey, ltk); in test_f5() 3693 const u8 a1[7] = { 0xce, 0xbf, 0x37, 0x37, 0x12, 0x56, 0x00 }; in test_f6() local 3701 err = smp_f6(tfm_cmac, w, n1, n2, r, io_cap, a1, a2, res); in test_f6()
|
/net/ipv4/ |
D | inet_diag.c | 624 static int bitstring_match(const __be32 *a1, const __be32 *a2, int bits) in bitstring_match() argument 631 if (memcmp(a1, a2, words << 2)) in bitstring_match() 638 w1 = a1[words]; in bitstring_match()
|