Searched refs:one (Results 1 - 25 of 166) sorted by relevance

1234567

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtrace_vprintk.c18 static const char one[] = "1"; local
29 one, 2, three, 4, five, 6, seven, 8, nine, 10, ++trace_vprintk_ran);
H A Dconnect4_prog.c112 int zero = 0, one = 1; local
114 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_KEEPALIVE, &one, sizeof(one)))
117 if (bpf_setsockopt(ctx, SOL_TCP, TCP_KEEPIDLE, &one, sizeof(one)))
119 if (bpf_setsockopt(ctx, SOL_TCP, TCP_KEEPINTVL, &one, sizeof(one)))
121 if (bpf_setsockopt(ctx, SOL_TCP, TCP_KEEPCNT, &one, sizeof(one)))
123 if (bpf_setsockopt(ctx, SOL_TCP, TCP_SYNCNT, &one, sizeo
[all...]
H A Dtest_mmap.c30 int zero = 0, one = 1, two = 2, far = 1500; local
42 bpf_map_update_elem(&data_map, &one, &val, 0);
H A Dtest_sockmap_kern.h158 const int one = 1; local
160 f = bpf_map_lookup_elem(&sock_skb_opts, &one);
180 f = bpf_map_lookup_elem(&sock_skb_opts, &one);
239 int *bytes, zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5; local
249 end = bpf_map_lookup_elem(&sock_bytes, &one);
269 int zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5, key = 0; local
282 end = bpf_map_lookup_elem(&sock_bytes, &one);
354 int zero = 0, one = 1, two = 2, three = 3, four = 4, five = 5, err = 0; local
363 end = bpf_map_lookup_elem(&sock_bytes, &one);
/linux-master/lib/
H A Datomic64_test.c95 i, (i) + one, (i) + one); \
101 i, (i) - one, (i) - one); \
109 int one = 1; local
115 TEST(, add, +=, -one);
117 TEST(, sub, -=, -one);
124 RETURN_FAMILY_TEST(, add_return, +=, -one);
126 RETURN_FAMILY_TEST(, sub_return, -=, -one);
129 FETCH_FAMILY_TEST(, fetch_add, +=, -one);
154 long long one = 1LL; local
[all...]
H A Dstackinit_kunit.c90 zero.one = 0; \
107 #define __static_all { .one = 0, \
113 #define __dynamic_all { .one = arg->one, \
119 #define __runtime_all var.one = 0; \
256 unsigned long one; member in struct:test_packed
264 size_t one; member in struct:test_small_hole
273 u8 one; member in struct:test_big_hole
281 char *one; member in struct:test_trailing_hole
290 u8 one; member in struct:test_user
[all...]
/linux-master/tools/testing/selftests/net/
H A Dsk_bind_sendto_listen.c10 int fd1, fd2, one = 1; local
27 if (setsockopt(fd1, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one))) {
49 if (setsockopt(fd2, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one))) {
H A Dsk_connect_zero_addr.c10 int fd1, fd2, one = 1; local
27 if (setsockopt(fd1, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one))) {
H A Dtcp_inq.c83 /* TCP_INQ can overestimate in-queue by one byte if we send
99 int c, one = 1, inq = -1; local
129 &one, sizeof(one)) != 0)
146 if (setsockopt(fd, SOL_TCP, TCP_INQ, &one, sizeof(one)) != 0)
H A Dipv6_flowlabel.c215 const int one = 1; local
243 if (setsockopt(fdr, SOL_IPV6, IPV6_FLOWINFO, &one, sizeof(one)))
259 if (setsockopt(fdt, SOL_IPV6, IPV6_FLOWINFO_SEND, &one,
260 sizeof(one)) == -1)
H A Dnettest.c423 int one = 1; local
426 rc = setsockopt(sd, SOL_IP, IP_PKTINFO, &one, sizeof(one));
435 int one = 1; local
438 rc = setsockopt(sd, SOL_IPV6, IPV6_RECVPKTINFO, &one, sizeof(one));
447 int one = 1; local
450 rc = setsockopt(sd, SOL_IP, IP_RECVERR, &one, sizeof(one));
459 int one local
526 unsigned int one = 1; local
549 unsigned int one = 1; local
562 unsigned int one = 1; local
575 unsigned int one = 1; local
618 unsigned int one = 1; local
1343 int one = 1; local
[all...]
/linux-master/arch/s390/include/asm/
H A Dschid.h13 schid->one = 1;
/linux-master/arch/s390/include/uapi/asm/
H A Dschid.h14 __u32 one : 1; member in struct:subchannel_id
/linux-master/tools/testing/selftests/netfilter/
H A Dconnect_close.c53 int c, one = 1, s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); local
58 setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one));
59 setsockopt(s, SOL_SOCKET, SO_REUSEPORT, &one, sizeof(one));
/linux-master/arch/arm/boot/dts/intel/pxa/
H A DMakefile7 pxa300-raumfeld-speaker-one.dtb \
/linux-master/scripts/dtc/include-prefixes/arm/intel/pxa/
H A DMakefile7 pxa300-raumfeld-speaker-one.dtb \
/linux-master/tools/testing/selftests/seccomp/
H A Dseccomp_benchmark.c85 double one = i_one, one_bump = one * 0.1; local
88 one_bump = one + MAX(one_bump, 2.0);
92 if (one == two ||
93 (one > two && one <= two_bump) ||
94 (two > one && two <= one_bump))
107 unsigned long long one, bool (*eval)(int, int), unsigned long long two,
119 (long long)one, name_eval, (long long)two);
120 if (one > INT_MA
106 compare(const char *name_one, const char *name_eval, const char *name_two, unsigned long long one, bool (*eval)(int, int), unsigned long long two, bool skip) argument
[all...]
/linux-master/drivers/tty/serial/
H A Dsc16is7xx.c365 struct sc16is7xx_one *one = to_sc16is7xx_one(port, port); local
368 regmap_read(one->regmap, reg, &val);
375 struct sc16is7xx_one *one = to_sc16is7xx_one(port, port); local
377 regmap_write(one->regmap, reg, val);
382 struct sc16is7xx_one *one = to_sc16is7xx_one(port, port); local
384 regmap_noinc_read(one->regmap, SC16IS7XX_RHR_REG, rxbuf, rxlen);
389 struct sc16is7xx_one *one = to_sc16is7xx_one(port, port); local
398 regmap_noinc_write(one->regmap, SC16IS7XX_THR_REG, txbuf, to_send);
404 struct sc16is7xx_one *one = to_sc16is7xx_one(port, port); local
406 regmap_update_bits(one
432 struct sc16is7xx_one *one = to_sc16is7xx_one(port, port); local
448 struct sc16is7xx_one *one = to_sc16is7xx_one(port, port); local
462 struct sc16is7xx_one *one = to_sc16is7xx_one(port, port); local
475 struct sc16is7xx_one *one = to_sc16is7xx_one(port, port); local
559 struct sc16is7xx_one *one = to_sc16is7xx_one(port, port); local
742 sc16is7xx_update_mlines(struct sc16is7xx_one *one) argument
777 struct sc16is7xx_one *one = to_sc16is7xx_one(port, port); local
852 struct sc16is7xx_one *one = to_sc16is7xx_one(port, port); local
885 struct sc16is7xx_one *one = to_sc16is7xx_one(ws, reg_work); local
923 struct sc16is7xx_one *one = to_sc16is7xx_one(ws, ms_work.work); local
937 struct sc16is7xx_one *one = to_sc16is7xx_one(port, port); local
948 struct sc16is7xx_one *one = to_sc16is7xx_one(port, port); local
987 struct sc16is7xx_one *one = to_sc16is7xx_one(port, port); local
996 struct sc16is7xx_one *one = to_sc16is7xx_one(port, port); local
1013 struct sc16is7xx_one *one = to_sc16is7xx_one(port, port); local
1116 struct sc16is7xx_one *one = to_sc16is7xx_one(port, port); local
1136 struct sc16is7xx_one *one = to_sc16is7xx_one(port, port); local
1205 struct sc16is7xx_one *one = to_sc16is7xx_one(port, port); local
[all...]
H A Dmax310x.c316 struct max310x_one *one = to_max310x_port(port); local
319 regmap_read(one->regmap, reg, &val);
326 struct max310x_one *one = to_max310x_port(port); local
328 regmap_write(one->regmap, reg, val);
333 struct max310x_one *one = to_max310x_port(port); local
335 regmap_update_bits(one->regmap, reg, mask, val);
640 struct max310x_one *one = to_max310x_port(port); local
642 regmap_noinc_write(one->regmap, MAX310X_THR_REG, txbuf, len);
647 struct max310x_one *one = to_max310x_port(port); local
649 regmap_noinc_read(one
654 struct max310x_one *one = to_max310x_port(port); local
791 struct max310x_one *one = to_max310x_port(port); local
852 struct max310x_one *one = container_of(ws, struct max310x_one, tx_work); local
875 struct max310x_one *one = container_of(ws, struct max310x_one, md_work); local
885 struct max310x_one *one = to_max310x_port(port); local
1011 struct max310x_one *one = container_of(ws, struct max310x_one, rs_work); local
1034 struct max310x_one *one = to_max310x_port(port); local
[all...]
/linux-master/samples/bpf/
H A Dtrace_event_kern.c47 u64 *val, one = 1; local
75 bpf_map_update_elem(&counts, &key, &one, BPF_NOEXIST);
/linux-master/drivers/misc/lkdtm/
H A Dusercopy.c137 unsigned char *one, *two; local
142 one = kmalloc(size, GFP_KERNEL);
144 if (!one || !two) {
157 memset(one, 'A', size);
161 test_kern_addr = one + 16;
194 kfree(one);
H A Dheap.c32 char *one, *two; local
34 one = vzalloc(PAGE_SIZE);
35 OPTIMIZER_HIDE_VAR(one);
39 memset(one, 0xAA, PAGE_SIZE + __offset);
42 vfree(one);
/linux-master/tools/perf/tests/
H A Dcpumap.c107 /* This one is better stored in a mask. */
115 /* This one is better stored in cpu values. */
123 /* This one is better stored as a range. */
217 struct perf_cpu_map *one = perf_cpu_map__new("1"); local
219 struct perf_cpu_map *empty = perf_cpu_map__intersect(one, two);
222 struct perf_cpu_map *maps[] = {empty, any, one, two, pair};
236 tmp = perf_cpu_map__merge(perf_cpu_map__get(one), two);
240 tmp = perf_cpu_map__intersect(pair, one);
241 TEST_ASSERT_VAL("one", perf_cpu_map__equal(one, tm
[all...]
/linux-master/drivers/media/radio/
H A Dradio-rtrack2.c60 static void one(struct radio_isa_card *isa) function
82 one(isa);
/linux-master/arch/alpha/lib/
H A Dstrncpy.S62 stq_u $31, 0($16) # zero one word

Completed in 863 milliseconds

1234567