Home
last modified time | relevance | path

Searched refs:reuse (Results 1 – 25 of 90) sorted by relevance

1234

/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/mm/
H A Dhugetlb_vmemmap.c238 * How many struct page structs need to be reset. When we reuse the head
286 * @reuse: reuse address.
291 unsigned long reuse) in vmemmap_remap_split() argument
299 BUG_ON(start - reuse != PAGE_SIZE); in vmemmap_remap_split()
301 return vmemmap_remap_range(reuse, end, &walk); in vmemmap_remap_split()
306 * to the page which @reuse is mapped to, then free vmemmap
312 * @reuse: reuse address.
320 unsigned long reuse, in vmemmap_remap_free() argument
425 vmemmap_remap_alloc(unsigned long start,unsigned long end,unsigned long reuse,unsigned long flags) vmemmap_remap_alloc() argument
[all...]
/linux/include/net/
H A Dsock_reuseport.h49 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()
H A Dtcp.h621 struct sock_reuseport *reuse; in tcp_synq_overflow() local
623 reuse = rcu_dereference(sk->sk_reuseport_cb); in tcp_synq_overflow()
624 if (likely(reuse)) { in tcp_synq_overflow()
625 last_overflow = READ_ONCE(reuse->synq_overflow_ts); in tcp_synq_overflow()
628 WRITE_ONCE(reuse->synq_overflow_ts, now); in tcp_synq_overflow()
645 struct sock_reuseport *reuse; in tcp_synq_no_recent_overflow() local
647 reuse = rcu_dereference(sk->sk_reuseport_cb); in tcp_synq_no_recent_overflow()
648 if (likely(reuse)) { in tcp_synq_no_recent_overflow()
649 last_overflow = READ_ONCE(reuse->synq_overflow_ts); in tcp_synq_no_recent_overflow()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_tcpbpf_kern.c35 struct bpf_sock_ops *reuse = skops; in bpf_testcb() local
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/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 Dbind_wildcard.c742 int i, int reuse) in bind_socket() argument
754 if (i < 2 && reuse) { in bind_socket()
755 ret = setsockopt(self->fd[i], SOL_SOCKET, reuse, &(int){1}, sizeof(int)); in bind_socket()
763 if (reuse) { in bind_socket()
/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;
212 __entry->reuse
H A Dqcom_glink_native.c79 bool reuse; member
275 if (!intent->reuse) { in qcom_glink_channel_release()
568 bool reuse; in qcom_glink_rx_done_work() local
576 reuse = intent->reuse; in qcom_glink_rx_done_work()
578 cmd.id = reuse ? GLINK_CMD_RX_DONE_W_REUSE : GLINK_CMD_RX_DONE; in qcom_glink_rx_done_work()
583 channel->lcid, channel->rcid, cmd.liid, reuse); in qcom_glink_rx_done_work()
586 if (!reuse) { in qcom_glink_rx_done_work()
607 if (!intent->reuse) { in qcom_glink_rx_done()
775 intent->reuse = reuseable; in qcom_glink_alloc_intent()
788 bool reuse) in qcom_glink_handle_rx_done() argument
[all …]
/linux/kernel/bpf/
H A Dreuseport_array.c237 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/liveupdate/
H A Ddo_kexec.sh8 set -- -l -s --reuse-cmdline "$KERNEL"
/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/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
/linux/drivers/net/ethernet/engleder/
H A Dtsnep_main.c1169 static int tsnep_rx_alloc(struct tsnep_rx *rx, int count, bool reuse) in tsnep_rx_alloc() argument
1182 if (i == 0 && reuse) in tsnep_rx_alloc()
1197 static int tsnep_rx_refill(struct tsnep_rx *rx, int count, bool reuse) in tsnep_rx_refill() argument
1201 desc_refilled = tsnep_rx_alloc(rx, count, reuse); in tsnep_rx_refill()
1226 static int tsnep_rx_alloc_zc(struct tsnep_rx *rx, int count, bool reuse) in tsnep_rx_alloc_zc() argument
1242 if (reuse) { in tsnep_rx_alloc_zc()
1267 static int tsnep_rx_refill_zc(struct tsnep_rx *rx, int count, bool reuse) in tsnep_rx_refill_zc() argument
1271 desc_refilled = tsnep_rx_alloc_zc(rx, count, reuse); in tsnep_rx_refill_zc()
1469 bool reuse = desc_available >= TSNEP_RING_RX_REUSE; in tsnep_rx_poll() local
1472 reuse); in tsnep_rx_poll()
[all …]
/linux/include/xen/interface/io/
H A Dpvcalls.h59 uint8_t reuse; member
/linux/arch/arm/mach-omap1/
H A Dams-delta-fiq-handler.S155 @ r10 already contains 0, reuse it
180 @ r10 already contains 0, reuse it
/linux/tools/testing/ktest/examples/
H A DREADME27 to reuse configs for various machines or set ups. The files here
/linux/Documentation/userspace-api/
H A Dtee.rst16 any longer it should be unmapped with munmap() to allow the reuse of
/linux/crypto/asymmetric_keys/
H A Dpkcs7.asn186 -- sequence of attributes and then reuse encoded
/linux/Documentation/ABI/testing/
H A Dsysfs-kernel-mm-mempolicy-weighted-interleave44 will reuse those weights. If they were not previously set or
/linux/include/rdma/
H A Drdma_cm.h368 int rdma_set_reuseaddr(struct rdma_cm_id *id, int reuse);
/linux/Documentation/networking/device_drivers/fddi/
H A Ddefza.rst24 by providing means to reuse existing cabling.
/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/Documentation/sound/soc/
H A Doverview.rst33 * Codec independence. Allows reuse of codec drivers on other platforms

1234