/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | bpf_cookie.c | 106 __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() 146 opts.kprobe_multi.cookies = (const __u64 *) &cookies; in kprobe_multi_link_api_subtest() 193 __u64 cookies[8]; in kprobe_multi_attach_api_subtest() local 213 opts.cookies = cookies; in kprobe_multi_attach_api_subtest() 281 __u64 cookies[3]; in uprobe_multi_attach_api_subtest() local [all …]
|
H A D | fill_link_info.c | 258 __u64 addrs[KMULTI_CNT], cookies[KMULTI_CNT]; in verify_kmulti_link_info() local 282 info.kprobe_multi.cookies = ptr_to_u64(cookies); in verify_kmulti_link_info() 295 __u64 addrs[KMULTI_CNT], cookies[KMULTI_CNT]; in verify_kmulti_invalid_user_buffer() local 335 info.kprobe_multi.cookies = 0x1; /* invalid addr */ in verify_kmulti_invalid_user_buffer() 342 info.kprobe_multi.cookies = ptr_to_u64(cookies); in verify_kmulti_invalid_user_buffer() 356 bool retprobe, bool cookies, in test_kprobe_multi_fill_link_info() argument 364 opts.cookies = cookies ? kmulti_cookies : NULL; in test_kprobe_multi_fill_link_info() 407 __u64 *cookies, __u64 *ref_ctr_offsets) in verify_umulti_link_info() argument 462 if (info.uprobe_multi.cookies) in verify_umulti_link_info() 534 __u64 cookies[3] = { in test_uprobe_multi_fill_link_info() local [all …]
|
H A D | kprobe_multi_test.c | 226 __u64 cookies[2]; in test_attach_api_fails() local 255 opts.cookies = NULL; in test_attach_api_fails() 270 opts.cookies = NULL; in test_attach_api_fails() 285 opts.cookies = NULL; in test_attach_api_fails() 300 opts.cookies = cookies; in test_attach_api_fails() 315 opts.cookies = NULL; in test_attach_api_fails()
|
/linux/arch/sparc/include/asm/ |
H A D | ldc.h | 108 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);
|
H A D | vio.h | 73 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/Documentation/filesystems/caching/ |
H A D | fscache.rst | 104 * 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 124 collection is employed to eliminate cookies that haven't been used for a 225 FS-Cache provides a list of cache cookies: 227 /proc/fs/fscache/cookies 243 VOLS Number of volumes cookies in this cache 256 FS-Cache provides a list of volume cookies: 273 nCOOK Number of cookies in the volume 284 FS-Cache provides a list of cookies: 286 /proc/fs/fscache/cookies [all …]
|
H A D | backend-api.rst | 34 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
|
/linux/kernel/ |
H A D | kcmp.c | 37 static unsigned long cookies[KCMP_TYPES][2] __read_mostly; variable 41 return (v ^ cookies[type][0]) * cookies[type][1]; in kptr_obfuscate() 234 get_random_bytes(cookies, sizeof(cookies)); in kcmp_cookies_init() 237 cookies[i][1] |= (~(~0UL >> 1) | 1); in kcmp_cookies_init()
|
/linux/tools/bpf/bpftool/ |
H A D | link.c | 279 data[i].cookie = cookies[i]; in get_addr_cookie_array() 298 u64_to_ptr(info->kprobe_multi.cookies), in show_kprobe_multi_json() 357 u64_to_arr(info->uprobe_multi.cookies)[i]); in show_uprobe_multi_json() 783 u64_to_arr(info->uprobe_multi.cookies)[i]); in show_uprobe_multi_plain() 1018 cookies = calloc(count, sizeof(__u64)); in do_show_link() 1019 if (!cookies) { in do_show_link() 1025 info.kprobe_multi.cookies = ptr_to_u64(cookies); in do_show_link() 1048 cookies = calloc(count, sizeof(__u64)); in do_show_link() 1049 if (!cookies) { in do_show_link() 1056 info.uprobe_multi.cookies = ptr_to_u64(cookies); in do_show_link() [all …]
|
/linux/arch/sparc/kernel/ |
H A D | viohs.c | 207 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()
|
H A D | ldc.c | 2077 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() 2178 state.cookies = cookies; in ldc_map_sg() 2220 state.cookies = cookies; in ldc_map_single() 2254 u64 addr = cookies[i].cookie_addr; in ldc_unmap() 2255 u64 size = cookies[i].cookie_size; in ldc_unmap() 2295 unsigned long this_len = cookies[i].cookie_size; in ldc_copy() 2379 struct ldc_trans_cookie *cookies, int ncookies) in ldc_free_exp_dring() argument [all …]
|
/linux/kernel/trace/ |
H A D | bpf_trace.c | 2523 u64 *cookies; member 2713 if (!link->cookies) in bpf_kprobe_multi_cookie() 2802 u64 *cookies; member 2813 if (data->cookies) { in symbols_swap_r() 2914 u64 *cookies = NULL; in bpf_kprobe_multi_link_attach() local 2948 if (!cookies) { in bpf_kprobe_multi_link_attach() 2965 .cookies = cookies, in bpf_kprobe_multi_link_attach() 2973 if (cookies) in bpf_kprobe_multi_link_attach() 3011 link->cookies = cookies; in bpf_kprobe_multi_link_attach() 3015 if (cookies) { in bpf_kprobe_multi_link_attach() [all …]
|
/linux/drivers/net/ethernet/sun/ |
H A D | sunvnet_common.c | 404 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() 1101 ldc_unmap(lp, cookies, nc); in vnet_skb_map() 1428 d->cookies[i] = port->tx_bufs[txi].cookies[i]; in sunvnet_start_xmit_common() 1691 port->tx_bufs[i].cookies, in sunvnet_port_free_tx_bufs_common() 1699 dr->cookies, dr->ncookies); in sunvnet_port_free_tx_bufs_common() [all …]
|
H A D | sunvnet_common.h | 34 struct ldc_trans_cookie cookies[VNET_MAXCOOKIES]; member
|
/linux/tools/lib/bpf/ |
H A D | usdt.c | 966 __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()
|
H A D | bpf.h | 408 const __u64 *cookies; member 416 const __u64 *cookies; member
|
H A D | bpf.c | 774 attr.link_create.kprobe_multi.cookies = ptr_to_u64(OPTS_GET(opts, kprobe_multi.cookies, 0)); in bpf_link_create() 784 attr.link_create.uprobe_multi.cookies = ptr_to_u64(OPTS_GET(opts, uprobe_multi.cookies, 0)); in bpf_link_create()
|
H A D | libbpf.h | 548 const __u64 *cookies; member 575 const __u64 *cookies; member
|
/linux/drivers/block/ |
H A D | sunvdc.c | 317 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() 1098 ldc_unmap(port->vio.lp, desc->cookies, desc->ncookies); in vdc_requeue_inflight()
|
/linux/tools/testing/selftests/net/mptcp/ |
H A D | mptcp_connect.sh | 483 cookies=$(ip netns exec ${listener_ns} sysctl net.ipv4.tcp_syncookies) 484 cookies=${cookies##*=} 530 if [ $cookies -eq 2 ];then
|
/linux/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
H A D | tracepoints.rst | 17 - 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/include/uapi/linux/ |
H A D | rds.h | 407 __u32 cookies[RDS_MAX_ZCOOKIES]; member
|
H A D | bpf.h | 1741 __aligned_u64 cookies; member 1769 __aligned_u64 cookies; member 6685 __aligned_u64 cookies; member 6691 __aligned_u64 cookies; member
|
/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 1741 __aligned_u64 cookies; member 1769 __aligned_u64 cookies; member 6685 __aligned_u64 cookies; member 6691 __aligned_u64 cookies; member
|
/linux/net/ipv4/ |
H A D | Kconfig | 277 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
|