/linux-master/security/apparmor/include/ |
H A D | task.h | 35 int aa_restore_previous_label(u64 cookie);
|
/linux-master/kernel/ |
H A D | stacktrace.c | 82 static bool stack_trace_consume_entry(void *cookie, unsigned long addr) argument 84 struct stacktrace_cookie *c = cookie; 97 static bool stack_trace_consume_entry_nosched(void *cookie, unsigned long addr) argument 101 return stack_trace_consume_entry(cookie, addr);
|
/linux-master/drivers/net/wireless/microchip/wilc1000/ |
H A D | hif.h | 127 void (*expired)(struct wilc_vif *vif, u64 cookie); 129 u64 cookie; member in struct:wilc_remain_ch 198 int wilc_remain_on_channel(struct wilc_vif *vif, u64 cookie, u16 chan, 200 int wilc_listen_state_expired(struct wilc_vif *vif, u64 cookie);
|
/linux-master/fs/lockd/ |
H A D | svclock.c | 58 static const char *nlmdbg_cookie2a(const struct nlm_cookie *cookie) argument 71 for (i = 0 ; i < cookie->len ; i++) { 76 sprintf(p, "%02x", cookie->data[i]); 160 dprintk("lockd: check f=%p pd=%d %Ld-%Ld ty=%d cookie=%s\n", 164 nlmdbg_cookie2a(&block->b_call->a_args.cookie)); 186 * Find a block with a given NLM cookie. 189 nlmsvc_find_block(struct nlm_cookie *cookie) argument 195 if (nlm_cookie_match(&block->b_call->a_args.cookie,cookie)) 203 dprintk("nlmsvc_find_block(%s): block=%p\n", nlmdbg_cookie2a(cookie), bloc 225 nlmsvc_create_block(struct svc_rqst *rqstp, struct nlm_host *host, struct nlm_file *file, struct nlm_lock *lock, struct nlm_cookie *cookie) argument 480 nlmsvc_lock(struct svc_rqst *rqstp, struct nlm_file *file, struct nlm_host *host, struct nlm_lock *lock, int wait, struct nlm_cookie *cookie, int reclaim) argument 610 nlmsvc_testlock(struct svc_rqst *rqstp, struct nlm_file *file, struct nlm_host *host, struct nlm_lock *lock, struct nlm_lock *conflock, struct nlm_cookie *cookie) argument 978 nlmsvc_grant_reply(struct nlm_cookie *cookie, __be32 status) argument [all...] |
/linux-master/tools/bpf/bpftool/ |
H A D | link.c | 254 __u64 cookie; member in struct:addr_cookie 279 data[i].cookie = cookies[i]; 322 jsonw_uint_field(json_wtr, "cookie", data[j].cookie); 356 jsonw_uint_field(json_wtr, "cookie", 372 jsonw_uint_field(wtr, "cookie", info->perf_event.kprobe.cookie); 382 jsonw_uint_field(wtr, "cookie", info->perf_event.uprobe.cookie); 390 jsonw_uint_field(wtr, "cookie", inf [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | xdp_synproxy_kern.c | 292 u32 cookie; local 299 cookie = tcp_clock_ms() & ~TSMASK; 300 cookie |= loop_ctx.wscale & TS_OPT_WSCALE_MASK; 302 cookie |= TS_OPT_SACK; 304 cookie |= TS_OPT_ECN; 305 *tsval = bpf_htonl(cookie); 515 __u32 cookie, __be32 *tsopt, 526 tcp_header->seq = bpf_htonl(cookie); 536 __u32 cookie, __be32 *tsopt) 552 tcp_gen_synack(hdr->tcp, cookie, tsop 514 tcp_gen_synack(struct tcphdr *tcp_header, __u32 cookie, __be32 *tsopt, __u16 mss, __u8 wscale) argument 535 tcpv4_gen_synack(struct header_pointers *hdr, __u32 cookie, __be32 *tsopt) argument 558 tcpv6_gen_synack(struct header_pointers *hdr, __u32 cookie, __be32 *tsopt) argument 604 __u32 cookie; local [all...] |
H A D | test_tcp_custom_syncookie.c | 66 u32 cookie; member in struct:tcp_syncookie 360 ctx->cookie = hash; 416 ctx->tcp->seq = bpf_htonl(ctx->cookie); 463 u32 cookie = bpf_ntohl(ctx->tcp->ack_seq) - 1; local 483 hash -= cookie & ~COOKIE_MASK; 487 mssind = (cookie & (3 << 6)) >> 6; 500 ctx->attrs.snd_wscale = cookie & BPF_SYNCOOKIE_WSCALE_MASK; 503 ctx->attrs.sack_ok = cookie & BPF_SYNCOOKIE_SACK; 504 ctx->attrs.ecn_ok = cookie & BPF_SYNCOOKIE_ECN;
|
/linux-master/include/linux/ |
H A D | dax.h | 164 void dax_unlock_folio(struct folio *folio, dax_entry_t cookie); 168 unsigned long index, dax_entry_t cookie); 193 static inline void dax_unlock_folio(struct folio *folio, dax_entry_t cookie) argument 204 unsigned long index, dax_entry_t cookie) 203 dax_unlock_mapping_entry(struct address_space *mapping, unsigned long index, dax_entry_t cookie) argument
|
/linux-master/include/uapi/linux/ |
H A D | inotify.h | 24 __u32 cookie; /* cookie to synchronize two events */ member in struct:inotify_event
|
/linux-master/drivers/iio/buffer/ |
H A D | industrialio-buffer-dmaengine.c | 67 dma_cookie_t cookie; local 82 cookie = dmaengine_submit(desc); 83 if (dma_submit_error(cookie)) 84 return dma_submit_error(cookie);
|
/linux-master/drivers/net/wireless/broadcom/b43legacy/ |
H A D | pio.c | 106 u16 cookie = 0x0000; local 117 cookie = 0x1000; 120 cookie = 0x2000; 123 cookie = 0x3000; 130 cookie |= (u16)packetindex; 132 return cookie; 137 u16 cookie, 144 switch (cookie & 0xF000) { 160 packetindex = (cookie & 0x0FFF); 482 queue = parse_cookie(dev, status->cookie, 136 parse_cookie(struct b43legacy_wldev *dev, u16 cookie, struct b43legacy_pio_txpacket **packet) argument [all...] |
/linux-master/net/core/ |
H A D | flow_offload.c | 223 struct flow_action_cookie *cookie; local 225 cookie = kmalloc(sizeof(*cookie) + len, gfp); 226 if (!cookie) 228 cookie->cookie_len = len; 229 memcpy(cookie->cookie, data, len); 230 return cookie; 234 void flow_action_cookie_destroy(struct flow_action_cookie *cookie) argument 236 kfree(cookie); [all...] |
/linux-master/drivers/net/ethernet/sfc/ |
H A D | tc_conntrack.c | 50 conn->cookie); 371 conn->cookie = tc->cookie; 380 "Already offloaded conntrack (cookie %lx)\n", tc->cookie); 468 conn->cookie, rc); 471 conn->cookie); 491 conn = rhashtable_lookup_fast(&efx->tc->ct_ht, &tc->cookie, 495 "Conntrack %lx not found to remove\n", tc->cookie); 516 conn = rhashtable_lookup_fast(&efx->tc->ct_ht, &tc->cookie, [all...] |
H A D | tc_counters.c | 209 /* TC cookie to counter mapping */ 223 struct efx_nic *efx, unsigned long cookie, 232 ctr->cookie = cookie; 261 struct efx_nic *efx, unsigned long cookie) 265 key.cookie = cookie; 222 efx_tc_flower_get_counter_index( struct efx_nic *efx, unsigned long cookie, enum efx_tc_counter_type type) argument 260 efx_tc_flower_find_counter_index( struct efx_nic *efx, unsigned long cookie) argument
|
/linux-master/drivers/dma/sf-pdma/ |
H A D | sf-pdma.c | 157 dma_cookie_t cookie) 169 if (vd->tx.cookie == cookie) 175 if (cookie == tx->chan->completed_cookie) 178 if (cookie == tx->cookie) { 181 vd = vchan_find_desc(&chan->vchan, cookie); 196 dma_cookie_t cookie, 202 status = dma_cookie_status(dchan, cookie, txstate); 205 dma_set_residue(txstate, sf_pdma_desc_residue(chan, cookie)); 156 sf_pdma_desc_residue(struct sf_pdma_chan *chan, dma_cookie_t cookie) argument 195 sf_pdma_tx_status(struct dma_chan *dchan, dma_cookie_t cookie, struct dma_tx_state *txstate) argument [all...] |
/linux-master/drivers/net/wireless/broadcom/b43/ |
H A D | xmit.h | 55 __le16 cookie; /* TX frame cookie */ member in struct:b43_txhdr::__anon7175::__anon7176 72 __le16 cookie; /* TX frame cookie */ member in struct:b43_txhdr::__anon7175::__anon7177 83 __le16 cookie; /* TX frame cookie */ member in struct:b43_txhdr::__anon7175::__anon7178 209 struct ieee80211_tx_info *txctl, u16 cookie); 213 u16 cookie; /* The cookie from the txhdr */ member in struct:b43_txstatus
|
/linux-master/drivers/dma/idxd/ |
H A D | dma.c | 47 if (complete && tx->cookie) { 157 dma_cookie_t cookie, 175 dma_cookie_t cookie; local 179 cookie = dma_cookie_assign(tx); 187 return cookie; 156 idxd_dma_tx_status(struct dma_chan *dma_chan, dma_cookie_t cookie, struct dma_tx_state *txstate) argument
|
/linux-master/drivers/iommu/amd/ |
H A D | io_pgtable_v2.c | 330 static void v2_tlb_flush_all(void *cookie) argument 335 size_t granule, void *cookie) 341 void *cookie) 363 static struct io_pgtable *v2_alloc_pgtable(struct io_pgtable_cfg *cfg, void *cookie) argument 366 struct protection_domain *pdom = (struct protection_domain *)cookie; 334 v2_tlb_flush_walk(unsigned long iova, size_t size, size_t granule, void *cookie) argument 339 v2_tlb_add_page(struct iommu_iotlb_gather *gather, unsigned long iova, size_t granule, void *cookie) argument
|
/linux-master/net/wireless/ |
H A D | rdev-ops.h | 96 void *cookie, 97 void (*callback)(void *cookie, struct key_params*)) 103 pairwise, mac_addr, cookie, callback); 730 unsigned int duration, u64 *cookie) 735 duration, cookie); 736 trace_rdev_return_int_cookie(&rdev->wiphy, ret, *cookie); 742 struct wireless_dev *wdev, u64 cookie) 745 trace_rdev_cancel_remain_on_channel(&rdev->wiphy, wdev, cookie); 746 ret = rdev->ops->cancel_remain_on_channel(&rdev->wiphy, wdev, cookie); 754 u64 *cookie) 94 rdev_get_key(struct cfg80211_registered_device *rdev, struct net_device *netdev, int link_id, u8 key_index, bool pairwise, const u8 *mac_addr, void *cookie, void (*callback)(void *cookie, struct key_params*)) argument 727 rdev_remain_on_channel(struct cfg80211_registered_device *rdev, struct wireless_dev *wdev, struct ieee80211_channel *chan, unsigned int duration, u64 *cookie) argument 741 rdev_cancel_remain_on_channel(struct cfg80211_registered_device *rdev, struct wireless_dev *wdev, u64 cookie) argument 751 rdev_mgmt_tx(struct cfg80211_registered_device *rdev, struct wireless_dev *wdev, struct cfg80211_mgmt_tx_params *params, u64 *cookie) argument 763 rdev_tx_control_port(struct cfg80211_registered_device *rdev, struct net_device *dev, const void *buf, size_t len, const u8 *dest, __be16 proto, const bool noencrypt, int link, u64 *cookie) argument 783 rdev_mgmt_tx_cancel_wait(struct cfg80211_registered_device *rdev, struct wireless_dev *wdev, u64 cookie) argument 941 rdev_probe_client(struct cfg80211_registered_device *rdev, struct net_device *dev, const u8 *peer, u64 *cookie) argument 1029 rdev_del_nan_func(struct cfg80211_registered_device *rdev, struct wireless_dev *wdev, u64 cookie) argument [all...] |
/linux-master/drivers/dma/qcom/ |
H A D | hidma.c | 133 last_cookie = desc->cookie; 258 static inline bool hidma_txn_is_success(dma_cookie_t cookie, argument 262 if ((cookie <= last_success) || (cookie > last_used)) 265 if ((cookie <= last_success) && (cookie > last_used)) 272 dma_cookie_t cookie, 278 ret = dma_cookie_status(dmach, cookie, txstate); 282 is_success = hidma_txn_is_success(cookie, mchan->last_success, 283 dmach->cookie); 271 hidma_tx_status(struct dma_chan *dmach, dma_cookie_t cookie, struct dma_tx_state *txstate) argument 316 dma_cookie_t cookie; local [all...] |
/linux-master/drivers/net/wireless/ath/carl9170/ |
H A D | tx.c | 194 int cookie = -1; local 205 cookie = bitmap_find_free_region(ar->mem_bitmap, ar->fw.mem_blocks, 0); 208 if (unlikely(cookie < 0)) { 222 super->s.cookie = (u8) cookie + 1; 229 int cookie; local 231 /* make a local copy of the cookie */ 232 cookie = super->s.cookie; 233 /* invalidate cookie */ 513 carl9170_get_queued_skb(struct ar9170 *ar, u8 cookie, struct sk_buff_head *queue) argument 658 __carl9170_tx_process_status(struct ar9170 *ar, const uint8_t cookie, const uint8_t info) argument [all...] |
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_ll2.c | 93 void *cookie, 100 struct sk_buff *skb = cookie; 168 struct qed_ll2_buffer *buffer = data->cookie; 328 p_buffer = (struct qed_ooo_buffer *)p_pkt->cookie; 337 p_ll2_conn->cbs.tx_release_cb(p_ll2_conn->cbs.cookie, 339 p_pkt->cookie, 401 p_ll2_conn->cbs.tx_comp_cb(p_ll2_conn->cbs.cookie, 403 p_pkt->cookie, 471 p_ll2_conn->cbs.slowpath_cb(p_ll2_conn->cbs.cookie, 514 data.cookie 91 qed_ll2b_complete_tx_packet(void *cxt, u8 connection_handle, void *cookie, dma_addr_t first_frag_addr, bool b_last_fragment, bool b_last_packet) argument 526 qed_ll2_rxq_completion(struct qed_hwfn *p_hwfn, void *cookie) argument 611 void *cookie = p_pkt->cookie; local 1774 qed_ll2_post_rx_buffer(void *cxt, u8 connection_handle, dma_addr_t addr, u16 buf_len, void *cookie, u8 notify_fw) argument 2359 qed_ll2b_release_rx_packet(void *cxt, u8 connection_handle, void *cookie, dma_addr_t rx_buf_addr, bool b_last_packet) argument 2370 qed_ll2_register_cb_ops(struct qed_dev *cdev, const struct qed_ll2_cb_ops *ops, void *cookie) argument [all...] |
/linux-master/fs/bcachefs/ |
H A D | tests.c | 479 struct bkey_i_cookie cookie; local 482 bkey_cookie_init(&cookie.k_i); 483 cookie.k.p.snapshot = snapid_hi; 484 ret = bch2_btree_insert(c, BTREE_ID_xattrs, &cookie.k_i, NULL, 0); 502 struct bkey_i_cookie cookie; local 507 bkey_cookie_init(&cookie.k_i); 508 cookie.k.p.snapshot = U32_MAX; 509 ret = bch2_btree_insert(c, BTREE_ID_xattrs, &cookie.k_i, NULL, 0); 620 struct bkey_i_cookie *cookie, 635 bkey_cookie_init(&cookie 618 rand_mixed_trans(struct btree_trans *trans, struct btree_iter *iter, struct bkey_i_cookie *cookie, u64 i, u64 pos) argument 647 struct bkey_i_cookie cookie; local [all...] |
/linux-master/drivers/scsi/csiostor/ |
H A D | t4fw_api_stor.h | 117 __be64 cookie; member in struct:fw_rdev_wr 185 u64 cookie; member in struct:fw_fcoe_els_ct_wr 210 u64 cookie; member in struct:fw_scsi_write_wr 236 u64 cookie; member in struct:fw_scsi_read_wr 262 u64 cookie; member in struct:fw_scsi_cmd_wr 290 u64 cookie; member in struct:fw_scsi_abrt_cls_wr
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_matchall.c | 14 mlxsw_sp_mall_entry_find(struct mlxsw_sp_flow_block *block, unsigned long cookie) argument 19 if (mall_entry->cookie == cookie) 249 mall_entry->cookie = f->cookie; 316 mall_entry = mlxsw_sp_mall_entry_find(block, f->cookie);
|