Home
last modified time | relevance | path

Searched full:reuse (Results 1 – 25 of 619) sorted by relevance

12345678910>>...25

/linux/net/core/
H A Dsock_reuseport.c22 struct sock_reuseport *reuse, bool bind_inany);
26 struct sock_reuseport *reuse; in reuseport_has_conns_set() local
32 reuse = rcu_dereference_protected(sk->sk_reuseport_cb, in reuseport_has_conns_set()
34 if (likely(reuse)) in reuseport_has_conns_set()
35 reuse->has_conns = 1; in reuseport_has_conns_set()
40 static void __reuseport_get_incoming_cpu(struct sock_reuseport *reuse) in __reuseport_get_incoming_cpu() argument
43 WRITE_ONCE(reuse->incoming_cpu, reuse->incoming_cpu + 1); in __reuseport_get_incoming_cpu()
46 static void __reuseport_put_incoming_cpu(struct sock_reuseport *reuse) in __reuseport_put_incoming_cpu() argument
49 WRITE_ONCE(reuse->incoming_cpu, reuse->incoming_cpu - 1); in __reuseport_put_incoming_cpu()
52 static void reuseport_get_incoming_cpu(struct sock *sk, struct sock_reuseport *reuse) in reuseport_get_incoming_cpu() argument
[all …]
/linux/include/net/
H A Dsock_reuseport.h21 * reuse->socks[] group.
49 struct sock_reuseport *reuse; in reuseport_has_conns() local
53 reuse = rcu_dereference(sk->sk_reuseport_cb); in reuseport_has_conns()
54 if (reuse && reuse->has_conns) in reuseport_has_conns()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tcpbpf_kern.c35 struct bpf_sock_ops *reuse = skops; in bpf_testcb() local
45 "%[reuse] = *(u32 *)(%[reuse] +96)" in bpf_testcb()
46 : [reuse] "+r"(reuse) in bpf_testcb()
H A Dtest_sockmap_listen.c121 int prog_reuseport(struct sk_reuseport_md *reuse) in prog_reuseport() argument
128 err = bpf_sk_select_reuseport(reuse, &sock_map, &zero, 0); in prog_reuseport()
130 err = bpf_sk_select_reuseport(reuse, &sock_hash, &zero, 0); in prog_reuseport()
/linux/drivers/rpmsg/
H A Dqcom_glink_trace.h185 …TP_PROTO(const char *remote, const char *channel, u16 lcid, u16 rcid, u32 iid, bool reuse, bool tx…
186 TP_ARGS(remote, channel, lcid, rcid, iid, reuse, tx),
193 __field(bool, reuse)
202 __entry->reuse = reuse;
205 TP_printk("%s remote: %s channel: %s[%u/%u] iid: %d reuse: %d",
212 __entry->reuse
/linux/tools/testing/selftests/net/
H A Dbind_bhash.c33 int sock_fd, reuse = 1, err; in bind_socket() local
52 err = setsockopt(sock_fd, SOL_SOCKET, opt, &reuse, sizeof(reuse)); in bind_socket()
H A Dtcp_port_share.c4 /* Tests for TCP port sharing (bind bucket reuse). */
133 * bound to it and blocking it from reuse is closed.
162 /* Bind to <bind_ip>:<SRC_PORT>. Block the port from reuse. */ in TEST_F()
182 /* Unbind from <bind_ip>:<SRC_PORT>. Unblock the port for reuse. */ in TEST_F()
194 /* Verify that a socket auto-bound during connect() blocks port reuse after
H A Dipv6_flowlabel_mgr.c276 EXPECT_TRUE(err) TH_LOG("expected reuse in non-exclusive mode to fail"); in TEST_F()
280 EXPECT_TRUE(err) TH_LOG("expected reuse in exclusive mode to fail too"); in TEST_F()
287 EXPECT_TRUE(err) TH_LOG("expected reuse to fail, due to linger"); in TEST_F()
293 EXPECT_TRUE(!err) TH_LOG("expected reuse to succeed after linger"); in TEST_F()
444 TH_LOG("expected reuse to fail, new linger time not over yet"); in TEST_F()
/linux/drivers/crypto/caam/
H A Derror.c134 { 0x34, "Size over/underflow (reuse mode)"},
140 { 0x44, "Unsupported or reserved frame format or SGHR = 1 (reuse mode)"},
141 { 0x45, "DHR correction underflow (reuse mode, single buffer format)"},
142 { 0x46, "Annotation length exceeds offset (reuse mode)"},
143 { 0x48, "Annotation output enabled but ASA limited by ASAR (reuse mode)"},
144 { 0x49, "Data offset correction exceeds input frame data length (reuse mode)"},
146 { 0x51, "Unsupported IF reuse mode"},
/linux/kernel/bpf/
H A Dreuseport_array.c212 * it must also be a SO_REUSEPORT sk (i.e. reuse cannot be NULL). in reuseport_array_update_check()
230 * The "osk" and "reuse" are protected by reuseport_lock.
237 struct sock_reuseport *reuse; in bpf_fd_reuseport_array_update_elem() local
287 reuse = rcu_dereference_protected(nsk->sk_reuseport_cb, in bpf_fd_reuseport_array_update_elem()
289 err = reuseport_array_update_check(array, nsk, osk, reuse, map_flags); in bpf_fd_reuseport_array_update_elem()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dpinning.c100 if (CHECK(map_id != map_id2, "check reuse", in test_pinning()
175 /* set pin paths so that nopinmap2 will attempt to reuse the map at in test_pinning()
225 /* remove the custom pin path to re-test it with reuse fd below */ in test_pinning()
236 /* test pinning at custom path with reuse fd */ in test_pinning()
254 if (CHECK(err, "reuse pinmap fd", "err %d errno %d\n", err, errno)) in test_pinning()
/linux/Documentation/driver-api/fpga/
H A Dintro.rst17 seek out a solution that expands the framework for broad reuse.
19 * Generally, when adding code, think of the future. Plan for reuse.
/linux/include/rdma/
H A Drdma_cm.h361 * rdma_set_reuseaddr - Allow the reuse of local addresses when binding
364 * @reuse: Value indicating if the bound address is reusable.
366 * Reuse must be set before an address is bound to the id.
368 int rdma_set_reuseaddr(struct rdma_cm_id *id, int reuse);
/linux/arch/mips/include/uapi/asm/
H A Dsocket.h24 #define SO_REUSEADDR 0x0004 /* Allow reuse of local addresses. */
33 #define SO_REUSEPORT 0x0200 /* Allow local address and port reuse. */
/linux/arch/loongarch/include/asm/
H A Dpgtable-bits.h12 #define _PAGE_ACCESSED_SHIFT 0 /* Reuse Valid for Accessed */
30 #define _PAGE_ACCESSED_SHIFT 0 /* Reuse Valid for Accessed */
/linux/tools/testing/selftests/liveupdate/
H A Ddo_kexec.sh8 set -- -l -s --reuse-cmdline "$KERNEL"
/linux/include/uapi/linux/
H A Dblkdev.h10 * It's a different number space from ioctl(), reuse the block's code 0x12.
/linux/include/uapi/linux/netfilter/
H A Dnf_log.h9 #define NF_LOG_NFLOG 0x10 /* Unsupported, don't reuse */
H A Dxt_LOG.h10 #define XT_LOG_NFLOG 0x10 /* Unsupported, don't reuse */
/linux/arch/m68k/include/uapi/asm/
H A Dbootinfo-virt.h16 /* No longer used -- replaced with BI_RNG_SEED -- but don't reuse this index:
/linux/drivers/gpu/drm/i915/
H A Di915_active.c145 /* Keep the MRU cached node for reuse */ in __active_retire()
156 /* Make the cached node available for reuse with any timeline */ in __active_retire()
241 * at all. We can reuse the last slot if it is empty, that is in __active_lookup()
770 * Try to reuse any existing barrier nodes already allocated for this in reuse_idle_barrier()
772 * node kept alive (as we reuse before parking). We prefer to reuse in reuse_idle_barrier()
887 * decoupled it from the rbtree, we can reuse the in i915_active_acquire_preallocate_barrier()
/linux/include/uapi/linux/netfilter_ipv4/
H A Dipt_LOG.h10 #define IPT_LOG_NFLOG 0x10 /* Unsupported, don't reuse */
/linux/arch/arm/boot/dts/socionext/
H A Duniphier-ld6b.dtsi11 * Reuse the PXs2 device tree with some properties overridden.
/linux/LICENSES/deprecated/
H A DCC0-1.033 works, reuse and redistribute as freely as possible in any form whatsoever
60 v. rights protecting the extraction, dissemination, use and reuse of data
/linux/arch/arm/boot/dts/marvell/
H A Darmada-388.dtsi10 * SATA ports. So we can reuse the dtsi of the Armada 385, override the pinctrl

12345678910>>...25