Home
last modified time | relevance | path

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

12

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ !
Dbpf_cookie.c106 __u64 cookies[8]; in kprobe_multi_link_api_subtest() local
135 cookies[0] = 1; /* bpf_fentry_test1 */ in kprobe_multi_link_api_subtest()
136 cookies[1] = 2; /* bpf_fentry_test3 */ in kprobe_multi_link_api_subtest()
137 cookies[2] = 3; /* bpf_fentry_test4 */ in kprobe_multi_link_api_subtest()
138 cookies[3] = 4; /* bpf_fentry_test5 */ in kprobe_multi_link_api_subtest()
139 cookies[4] = 5; /* bpf_fentry_test6 */ in kprobe_multi_link_api_subtest()
140 cookies[5] = 6; /* bpf_fentry_test7 */ in kprobe_multi_link_api_subtest()
141 cookies[6] = 7; /* bpf_fentry_test2 */ in kprobe_multi_link_api_subtest()
142 cookies[7] = 8; /* bpf_fentry_test8 */ in kprobe_multi_link_api_subtest()
146 opts.kprobe_multi.cookies = (const __u64 *) &cookies; in kprobe_multi_link_api_subtest()
[all …]
Dkprobe_multi_test.c224 __u64 cookies[2]; in test_attach_api_fails() local
251 opts.cookies = NULL; in test_attach_api_fails()
265 opts.cookies = NULL; in test_attach_api_fails()
279 opts.cookies = NULL; in test_attach_api_fails()
293 opts.cookies = cookies; in test_attach_api_fails()
/linux-6.6.21/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.6.21/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.6.21/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.6.21/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.6.21/kernel/trace/ !
Dbpf_trace.c2512 u64 *cookies; member
2601 kvfree(kmulti_link->cookies); in bpf_kprobe_multi_link_dealloc()
2652 cookie_a = link->cookies + (addr_a - link->addrs); in bpf_kprobe_multi_cookie_swap()
2653 cookie_b = link->cookies + (addr_b - link->addrs); in bpf_kprobe_multi_cookie_swap()
2685 if (!link->cookies) in bpf_kprobe_multi_cookie()
2692 cookie = link->cookies + (addr - link->addrs); in bpf_kprobe_multi_cookie()
2766 u64 *cookies; member
2777 if (data->cookies) { in symbols_swap_r()
2780 cookie_a = data->cookies + (name_a - data->funcs); in symbols_swap_r()
2781 cookie_b = data->cookies + (name_b - data->funcs); in symbols_swap_r()
[all …]
/linux-6.6.21/drivers/net/ethernet/sun/ !
Dsunvnet_common.c404 desc->cookies, desc->ncookies); in vnet_rx_one()
528 dr->cookies, dr->ncookies); in get_rx_desc()
544 dr->cookies, dr->ncookies); in put_rx_desc()
571 desc->cookies[0].cookie_addr, in vnet_walk_rx_one()
572 desc->cookies[0].cookie_size); in vnet_walk_rx_one()
1023 port->tx_bufs[txi].cookies, in vnet_clean_tx_ring()
1066 struct ldc_trans_cookie *cookies, int ncookies, in vnet_skb_map() argument
1078 err = ldc_map_single(lp, skb->data - VNET_PACKET_SKIP, blen, cookies, in vnet_skb_map()
1093 blen, cookies + nc, ncookies - nc, in vnet_skb_map()
1101 ldc_unmap(lp, cookies, nc); in vnet_skb_map()
[all …]
Dsunvnet_common.h34 struct ldc_trans_cookie cookies[VNET_MAXCOOKIES]; member
/linux-6.6.21/tools/lib/bpf/ !
Dusdt.c966 __u64 *cookies = NULL; in usdt_manager_attach_usdt() local
1015 cookies = calloc(target_cnt, sizeof(*cookies)); in usdt_manager_attach_usdt()
1018 if (!offsets || !ref_ctr_offsets || !cookies) { in usdt_manager_attach_usdt()
1071 cookies[i] = spec_id; in usdt_manager_attach_usdt()
1094 .cookies = cookies, in usdt_manager_attach_usdt()
1109 free(cookies); in usdt_manager_attach_usdt()
1120 free(cookies); in usdt_manager_attach_usdt()
Dbpf.h393 const __u64 *cookies; member
401 const __u64 *cookies; member
Dbpf.c766 attr.link_create.kprobe_multi.cookies = ptr_to_u64(OPTS_GET(opts, kprobe_multi.cookies, 0)); in bpf_link_create()
776 attr.link_create.uprobe_multi.cookies = ptr_to_u64(OPTS_GET(opts, uprobe_multi.cookies, 0)); in bpf_link_create()
Dlibbpf.h518 const __u64 *cookies; member
543 const __u64 *cookies; member
/linux-6.6.21/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()
1097 ldc_unmap(port->vio.lp, desc->cookies, desc->ncookies); in vdc_requeue_inflight()
/linux-6.6.21/tools/testing/selftests/net/mptcp/ !
Dmptcp_connect.sh500 cookies=$(ip netns exec ${listener_ns} sysctl net.ipv4.tcp_syncookies)
501 cookies=${cookies##*=}
547 if [ $cookies -eq 2 ];then
/linux-6.6.21/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ !
Dtracepoints.rst17 - mlx5e_configure_flower: trace flower filter actions and cookies offloaded to mlx5::
24 - mlx5e_delete_flower: trace flower filter actions and cookies deleted from mlx5::
/linux-6.6.21/include/uapi/linux/ !
Drds.h407 __u32 cookies[RDS_MAX_ZCOOKIES]; member
/linux-6.6.21/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.6.21/net/rds/ !
Dmessage.c65 ck->cookies[ncookies] = cookie; in rds_zcookie_add()
/linux-6.6.21/Documentation/security/ !
Dsiphash.rst16 sequence numbers, secure cookies, or mask it off for use in a hash table.
/linux-6.6.21/Documentation/userspace-api/media/drivers/ !
Dcx2341x-uapi.rst162 After these magic cookies (and the 8 byte bitmask in case of cookie 'itv0') the

12