Home
last modified time | relevance | path

Searched refs:cookies (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dbpf_cookie.c105 __u64 cookies[8]; in kprobe_multi_link_api_subtest() local
134 cookies[0] = 1; /* bpf_fentry_test1 */ in kprobe_multi_link_api_subtest()
135 cookies[1] = 2; /* bpf_fentry_test3 */ in kprobe_multi_link_api_subtest()
136 cookies[2] = 3; /* bpf_fentry_test4 */ in kprobe_multi_link_api_subtest()
137 cookies[3] = 4; /* bpf_fentry_test5 */ in kprobe_multi_link_api_subtest()
138 cookies[4] = 5; /* bpf_fentry_test6 */ in kprobe_multi_link_api_subtest()
139 cookies[5] = 6; /* bpf_fentry_test7 */ in kprobe_multi_link_api_subtest()
140 cookies[6] = 7; /* bpf_fentry_test2 */ in kprobe_multi_link_api_subtest()
141 cookies[7] = 8; /* bpf_fentry_test8 */ in kprobe_multi_link_api_subtest()
145 opts.kprobe_multi.cookies = (const __u64 *) &cookies; in kprobe_multi_link_api_subtest()
[all …]
Dkprobe_multi_test.c223 __u64 cookies[2]; in test_attach_api_fails() local
250 opts.cookies = NULL; in test_attach_api_fails()
264 opts.cookies = NULL; in test_attach_api_fails()
278 opts.cookies = NULL; in test_attach_api_fails()
292 opts.cookies = cookies; in test_attach_api_fails()
/linux-6.1.9/arch/sparc/include/asm/
Dldc.h108 struct ldc_trans_cookie *cookies, int ncookies,
113 struct ldc_trans_cookie *cookies, int ncookies,
116 void ldc_unmap(struct ldc_channel *lp, struct ldc_trans_cookie *cookies,
121 struct ldc_trans_cookie *cookies, int ncookies);
126 struct ldc_trans_cookie *cookies, in ldc_get_dring_entry() argument
129 return ldc_copy(lp, LDC_COPY_IN, buf, len, offset, cookies, ncookies); in ldc_get_dring_entry()
135 struct ldc_trans_cookie *cookies, in ldc_put_dring_entry() argument
138 return ldc_copy(lp, LDC_COPY_OUT, buf, len, offset, cookies, ncookies); in ldc_put_dring_entry()
142 struct ldc_trans_cookie *cookies,
147 struct ldc_trans_cookie *cookies, int ncookies);
Dvio.h73 struct ldc_trans_cookie cookies[]; member
164 struct ldc_trans_cookie cookies[]; member
249 struct ldc_trans_cookie cookies[]; member
268 return (struct vio_net_dext *)&desc->cookies[2]; in vio_net_ext()
284 struct ldc_trans_cookie cookies[VIO_MAX_RING_COOKIES]; member
/linux-6.1.9/Documentation/filesystems/caching/
Dfscache.rst104 * There are three types of cookie: cache, volume and data file cookies.
105 Cache cookies represent the cache as a whole and are not normally visible
108 data file cookies are used to cache data (something that would be got for
124 collection is employed to eliminate cookies that haven't been used for a
170 |Cookies |n=N |Number of data storage cookies allocated |
172 | |v=N |Number of volume index cookies allocated |
176 | |voom=N |Number of OOM events when allocating volume cookies |
184 |LRU |n=N |Number of cookies currently on the LRU |
186 | |exp=N |Number of cookies expired off of the LRU |
188 | |rmv=N |Number of cookies removed from the LRU |
[all …]
Dbackend-api.rst34 The cache backend and the network filesystem can both ask for cache cookies -
36 and data cookies, however, are created at the behest of the filesystem only.
42 Caches are represented in the API by cache cookies. These are objects of
117 Once all the cookies are withdrawn, a cache backend can withdraw all the
247 Data storage cookies are counted and this is used to block cache withdrawal
Dnetfs-api.rst48 cookie, hereafter referred to as "volume cookies" and "cookies".
138 data cookies obtained in this volume must be relinquished before the volume is
/linux-6.1.9/kernel/
Dkcmp.c37 static unsigned long cookies[KCMP_TYPES][2] __read_mostly; variable
41 return (v ^ cookies[type][0]) * cookies[type][1]; in kptr_obfuscate()
232 get_random_bytes(cookies, sizeof(cookies)); in kcmp_cookies_init()
235 cookies[i][1] |= (~(~0UL >> 1) | 1); in kcmp_cookies_init()
/linux-6.1.9/arch/sparc/kernel/
Dviohs.c207 u.pkt.cookies[i] = dr->cookies[i]; in send_dreg()
211 (unsigned long long) u.pkt.cookies[i].cookie_addr, in send_dreg()
212 (unsigned long long) u.pkt.cookies[i].cookie_size); in send_dreg()
466 dr->cookies[i] = pkt->cookies[i]; in process_dreg_info()
471 pkt->cookies[i].cookie_addr, in process_dreg_info()
473 pkt->cookies[i].cookie_size); in process_dreg_info()
485 if (send_ctrl(vio, &pkt->tag, struct_size(pkt, cookies, dr->ncookies)) < 0) in process_dreg_info()
Dldc.c2077 struct ldc_trans_cookie *cookies; member
2105 sp->cookies[sp->nc - 1].cookie_size += tlen; in fill_cookies()
2107 sp->cookies[sp->nc].cookie_addr = this_cookie; in fill_cookies()
2108 sp->cookies[sp->nc].cookie_size = tlen; in fill_cookies()
2149 struct ldc_trans_cookie *cookies, int ncookies, in ldc_map_sg() argument
2178 state.cookies = cookies; in ldc_map_sg()
2195 struct ldc_trans_cookie *cookies, int ncookies, in ldc_map_single() argument
2220 state.cookies = cookies; in ldc_map_single()
2245 void ldc_unmap(struct ldc_channel *lp, struct ldc_trans_cookie *cookies, in ldc_unmap() argument
2254 u64 addr = cookies[i].cookie_addr; in ldc_unmap()
[all …]
/linux-6.1.9/kernel/trace/
Dbpf_trace.c2453 u64 *cookies; member
2530 kvfree(kmulti_link->cookies); in bpf_kprobe_multi_link_dealloc()
2545 cookie_a = link->cookies + (addr_a - link->addrs); in bpf_kprobe_multi_cookie_swap()
2546 cookie_b = link->cookies + (addr_b - link->addrs); in bpf_kprobe_multi_cookie_swap()
2578 if (!link->cookies) in bpf_kprobe_multi_cookie()
2585 cookie = link->cookies + (addr - link->addrs); in bpf_kprobe_multi_cookie()
2646 u64 *cookies; member
2657 if (data->cookies) { in symbols_swap_r()
2660 cookie_a = data->cookies + (name_a - data->funcs); in symbols_swap_r()
2661 cookie_b = data->cookies + (name_b - data->funcs); in symbols_swap_r()
[all …]
/linux-6.1.9/drivers/net/ethernet/sun/
Dsunvnet_common.c403 desc->cookies, desc->ncookies); in vnet_rx_one()
527 dr->cookies, dr->ncookies); in get_rx_desc()
543 dr->cookies, dr->ncookies); in put_rx_desc()
570 desc->cookies[0].cookie_addr, in vnet_walk_rx_one()
571 desc->cookies[0].cookie_size); in vnet_walk_rx_one()
1022 port->tx_bufs[txi].cookies, in vnet_clean_tx_ring()
1065 struct ldc_trans_cookie *cookies, int ncookies, in vnet_skb_map() argument
1077 err = ldc_map_single(lp, skb->data - VNET_PACKET_SKIP, blen, cookies, in vnet_skb_map()
1092 blen, cookies + nc, ncookies - nc, in vnet_skb_map()
1100 ldc_unmap(lp, cookies, nc); in vnet_skb_map()
[all …]
Dsunvnet_common.h34 struct ldc_trans_cookie cookies[VNET_MAXCOOKIES]; member
/linux-6.1.9/tools/lib/bpf/
Dbpf.h319 const __u64 *cookies; member
327 #define bpf_link_create_opts__last_field kprobe_multi.cookies
Dbpf.c722 attr.link_create.kprobe_multi.cookies = ptr_to_u64(OPTS_GET(opts, kprobe_multi.cookies, 0)); in bpf_link_create()
Dlibbpf.h449 const __u64 *cookies; member
/linux-6.1.9/drivers/block/
Dsunvdc.c317 ldc_unmap(port->vio.lp, desc->cookies, desc->ncookies); in vdc_end_one()
497 desc->cookies, port->ring_cookies, in __send_request()
665 desc->cookies, port->ring_cookies, in generic_request()
726 dr->cookies, &ncookies, in vdc_alloc_tx_ring()
750 dr->cookies, dr->ncookies); in vdc_free_tx_ring()
1095 ldc_unmap(port->vio.lp, desc->cookies, desc->ncookies); in vdc_requeue_inflight()
/linux-6.1.9/tools/testing/selftests/net/mptcp/
Dmptcp_connect.sh506 cookies=$(ip netns exec ${listener_ns} sysctl net.ipv4.tcp_syncookies)
507 cookies=${cookies##*=}
550 if [ $cookies -eq 2 ];then
/linux-6.1.9/include/uapi/linux/
Drds.h407 __u32 cookies[RDS_MAX_ZCOOKIES]; member
/linux-6.1.9/net/ipv4/
DKconfig277 SYN cookies provide protection against this type of attack. If you
279 protocol known as "SYN cookies" to enable legitimate users to
282 SYN cookies work transparently to them. For technical information
283 about SYN cookies, check out <https://cr.yp.to/syncookies.html>.
290 SYN cookies may prevent correct error reporting on clients when the
294 If you say Y here, you can disable SYN cookies at run time by
/linux-6.1.9/net/rds/
Dmessage.c65 ck->cookies[ncookies] = cookie; in rds_zcookie_add()
/linux-6.1.9/Documentation/security/
Dsiphash.rst16 sequence numbers, secure cookies, or mask it off for use in a hash table.
/linux-6.1.9/Documentation/userspace-api/media/drivers/
Dcx2341x-uapi.rst162 After these magic cookies (and the 8 byte bitmask in case of cookie 'itv0') the
/linux-6.1.9/tools/testing/selftests/net/
Dmsg_zerocopy.c355 fprintf(stderr, "%d\n", ck->cookies[i]); in do_process_zerocopy_cookies()
/linux-6.1.9/fs/reiserfs/
DREADME127 of how we could use the hashing code in making 32 bit NFS cookies work

12