/kernel/linux/linux-5.10/net/ceph/ |
D | cls_lock_client.c | 31 int cookie_len = strlen(cookie); in ceph_cls_lock() local 40 cookie_len + sizeof(__le32) + in ceph_cls_lock() 62 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_lock() 96 int cookie_len = strlen(cookie); in ceph_cls_unlock() local 102 cookie_len + sizeof(__le32) + in ceph_cls_unlock() 118 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_unlock() 146 int cookie_len = strlen(cookie); in ceph_cls_break_lock() local 152 cookie_len + sizeof(__le32) + in ceph_cls_break_lock() 170 ceph_encode_string(&p, end, cookie, cookie_len); in ceph_cls_break_lock() 388 int cookie_len = strlen(cookie); in ceph_cls_assert_locked() local [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | netlink.h | 80 u8 cookie_len; member 131 extack->cookie_len = sizeof(__cookie); in nl_set_extack_cookie_u64() 142 extack->cookie_len = sizeof(__cookie); in nl_set_extack_cookie_u32()
|
/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
D | dev.c | 118 buf_len = fa_cookie->cookie_len * 2; in nsim_dev_trap_fa_cookie_read() 124 bin2hex(buf, fa_cookie->cookie, fa_cookie->cookie_len); in nsim_dev_trap_fa_cookie_read() 143 size_t cookie_len; in nsim_dev_trap_fa_cookie_write() local 149 cookie_len = (count - 1) / 2; in nsim_dev_trap_fa_cookie_write() 160 fa_cookie = kmalloc(sizeof(*fa_cookie) + cookie_len, in nsim_dev_trap_fa_cookie_write() 167 fa_cookie->cookie_len = cookie_len; in nsim_dev_trap_fa_cookie_write() 168 ret = hex2bin(fa_cookie->cookie, buf, cookie_len); in nsim_dev_trap_fa_cookie_write()
|
/kernel/linux/linux-5.10/net/l2tp/ |
D | l2tp_core.h | 57 int cookie_len; /* 0, 4 or 8 bytes */ member 78 int cookie_len; member
|
D | l2tp_core.c | 976 if (session->cookie_len) { in l2tp_build_l2tpv3_header() 977 memcpy(bufp, &session->cookie[0], session->cookie_len); in l2tp_build_l2tpv3_header() 978 bufp += session->cookie_len; in l2tp_build_l2tpv3_header() 1580 session->hdr_len = 4 + session->cookie_len; in l2tp_session_set_header_len() 1626 session->cookie_len = cfg->cookie_len; in l2tp_session_create() 1627 memcpy(&session->cookie[0], &cfg->cookie[0], cfg->cookie_len); in l2tp_session_create()
|
D | l2tp_debugfs.c | 199 if (session->cookie_len) { in l2tp_dfs_seq_session_show() 203 if (session->cookie_len == 8) in l2tp_dfs_seq_session_show()
|
D | l2tp_netlink.c | 591 cfg.cookie_len = len; in l2tp_nl_cmd_session_create() 733 (session->cookie_len && in l2tp_nl_session_send() 734 nla_put(skb, L2TP_ATTR_COOKIE, session->cookie_len, session->cookie)) || in l2tp_nl_session_send()
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | cookie_uid_helper_example.c | 218 socklen_t cookie_len = sizeof(cookie); in udp_client() local 233 res = getsockopt(s_send, SOL_SOCKET, SO_COOKIE, &cookie, &cookie_len); in udp_client()
|
/kernel/linux/linux-5.10/net/sctp/ |
D | sm_make_chunk.c | 61 int *cookie_len, 396 int cookie_len; in sctp_make_init_ack() local 411 cookie = sctp_pack_cookie(asoc->ep, asoc, chunk, &cookie_len, in sctp_make_init_ack() 420 chunksize = sizeof(initack) + addrs_len + cookie_len + unkparam_len; in sctp_make_init_ack() 493 sctp_addto_chunk(retval, cookie_len, cookie); in sctp_make_init_ack() 571 int cookie_len; in sctp_make_cookie_echo() local 575 cookie_len = asoc->peer.cookie_len; in sctp_make_cookie_echo() 579 cookie_len, GFP_ATOMIC); in sctp_make_cookie_echo() 583 sctp_addto_chunk(retval, cookie_len, cookie); in sctp_make_cookie_echo() 1612 int *cookie_len, const __u8 *raw_addrs, in sctp_pack_cookie() argument [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_acl_flex_actions.c | 145 fa_cookie->cookie_len / sizeof(u32), seed); in mlxsw_afa_cookie_hash() 168 if (cookie->fa_cookie.cookie_len == fa_cookie->cookie_len) in mlxsw_afa_cookie_obj_cmpfn() 170 fa_cookie->cookie_len); in mlxsw_afa_cookie_obj_cmpfn() 736 cookie = kzalloc(sizeof(*cookie) + fa_cookie->cookie_len, GFP_KERNEL); in mlxsw_afa_cookie_create() 741 sizeof(*fa_cookie) + fa_cookie->cookie_len); in mlxsw_afa_cookie_create()
|
/kernel/linux/linux-5.10/net/core/ |
D | drop_monitor.c | 721 nla_total_size(hw_metadata->fa_cookie->cookie_len) : 0; in net_dm_flow_action_cookie_size() 790 hw_metadata->fa_cookie->cookie_len, in net_dm_hw_packet_report_fill() 847 metadata->fa_cookie->cookie_len; in net_dm_hw_metadata_copy()
|
D | flow_offload.c | 186 cookie->cookie_len = len; in flow_action_cookie_create()
|
/kernel/linux/linux-5.10/include/net/ |
D | flow_offload.h | 188 u32 cookie_len; member
|
/kernel/linux/linux-5.10/net/sched/ |
D | act_api.c | 187 u32 cookie_len = 0; in tcf_action_shared_attrs_size() local 193 cookie_len = nla_total_size(act_cookie->len); in tcf_action_shared_attrs_size() 198 + cookie_len /* TCA_ACT_COOKIE */ in tcf_action_shared_attrs_size()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | sk_lookup.c | 247 socklen_t cookie_len = sizeof(cookie); in socket_cookie() local 249 if (CHECK(getsockopt(fd, SOL_SOCKET, SO_COOKIE, &cookie, &cookie_len) < 0, in socket_cookie()
|
/kernel/linux/linux-5.10/net/netlink/ |
D | af_netlink.c | 2442 if (nlk_has_extack && extack && extack->cookie_len) in netlink_ack() 2443 tlvlen += nla_total_size(extack->cookie_len); in netlink_ack() 2475 if (extack->cookie_len) in netlink_ack() 2477 extack->cookie_len, extack->cookie)); in netlink_ack()
|
/kernel/linux/linux-5.10/include/net/sctp/ |
D | structs.h | 1714 int cookie_len; member
|