/linux-master/include/uapi/linux/ |
H A D | rds.h | 353 rds_rdma_cookie_t cookie; member in struct:rds_free_mr_args 358 rds_rdma_cookie_t cookie; member in struct:rds_rdma_args 367 rds_rdma_cookie_t cookie; member in struct:rds_atomic_args
|
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_sp.h | 27 void *cookie, 30 void *cookie; member in struct:qed_spq_comp_cb 311 * @cookie: Cookie. 316 void *cookie); 322 * @echo: echo value from cookie (used for determining completion). 324 * @p_data: data from cookie (used in callback function if applicable).
|
/linux-master/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api_client.h | 153 int from_cid, int to_cid, unsigned long cookie, 209 struct vcap_counter *ctr, u64 cookie); 221 /* Find a rule id with a provided cookie */ 222 int vcap_lookup_rule_by_cookie(struct vcap_control *vctrl, u64 cookie);
|
/linux-master/drivers/dma/ |
H A D | ep93xx_dma.c | 299 * If txd.cookie is set it means that we are back in the first 302 return !desc->txd.cookie; 430 desc->txd.cookie, desc->src_addr, desc->dst_addr, 621 last_done = !desc || desc->txd.cookie; 693 desc->txd.cookie = 0; 828 * is busy, queue the descriptor to be executed later on. Returns cookie which 835 dma_cookie_t cookie; local 839 cookie = dma_cookie_assign(tx); 856 return cookie; 1014 first->txd.cookie 1299 ep93xx_dma_tx_status(struct dma_chan *chan, dma_cookie_t cookie, struct dma_tx_state *state) argument [all...] |
H A D | uniphier-mdmac.c | 282 dma_cookie_t cookie, 293 stat = dma_cookie_status(chan, cookie, txstate); 304 if (mc->md && mc->md->vd.tx.cookie == cookie) { 312 vd = vchan_find_desc(vc, cookie); 281 uniphier_mdmac_tx_status(struct dma_chan *chan, dma_cookie_t cookie, struct dma_tx_state *txstate) argument
|
H A D | nbpfaxi.c | 626 dma_cookie_t cookie, struct dma_tx_state *state) 629 enum dma_status status = dma_cookie_status(dchan, cookie, state); 636 running = chan->running ? chan->running->async_tx.cookie : -EINVAL; 638 if (cookie == running) { 647 if (desc->async_tx.cookie == cookie) { 654 if (desc->async_tx.cookie == cookie) { 677 dma_cookie_t cookie; local 680 cookie 625 nbpf_tx_status(struct dma_chan *dchan, dma_cookie_t cookie, struct dma_tx_state *state) argument [all...] |
/linux-master/drivers/net/arcnet/ |
H A D | capmode.c | 107 *((int *)&pkt->soft.cap.cookie[0])); 141 /* And neither is the cookie field */ 148 *((int *)&pkt->soft.cap.cookie[0])); 174 /* Skip the extra integer we have written into it as a cookie 216 *((int *)&ackpkt->soft.cap.cookie[0]));
|
/linux-master/drivers/net/wireless/broadcom/b43/ |
H A D | pio.c | 27 u16 cookie; local 29 /* Use the upper 4 bits of the cookie as 32 * Note that the cookie must never be 0, as this 37 cookie = (((u16)q->index + 1) << 12); 38 cookie |= pack->index; 40 return cookie; 45 u16 cookie, 52 switch (cookie & 0xF000) { 71 pack_index = (cookie & 0x0FFF); 446 u16 cookie; local 44 parse_cookie(struct b43_wldev *dev, u16 cookie, struct b43_pio_txpacket **pack) argument [all...] |
/linux-master/drivers/pci/endpoint/functions/ |
H A D | pci-epf-mhi.c | 318 dma_cookie_t cookie; local 356 cookie = dmaengine_submit(desc); 357 ret = dma_submit_error(cookie); 389 dma_cookie_t cookie; local 427 cookie = dmaengine_submit(desc); 428 ret = dma_submit_error(cookie); 495 dma_cookie_t cookie; local 542 cookie = dmaengine_submit(desc); 543 ret = dma_submit_error(cookie); 574 dma_cookie_t cookie; local [all...] |
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_devcoredump.c | 165 bool cookie; local 173 cookie = dma_fence_begin_signalling(); 203 dma_fence_end_signalling(cookie);
|
/linux-master/drivers/net/wireless/broadcom/b43legacy/ |
H A D | dma.c | 461 txstat->cookie = 0; 851 /* Generate a cookie for the TX header. */ 855 u16 cookie = 0x1000; local 857 /* Use the upper 4 bits of the cookie as 860 * Note that the cookie must never be 0, as this 865 cookie = 0xA000; 868 cookie = 0xB000; 871 cookie = 0xC000; 874 cookie = 0xD000; 877 cookie 891 parse_cookie(struct b43legacy_wldev *dev, u16 cookie, int *slot) argument [all...] |
H A D | xmit.c | 179 u16 cookie) 335 /* Magic cookie */ 336 txhdr->cookie = cpu_to_le16(cookie); 350 u16 cookie) 354 info, cookie); 604 status.cookie = le16_to_cpu(hw->cookie); 174 generate_txhdr_fw3(struct b43legacy_wldev *dev, struct b43legacy_txhdr_fw3 *txhdr, const unsigned char *fragment_data, unsigned int fragment_len, struct ieee80211_tx_info *info, u16 cookie) argument 345 b43legacy_generate_txhdr(struct b43legacy_wldev *dev, u8 *txhdr, const unsigned char *fragment_data, unsigned int fragment_len, struct ieee80211_tx_info *info, u16 cookie) argument
|
/linux-master/drivers/media/platform/ti/omap/ |
H A D | omap_vout_vrfb.c | 237 dma_cookie_t cookie; local 279 cookie = dmaengine_submit(tx); 280 if (dma_submit_error(cookie)) { 281 pr_err("%s: dmaengine_submit failed (%d)\n", __func__, cookie); 292 status = dma_async_is_tx_complete(chan, cookie, NULL, NULL);
|
/linux-master/drivers/dma/hsu/ |
H A D | hsu.c | 327 dma_cookie_t cookie, struct dma_tx_state *state) 335 status = dma_cookie_status(chan, cookie, state); 340 vdesc = vchan_find_desc(&hsuc->vchan, cookie); 341 if (hsuc->desc && cookie == hsuc->desc->vdesc.tx.cookie) { 326 hsu_dma_tx_status(struct dma_chan *chan, dma_cookie_t cookie, struct dma_tx_state *state) argument
|
/linux-master/net/rds/ |
H A D | message.c | 58 static inline bool rds_zcookie_add(struct rds_msg_zcopy_info *info, u32 cookie) argument 65 ck->cookies[ncookies] = cookie; 97 u32 cookie = znotif->z_cookie; local 109 if (rds_zcookie_add(info, cookie)) { 120 WARN_ON(!rds_zcookie_add(info, cookie));
|
H A D | rdma.c | 182 rds_rdma_cookie_t cookie; local 317 * a 64bit cookie containing <R_Key, offset> and pass that 320 cookie = rds_rdma_make_cookie(mr->r_key, 0); 322 cookie = rds_rdma_make_cookie(mr->r_key, 325 *cookie_ret = cookie; 328 put_user(cookie, (u64 __user *)(unsigned long)args->cookie_addr)) { 411 /* Special case - a null cookie means flush all unused MRs */ 412 if (args.cookie == 0) { 424 mr = rds_mr_tree_walk(&rs->rs_rdma_keys, rds_rdma_cookie_key(args.cookie), NULL); 693 /* The cookie contain [all...] |
/linux-master/net/batman-adv/ |
H A D | tp_meter.c | 91 * batadv_tp_session_cookie() - generate session cookie based on session ids 95 * Return: 32 bit tp_meter session cookie 99 u32 cookie; local 101 cookie = icmp_uid << 16; 102 cookie |= session[0] << 8; 103 cookie |= session[1]; 105 return cookie; 212 * @cookie: cookie of tp_meter session 217 u32 cookie) 214 batadv_tp_batctl_notify(enum batadv_tp_meter_reason reason, const u8 *dst, struct batadv_priv *bat_priv, unsigned long start_time, u64 total_sent, u32 cookie) argument 244 batadv_tp_batctl_error_notify(enum batadv_tp_meter_reason reason, const u8 *dst, struct batadv_priv *bat_priv, u32 cookie) argument 935 batadv_tp_start(struct batadv_priv *bat_priv, const u8 *dst, u32 test_length, u32 *cookie) argument [all...] |
/linux-master/fs/ocfs2/dlm/ |
H A D | dlmcommon.h | 321 __be64 cookie; member in struct:dlm_migratable_lock 554 __be32 total_locks; // locks to be sent for this migration cookie 555 __be64 mig_cookie; // cookie for this lockres migration 576 __be64 cookie; member in struct:dlm_create_lock 589 __be64 cookie; member in struct:dlm_convert_lock 605 __be64 cookie; member in struct:dlm_unlock_lock 620 __be64 cookie; member in struct:dlm_proxy_ast 795 static inline u8 dlm_get_lock_cookie_node(u64 cookie) argument 798 cookie >>= 56; 799 ret = (u8)(cookie 803 dlm_get_lock_cookie_seq(u64 cookie) argument [all...] |
/linux-master/drivers/net/wireless/ath/ath12k/ |
H A D | hal_rx.c | 266 dma_addr_t paddr, u32 cookie, u8 manager) 274 le32_encode_bits(cookie, BUFFER_ADDR_INFO1_SW_COOKIE) | 280 u32 *cookie, u8 *rbm) 284 *cookie = le32_get_bits(binfo->info1, BUFFER_ADDR_INFO1_SW_COOKIE); 323 u32 cookie, val; local 344 ath12k_hal_rx_reo_ent_paddr_get(ab, &desc->buf_addr_info, paddr, &cookie); 345 *desc_bank = u32_get_bits(cookie, DP_LINK_DESC_BANK_MASK); 375 * hw cookie conversion status 388 rel_info->cookie = le32_get_bits(wbm_desc->buf_addr_info.info1, 400 rel_info->cookie 265 ath12k_hal_rx_buf_addr_info_set(struct ath12k_buffer_addr *binfo, dma_addr_t paddr, u32 cookie, u8 manager) argument 278 ath12k_hal_rx_buf_addr_info_get(struct ath12k_buffer_addr *binfo, dma_addr_t *paddr, u32 *cookie, u8 *rbm) argument 438 ath12k_hal_rx_reo_ent_paddr_get(struct ath12k_base *ab, struct ath12k_buffer_addr *buff_addr, dma_addr_t *paddr, u32 *cookie) argument [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_tc_matchall.c | 215 tc_port_matchall->egress.cookie = cls->cookie; 235 tc_port_matchall->egress.cookie = 0; 329 fs->tc_cookie = cls->cookie; 455 * same cookie. So, checking for the first one is 458 if (cls_matchall->cookie != 465 if (cls_matchall->cookie != tc_port_matchall->egress.cookie)
|
/linux-master/drivers/mmc/host/ |
H A D | renesas_sdhi_internal_dmac.c | 366 enum renesas_sdhi_dma_cookie cookie) 368 bool unmap = cookie == COOKIE_UNMAPPED ? (data->host_cookie != cookie) : 369 (data->host_cookie == cookie); 381 enum renesas_sdhi_dma_cookie cookie) 390 data->host_cookie = cookie; 394 renesas_sdhi_internal_dmac_unmap(host, data, cookie); 364 renesas_sdhi_internal_dmac_unmap(struct tmio_mmc_host *host, struct mmc_data *data, enum renesas_sdhi_dma_cookie cookie) argument 379 renesas_sdhi_internal_dmac_map(struct tmio_mmc_host *host, struct mmc_data *data, enum renesas_sdhi_dma_cookie cookie) argument
|
/linux-master/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | conntrack.c | 14 .key_offset = offsetof(struct nfp_fl_ct_tc_merge, cookie), 22 .key_offset = offsetof(struct nfp_fl_nft_tc_merge, cookie), 1078 /* Use the pointer address as the cookie, but set the last bit to 1. 1128 static int nfp_fl_ct_del_offload(struct nfp_app *app, unsigned long cookie, argument 1139 flow_pay = nfp_flower_search_fl_table(app, cookie, netdev); 1213 /* Combine tc_merge and nft cookies for this cookie. */ 1214 new_cookie[0] = tc_m_entry->cookie[0]; 1215 new_cookie[1] = tc_m_entry->cookie[1]; 1216 new_cookie[2] = nft_entry->cookie; 1226 if (!memcmp(&new_cookie, nft_m_entry->cookie, sizeo [all...] |
/linux-master/fs/bcachefs/ |
H A D | btree_node_scan.c | 25 prt_printf(out, "%s l=%u seq=%u cookie=%llx ", bch2_btree_id_str(n->btree_id), n->level, n->seq, n->cookie); 57 bp->v.seq = cpu_to_le64(f->cookie); 94 cmp_int(l->cookie, r->cookie); 154 .cookie = le64_to_cpu(bn->keys.seq), 359 prev->cookie == i->cookie) {
|
/linux-master/drivers/dma/dw/ |
H A D | core.c | 57 dma_cookie_t cookie; local 61 cookie = dma_cookie_assign(tx); 72 __func__, desc->txd.cookie); 74 return cookie; 225 dev_vdbg(chan2dev(&dwc->chan), "%s: started %u\n", __func__, desc->txd.cookie); 240 dev_vdbg(chan2dev(&dwc->chan), "descriptor %u complete\n", txd->cookie); 452 " cookie: %d\n", bad_desc->txd.cookie); 886 if (desc->txd.cookie == c) 892 static u32 dwc_get_residue_and_status(struct dw_dma_chan *dwc, dma_cookie_t cookie, argument 921 dwc_tx_status(struct dma_chan *chan, dma_cookie_t cookie, struct dma_tx_state *txstate) argument [all...] |
/linux-master/drivers/dma/ioat/ |
H A D | init.c | 309 dma_cookie_t cookie; local 363 cookie = tx->tx_submit(tx); 364 if (cookie < 0) { 374 dma->device_tx_status(dma_chan, cookie, NULL) 793 dma_cookie_t cookie; local 879 cookie = tx->tx_submit(tx); 880 if (cookie < 0) { 890 dma->device_tx_status(dma_chan, cookie, NULL) != DMA_COMPLETE) { 947 cookie = tx->tx_submit(tx); 948 if (cookie < [all...] |