/drivers/staging/lustre/lnet/klnds/socklnd/ |
H A D | socklnd_cb.c | 68 ksocknal_alloc_tx_noop(__u64 cookie, int nonblk) argument 87 tx->tx_msg.ksm_zc_cookies[1] = cookie; 438 /* Set tx_msg.ksm_zc_cookies[0] to a unique non-zero cookie and add tx 440 * zero-copy. Our peer will send an ACK containing this cookie when 453 /* assign cookie and queue tx to pending list, it will be released when 1191 __u64 cookie = 0; local 1196 cookie = conn->ksnc_msg.ksm_zc_cookies[0]; 1198 rc = conn->ksnc_proto->pro_handle_zcack(conn, cookie, 1202 CERROR("%s: Unknown ZC-ACK cookie: %llu, %llu\n", 1204 cookie, con [all...] |
/drivers/staging/lustre/lnet/lnet/ |
H A D | api-ni.c | 419 /* NB the interface cookie in wire handles guards against delayed 424 __u64 cookie; local 427 cookie = tv.tv_sec; 428 cookie *= 1000000; 429 cookie += tv.tv_usec; 430 return cookie; 571 lnet_res_lh_lookup(struct lnet_res_container *rec, __u64 cookie) argument 578 if ((cookie & LNET_COOKIE_MASK) != rec->rec_type) 581 hash = cookie >> (LNET_COOKIE_TYPE_BITS + LNET_CPT_BITS); 585 if (lh->lh_cookie == cookie) [all...] |
/drivers/staging/lustre/lustre/ldlm/ |
H A D | ldlm_lock.c | 555 lockh->cookie = lock->l_handle.h_cookie; 572 lock = class_handle2object(handle->cookie); 862 LASSERTF(lock != NULL, "Non-existing lock: %#llx\n", lockh->cookie); 1558 void *cookie, __u64 *flags) 1570 rc = ns->ns_policy(ns, lockp, cookie, lock->l_req_mode, *flags, 2241 lock->l_flags, nid, lock->l_remote_handle.cookie, 2266 lock->l_flags, nid, lock->l_remote_handle.cookie, 2289 lock->l_flags, nid, lock->l_remote_handle.cookie, 2310 lock->l_flags, nid, lock->l_remote_handle.cookie, 2331 lock->l_flags, nid, lock->l_remote_handle.cookie, 1556 ldlm_lock_enqueue(struct ldlm_namespace *ns, struct ldlm_lock **lockp, void *cookie, __u64 *flags) argument [all...] |
H A D | ldlm_pool.c | 1038 void *cookie; local 1046 cookie = cl_env_reenter(); 1056 cl_env_reexit(cookie); 1082 cl_env_reexit(cookie); 1091 void *cookie; local 1096 cookie = cl_env_reenter(); 1127 cl_env_reexit(cookie);
|
/drivers/staging/lustre/lustre/lov/ |
H A D | lov_object.c | 67 int (*llo_print)(const struct lu_env *env, void *cookie, 389 static int lov_print_empty(const struct lu_env *env, void *cookie, argument 392 (*p)(env, cookie, "empty %d\n", lu2lov(o)->lo_layout_invalid); 396 static int lov_print_raid0(const struct lu_env *env, void *cookie, argument 404 (*p)(env, cookie, "stripes: %d, %s, lsm{%p 0x%08X %d %u %u}:\n", 413 lu_object_print(env, cookie, p, sub); 415 (*p)(env, cookie, "sub %d absent\n", i); 421 static int lov_print_released(const struct lu_env *env, void *cookie, argument 427 (*p)(env, cookie, 659 void *cookie; local 810 lov_object_print(const struct lu_env *env, void *cookie, lu_printer_t p, const struct lu_object *o) argument [all...] |
/drivers/staging/lustre/lustre/obdclass/ |
H A D | cl_io.c | 1346 void cl_io_print(const struct lu_env *env, void *cookie, argument
|
H A D | cl_lock.c | 2195 void cl_lock_descr_print(const struct lu_env *env, void *cookie, argument 2202 (*printer)(env, cookie, DDESCR"@"DFID, PDESCR(descr), PFID(fid)); 2209 void cl_lock_print(const struct lu_env *env, void *cookie, argument 2213 (*printer)(env, cookie, "lock@%p[%d %d %d %d %d %08lx] ", 2217 cl_lock_descr_print(env, cookie, printer, &lock->cll_descr); 2218 (*printer)(env, cookie, " {\n"); 2221 (*printer)(env, cookie, " %s@%p: ", 2225 slice->cls_ops->clo_print(env, cookie, printer, slice); 2226 (*printer)(env, cookie, "\n"); 2228 (*printer)(env, cookie, "} loc [all...] |
H A D | cl_object.c | 645 void *cookie; local 648 cookie = cfs_hash_del(cl_env_hash, cle->ce_owner, 650 LASSERT(cookie == cle); 855 void cl_env_reexit(void *cookie) argument 858 cl_env_attach(cookie);
|
H A D | cl_page.c | 1454 void cl_page_header_print(const struct lu_env *env, void *cookie, argument 1457 (*printer)(env, cookie, 1469 void cl_page_print(const struct lu_env *env, void *cookie, argument 1476 cl_page_header_print(env, cookie, printer, scan); 1480 void *cookie, lu_printer_t p), cookie, printer); local 1481 (*printer)(env, cookie, "end page@%p\n", pg);
|
/drivers/ata/ |
H A D | pata_arasan_cf.c | 399 dma_cookie_t cookie; local 411 cookie = tx->tx_submit(tx); 413 ret = dma_submit_error(cookie);
|
/drivers/base/ |
H A D | firmware_class.c | 1443 async_cookie_t cookie) 1442 __async_dev_cache_fw_image(void *fw_entry, async_cookie_t cookie) argument
|
/drivers/block/ |
H A D | loop.c | 371 struct lo_read_data cookie; local 376 cookie.lo = lo; 377 cookie.page = bvec->bv_page; 378 cookie.offset = bvec->bv_offset; 379 cookie.bsize = bsize; 385 sd.u.data = &cookie;
|
/drivers/dma/ |
H A D | amba-pl08x.c | 1217 dma_cookie_t cookie, struct dma_tx_state *txstate) 1225 ret = dma_cookie_status(chan, cookie, txstate); 1240 ret = dma_cookie_status(chan, cookie, txstate); 1242 vd = vchan_find_desc(&plchan->vc, cookie); 1257 * This cookie not complete yet 1216 pl08x_dma_tx_status(struct dma_chan *chan, dma_cookie_t cookie, struct dma_tx_state *txstate) argument
|
H A D | cppi41.c | 341 dma_cookie_t cookie; local 343 cookie = dma_cookie_assign(tx); 345 return cookie; 367 dma_cookie_t cookie, struct dma_tx_state *txstate) 373 ret = dma_cookie_status(chan, cookie, txstate); 366 cppi41_dma_tx_status(struct dma_chan *chan, dma_cookie_t cookie, struct dma_tx_state *txstate) argument
|
H A D | ep93xx_dma.c | 297 * If txd.cookie is set it means that we are back in the first 300 return !desc->txd.cookie; 420 desc->txd.cookie, desc->src_addr, desc->dst_addr, 609 last_done = !desc || desc->txd.cookie; 681 desc->txd.cookie = 0; 818 * is busy, queue the descriptor to be executed later on. Returns cookie which 825 dma_cookie_t cookie; local 829 cookie = dma_cookie_assign(tx); 846 return cookie; 1004 first->txd.cookie 1282 ep93xx_dma_tx_status(struct dma_chan *chan, dma_cookie_t cookie, struct dma_tx_state *state) argument [all...] |
H A D | fsl-edma.c | 399 dma_cookie_t cookie, struct dma_tx_state *txstate) 406 status = dma_cookie_status(chan, cookie, txstate); 414 vdesc = vchan_find_desc(&fsl_chan->vchan, cookie); 415 if (fsl_chan->edesc && cookie == fsl_chan->edesc->vdesc.tx.cookie) 398 fsl_edma_tx_status(struct dma_chan *chan, dma_cookie_t cookie, struct dma_tx_state *txstate) argument
|
H A D | imx-dma.c | 738 dma_cookie_t cookie, 741 return dma_cookie_status(chan, cookie, txstate); 748 dma_cookie_t cookie; local 753 cookie = dma_cookie_assign(tx); 756 return cookie; 737 imxdma_tx_status(struct dma_chan *chan, dma_cookie_t cookie, struct dma_tx_state *txstate) argument
|
H A D | mmp_pdma.c | 343 dma_cookie_t cookie = -EBUSY; local 348 cookie = dma_cookie_assign(&child->async_tx); 356 return cookie; 486 new->async_tx.cookie = 0; 506 first->async_tx.cookie = -EBUSY; 569 new->async_tx.cookie = 0; 582 first->async_tx.cookie = -EBUSY; 656 new->async_tx.cookie = 0; 672 first->async_tx.cookie = -EBUSY; 752 dma_cookie_t cookie) 751 mmp_pdma_residue(struct mmp_pdma_chan *chan, dma_cookie_t cookie) argument 825 mmp_pdma_tx_status(struct dma_chan *dchan, dma_cookie_t cookie, struct dma_tx_state *txstate) argument 897 dma_cookie_t cookie = desc->async_tx.cookie; local [all...] |
H A D | mpc512x_dma.c | 416 last_cookie = desc->cookie; 482 dma_cookie_t cookie; local 495 /* Update cookie */ 496 cookie = dma_cookie_assign(txd); 499 return cookie; 610 mpc_dma_tx_status(struct dma_chan *chan, dma_cookie_t cookie, argument 613 return dma_cookie_status(chan, cookie, txstate);
|
H A D | nbpfaxi.c | 603 dma_cookie_t cookie, struct dma_tx_state *state) 606 enum dma_status status = dma_cookie_status(dchan, cookie, state); 613 running = chan->running ? chan->running->async_tx.cookie : -EINVAL; 615 if (cookie == running) { 624 if (desc->async_tx.cookie == cookie) { 631 if (desc->async_tx.cookie == cookie) { 654 dma_cookie_t cookie; local 657 cookie 602 nbpf_tx_status(struct dma_chan *dchan, dma_cookie_t cookie, struct dma_tx_state *state) argument [all...] |
H A D | omap-dma.c | 696 dma_cookie_t cookie, struct dma_tx_state *txstate) 703 ret = dma_cookie_status(chan, cookie, txstate); 708 vd = vchan_find_desc(&c->vc, cookie); 711 } else if (c->desc && c->desc->vd.tx.cookie == cookie) { 695 omap_dma_tx_status(struct dma_chan *chan, dma_cookie_t cookie, struct dma_tx_state *txstate) argument
|
H A D | pch_dma.c | 404 dev_crit(chan2dev(&pd_chan->chan), "descriptor cookie: %d\n", 405 bad_desc->txd.cookie); 425 dma_cookie_t cookie; local 428 cookie = dma_cookie_assign(txd); 565 static enum dma_status pd_tx_status(struct dma_chan *chan, dma_cookie_t cookie, argument 568 return dma_cookie_status(chan, cookie, txstate); 657 first->txd.cookie = -EBUSY;
|
H A D | qcom_bam_dma.c | 661 * if complete, process cookie. Otherwise 710 * @cookie: transaction cookie 715 static enum dma_status bam_tx_status(struct dma_chan *chan, dma_cookie_t cookie, argument 725 ret = dma_cookie_status(chan, cookie, txstate); 733 vd = vchan_find_desc(&bchan->vc, cookie); 736 else if (bchan->curr_txd && bchan->curr_txd->vd.tx.cookie == cookie)
|
H A D | s3c24xx-dma.c | 767 dma_cookie_t cookie, struct dma_tx_state *txstate) 778 ret = dma_cookie_status(chan, cookie, txstate); 793 vd = vchan_find_desc(&s3cchan->vc, cookie); 816 * This cookie not complete yet 766 s3c24xx_dma_tx_status(struct dma_chan *chan, dma_cookie_t cookie, struct dma_tx_state *txstate) argument
|
/drivers/dma/ipu/ |
H A D | ipu_idmac.c | 829 dma_cookie_t cookie; local 855 cookie = ipu_init_channel_buffer(ichan, 863 if (cookie < 0) 869 cookie = dma_cookie_assign(tx); 881 cookie = ret; 888 cookie = ret; 896 if (cookie < 0) { 900 tx->cookie = cookie; 901 ichan->dma_chan.cookie 1601 idmac_tx_status(struct dma_chan *chan, dma_cookie_t cookie, struct dma_tx_state *txstate) argument [all...] |