Home
last modified time | relevance | path

Searched refs:a1 (Results 1 – 9 of 9) sorted by relevance

/net/
Dcompat.c723 u32 a0, a1; in COMPAT_SYSCALL_DEFINE2() local
740 a1 = a[1]; in COMPAT_SYSCALL_DEFINE2()
744 ret = __sys_socket(a0, a1, a[2]); in COMPAT_SYSCALL_DEFINE2()
747 ret = __sys_bind(a0, compat_ptr(a1), a[2]); in COMPAT_SYSCALL_DEFINE2()
750 ret = __sys_connect(a0, compat_ptr(a1), a[2]); in COMPAT_SYSCALL_DEFINE2()
753 ret = __sys_listen(a0, a1); in COMPAT_SYSCALL_DEFINE2()
756 ret = __sys_accept4(a0, compat_ptr(a1), compat_ptr(a[2]), 0); in COMPAT_SYSCALL_DEFINE2()
759 ret = __sys_getsockname(a0, compat_ptr(a1), compat_ptr(a[2])); in COMPAT_SYSCALL_DEFINE2()
762 ret = __sys_getpeername(a0, compat_ptr(a1), compat_ptr(a[2])); in COMPAT_SYSCALL_DEFINE2()
765 ret = __sys_socketpair(a0, a1, a[2], compat_ptr(a[3])); in COMPAT_SYSCALL_DEFINE2()
[all …]
Dsocket.c2822 unsigned long a0, a1; in SYSCALL_DEFINE2() local
2843 a1 = a[1]; in SYSCALL_DEFINE2()
2847 err = __sys_socket(a0, a1, a[2]); in SYSCALL_DEFINE2()
2850 err = __sys_bind(a0, (struct sockaddr __user *)a1, a[2]); in SYSCALL_DEFINE2()
2853 err = __sys_connect(a0, (struct sockaddr __user *)a1, a[2]); in SYSCALL_DEFINE2()
2856 err = __sys_listen(a0, a1); in SYSCALL_DEFINE2()
2859 err = __sys_accept4(a0, (struct sockaddr __user *)a1, in SYSCALL_DEFINE2()
2864 __sys_getsockname(a0, (struct sockaddr __user *)a1, in SYSCALL_DEFINE2()
2869 __sys_getpeername(a0, (struct sockaddr __user *)a1, in SYSCALL_DEFINE2()
2873 err = __sys_socketpair(a0, a1, a[2], (int __user *)a[3]); in SYSCALL_DEFINE2()
[all …]
/net/rds/
Dthreads.c271 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()
Drds.h1002 int rds_addr_cmp(const struct in6_addr *a1, const struct in6_addr *a2);
/net/bluetooth/bnep/
Dcore.c178 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/
Dxt_policy.c22 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/
Dsch_netem.c133 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()
883 q->clg.a1 = gi->p13; in get_loss_clg()
901 q->clg.a1 = ge->p; in get_loss_clg()
1098 .p13 = q->clg.a1, in dump_loss_model()
1111 .p = q->clg.a1, in dump_loss_model()
/net/bluetooth/
Dsmp.c237 const u8 n1[16], const u8 n2[16], const u8 a1[7], in smp_f5()
255 SMP_DBG("a1 %7phN a2 %7phN", a1, a2); in smp_f5()
265 memcpy(m + 9, a1, 7); in smp_f5()
291 const u8 io_cap[3], const u8 a1[7], const u8 a2[7], in smp_f6()
299 SMP_DBG("r %16phN io_cap %3phN a1 %7phN a2 %7phN", r, io_cap, a1, a2); in smp_f6()
302 memcpy(m + 7, a1, 7); in smp_f6()
3675 const u8 a1[7] = { 0xce, 0xbf, 0x37, 0x37, 0x12, 0x56, 0x00 }; in test_f5() local
3686 err = smp_f5(tfm_cmac, w, n1, n2, a1, a2, mackey, ltk); in test_f5()
3714 const u8 a1[7] = { 0xce, 0xbf, 0x37, 0x37, 0x12, 0x56, 0x00 }; in test_f6() local
3722 err = smp_f6(tfm_cmac, w, n1, n2, r, io_cap, a1, a2, res); in test_f6()
/net/ipv4/
Dinet_diag.c528 static int bitstring_match(const __be32 *a1, const __be32 *a2, int bits) in bitstring_match() argument
535 if (memcmp(a1, a2, words << 2)) in bitstring_match()
542 w1 = a1[words]; in bitstring_match()