| /linux/net/core/ |
| H A D | sock_reuseport.c | 22 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 D | sock_reuseport.h | 21 * 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 D | test_tcpbpf_kern.c | 35 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 D | test_sockmap_listen.c | 121 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 D | qcom_glink_trace.h | 185 …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 D | bind_bhash.c | 33 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 D | tcp_port_share.c | 4 /* 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 D | ipv6_flowlabel_mgr.c | 276 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 D | error.c | 134 { 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 D | reuseport_array.c | 212 * 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 D | pinning.c | 100 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 D | intro.rst | 17 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 D | rdma_cm.h | 361 * 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 D | socket.h | 24 #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 D | pgtable-bits.h | 12 #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 D | do_kexec.sh | 8 set -- -l -s --reuse-cmdline "$KERNEL"
|
| /linux/include/uapi/linux/ |
| H A D | blkdev.h | 10 * It's a different number space from ioctl(), reuse the block's code 0x12.
|
| /linux/include/uapi/linux/netfilter/ |
| H A D | nf_log.h | 9 #define NF_LOG_NFLOG 0x10 /* Unsupported, don't reuse */
|
| H A D | xt_LOG.h | 10 #define XT_LOG_NFLOG 0x10 /* Unsupported, don't reuse */
|
| /linux/arch/m68k/include/uapi/asm/ |
| H A D | bootinfo-virt.h | 16 /* No longer used -- replaced with BI_RNG_SEED -- but don't reuse this index:
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_active.c | 145 /* 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 D | ipt_LOG.h | 10 #define IPT_LOG_NFLOG 0x10 /* Unsupported, don't reuse */
|
| /linux/arch/arm/boot/dts/socionext/ |
| H A D | uniphier-ld6b.dtsi | 11 * Reuse the PXs2 device tree with some properties overridden.
|
| /linux/LICENSES/deprecated/ |
| H A D | CC0-1.0 | 33 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 D | armada-388.dtsi | 10 * SATA ports. So we can reuse the dtsi of the Armada 385, override the pinctrl
|