/linux-4.1.27/fs/fscache/ |
D | cookie.c | 24 static int fscache_acquire_non_index_cookie(struct fscache_cookie *cookie); 26 struct fscache_cookie *cookie); 27 static int fscache_attach_object(struct fscache_cookie *cookie, 35 struct fscache_cookie *cookie = _cookie; in fscache_cookie_init_once() local 37 memset(cookie, 0, sizeof(*cookie)); in fscache_cookie_init_once() 38 spin_lock_init(&cookie->lock); in fscache_cookie_init_once() 39 spin_lock_init(&cookie->stores_lock); in fscache_cookie_init_once() 40 INIT_HLIST_HEAD(&cookie->backing_objects); in fscache_cookie_init_once() 64 struct fscache_cookie *cookie; in __fscache_acquire_cookie() local 89 cookie = kmem_cache_alloc(fscache_cookie_jar, GFP_KERNEL); in __fscache_acquire_cookie() [all …]
|
D | page.c | 23 bool __fscache_check_page_write(struct fscache_cookie *cookie, struct page *page) in __fscache_check_page_write() argument 28 val = radix_tree_lookup(&cookie->stores, page->index); in __fscache_check_page_write() 38 void __fscache_wait_on_page_write(struct fscache_cookie *cookie, struct page *page) in __fscache_wait_on_page_write() argument 40 wait_queue_head_t *wq = bit_waitqueue(&cookie->flags, 0); in __fscache_wait_on_page_write() 42 wait_event(*wq, !__fscache_check_page_write(cookie, page)); in __fscache_wait_on_page_write() 51 bool release_page_wait_timeout(struct fscache_cookie *cookie, struct page *page) in release_page_wait_timeout() argument 53 wait_queue_head_t *wq = bit_waitqueue(&cookie->flags, 0); in release_page_wait_timeout() 55 return wait_event_timeout(*wq, !__fscache_check_page_write(cookie, page), in release_page_wait_timeout() 63 bool __fscache_maybe_release_page(struct fscache_cookie *cookie, in __fscache_maybe_release_page() argument 70 _enter("%p,%p,%x", cookie, page, gfp); in __fscache_maybe_release_page() [all …]
|
D | object.c | 292 struct fscache_cookie *cookie, in fscache_object_init() argument 315 object->cookie = cookie; in fscache_object_init() 432 struct fscache_cookie *cookie = object->cookie; in fscache_look_up_object() local 455 cookie->def->name, object->cache->tag->name); in fscache_look_up_object() 490 struct fscache_cookie *cookie = object->cookie; in fscache_object_lookup_negative() local 500 set_bit(FSCACHE_COOKIE_NO_DATA_YET, &cookie->flags); in fscache_object_lookup_negative() 501 clear_bit(FSCACHE_COOKIE_UNAVAILABLE, &cookie->flags); in fscache_object_lookup_negative() 503 _debug("wake up lookup %p", &cookie->flags); in fscache_object_lookup_negative() 504 clear_bit_unlock(FSCACHE_COOKIE_LOOKING_UP, &cookie->flags); in fscache_object_lookup_negative() 505 wake_up_bit(&cookie->flags, FSCACHE_COOKIE_LOOKING_UP); in fscache_object_lookup_negative() [all …]
|
D | object-list.c | 170 struct fscache_cookie *cookie; in fscache_objlist_show() local 219 cookie = obj->cookie; in fscache_objlist_show() 221 FILTER(cookie->def, in fscache_objlist_show() 257 switch (cookie->def->type) { in fscache_objlist_show() 265 sprintf(_type, "%02u", cookie->def->type); in fscache_objlist_show() 271 cookie->def->name, in fscache_objlist_show() 273 cookie->flags, in fscache_objlist_show() 274 cookie->netfs_data); in fscache_objlist_show() 276 if (cookie->def->get_key && in fscache_objlist_show() 278 keylen = cookie->def->get_key(cookie->netfs_data, in fscache_objlist_show() [all …]
|
D | cache.c | 95 struct fscache_cookie *cookie) in fscache_select_cache_for_object() argument 109 spin_lock(&cookie->lock); in fscache_select_cache_for_object() 113 if (!hlist_empty(&cookie->backing_objects)) { in fscache_select_cache_for_object() 114 object = hlist_entry(cookie->backing_objects.first, in fscache_select_cache_for_object() 122 spin_unlock(&cookie->lock); in fscache_select_cache_for_object() 128 if (cookie->def->type != FSCACHE_COOKIE_TYPE_INDEX) { in fscache_select_cache_for_object() 130 spin_unlock(&cookie->lock); in fscache_select_cache_for_object() 135 spin_unlock(&cookie->lock); in fscache_select_cache_for_object() 137 if (!cookie->def->select_cache) in fscache_select_cache_for_object() 141 tag = cookie->def->select_cache(cookie->parent->netfs_data, in fscache_select_cache_for_object() [all …]
|
D | internal.h | 315 static inline void fscache_cookie_put(struct fscache_cookie *cookie) in fscache_cookie_put() argument 317 BUG_ON(atomic_read(&cookie->usage) <= 0); in fscache_cookie_put() 318 if (atomic_dec_and_test(&cookie->usage)) in fscache_cookie_put() 319 __fscache_cookie_put(cookie); in fscache_cookie_put() 326 void *fscache_get_context(struct fscache_cookie *cookie, void *context) in fscache_get_context() argument 328 if (cookie->def->get_context) in fscache_get_context() 329 cookie->def->get_context(cookie->netfs_data, context); in fscache_get_context() 337 void fscache_put_context(struct fscache_cookie *cookie, void *context) in fscache_put_context() argument 339 if (cookie->def->put_context) in fscache_put_context() 340 cookie->def->put_context(cookie->netfs_data, context); in fscache_put_context()
|
D | Makefile | 7 cookie.o \
|
/linux-4.1.27/include/linux/ |
D | fscache.h | 28 #define fscache_cookie_valid(cookie) (cookie) argument 31 #define fscache_cookie_valid(cookie) (0) argument 200 static inline bool fscache_cookie_enabled(struct fscache_cookie *cookie) in fscache_cookie_enabled() argument 202 return test_bit(FSCACHE_COOKIE_ENABLED, &cookie->flags); in fscache_cookie_enabled() 248 extern void __fscache_readpages_cancel(struct fscache_cookie *cookie, 367 void fscache_relinquish_cookie(struct fscache_cookie *cookie, bool retire) in fscache_relinquish_cookie() argument 369 if (fscache_cookie_valid(cookie)) in fscache_relinquish_cookie() 370 __fscache_relinquish_cookie(cookie, retire); in fscache_relinquish_cookie() 384 int fscache_check_consistency(struct fscache_cookie *cookie) in fscache_check_consistency() argument 386 if (fscache_cookie_valid(cookie) && fscache_cookie_enabled(cookie)) in fscache_check_consistency() [all …]
|
D | fscache-cache.h | 235 struct fscache_cookie *cookie); 378 struct fscache_cookie *cookie; /* netfs's file/index object */ member 485 static inline void __fscache_use_cookie(struct fscache_cookie *cookie) in __fscache_use_cookie() argument 487 atomic_inc(&cookie->n_active); in __fscache_use_cookie() 499 struct fscache_cookie *cookie = object->cookie; in fscache_use_cookie() local 500 return atomic_inc_not_zero(&cookie->n_active) != 0; in fscache_use_cookie() 503 static inline bool __fscache_unuse_cookie(struct fscache_cookie *cookie) in __fscache_unuse_cookie() argument 505 return atomic_dec_and_test(&cookie->n_active); in __fscache_unuse_cookie() 508 static inline void __fscache_wake_unused_cookie(struct fscache_cookie *cookie) in __fscache_wake_unused_cookie() argument 510 wake_up_atomic_t(&cookie->n_active); in __fscache_wake_unused_cookie() [all …]
|
D | vgaarb.h | 242 int vga_client_register(struct pci_dev *pdev, void *cookie, 243 void (*irq_set_state)(void *cookie, bool state), 244 unsigned int (*set_vga_decode)(void *cookie, bool state)); 246 static inline int vga_client_register(struct pci_dev *pdev, void *cookie, in vga_client_register() argument 247 void (*irq_set_state)(void *cookie, bool state), in vga_client_register() argument 248 unsigned int (*set_vga_decode)(void *cookie, bool state)) in vga_client_register() argument
|
D | dmaengine.h | 37 static inline int dma_submit_error(dma_cookie_t cookie) in dma_submit_error() argument 39 return cookie < 0 ? cookie : 0; in dma_submit_error() 239 dma_cookie_t cookie; member 439 dma_cookie_t cookie; member 680 dma_cookie_t cookie, 783 dma_cookie_t cookie, struct dma_tx_state *state) in dmaengine_tx_status() argument 785 return chan->device->device_tx_status(chan, cookie, state); in dmaengine_tx_status() 984 dma_cookie_t cookie, dma_cookie_t *last, dma_cookie_t *used) in dma_async_is_tx_complete() argument 989 status = chan->device->device_tx_status(chan, cookie, &state); in dma_async_is_tx_complete() 1006 static inline enum dma_status dma_async_is_complete(dma_cookie_t cookie, in dma_async_is_complete() argument [all …]
|
D | async.h | 19 typedef void (*async_func_t) (void *data, async_cookie_t cookie); 46 extern void async_synchronize_cookie(async_cookie_t cookie); 47 extern void async_synchronize_cookie_domain(async_cookie_t cookie,
|
D | dcookies.h | 47 int get_dcookie(struct path *path, unsigned long *cookie); 61 static inline int get_dcookie(struct path *path, unsigned long *cookie) in get_dcookie() argument
|
D | sock_diag.h | 22 int sock_diag_check_cookie(struct sock *sk, const __u32 *cookie); 23 void sock_diag_save_cookie(struct sock *sk, __u32 *cookie);
|
D | fsnotify_backend.h | 102 const unsigned char *file_name, u32 cookie); 243 const unsigned char *name, u32 cookie); 371 const unsigned char *name, u32 cookie) in fsnotify() argument
|
D | mic_bus.h | 88 struct mic_irq *cookie, void *data);
|
D | raid_class.h | 15 void *cookie; member
|
/linux-4.1.27/drivers/dma/ |
D | dmaengine.h | 17 chan->cookie = DMA_MIN_COOKIE; in dma_cookie_init() 31 dma_cookie_t cookie; in dma_cookie_assign() local 33 cookie = chan->cookie + 1; in dma_cookie_assign() 34 if (cookie < DMA_MIN_COOKIE) in dma_cookie_assign() 35 cookie = DMA_MIN_COOKIE; in dma_cookie_assign() 36 tx->cookie = chan->cookie = cookie; in dma_cookie_assign() 38 return cookie; in dma_cookie_assign() 53 BUG_ON(tx->cookie < DMA_MIN_COOKIE); in dma_cookie_complete() 54 tx->chan->completed_cookie = tx->cookie; in dma_cookie_complete() 55 tx->cookie = 0; in dma_cookie_complete() [all …]
|
D | iop-adma.c | 62 struct iop_adma_chan *iop_chan, dma_cookie_t cookie) in iop_adma_run_tx_complete_actions() argument 66 BUG_ON(tx->cookie < 0); in iop_adma_run_tx_complete_actions() 67 if (tx->cookie > 0) { in iop_adma_run_tx_complete_actions() 68 cookie = tx->cookie; in iop_adma_run_tx_complete_actions() 69 tx->cookie = 0; in iop_adma_run_tx_complete_actions() 85 return cookie; in iop_adma_run_tx_complete_actions() 117 dma_cookie_t cookie = 0; in __iop_adma_slot_cleanup() local 130 iter->async_tx.cookie, iter->idx, busy, in __iop_adma_slot_cleanup() 202 cookie = iop_adma_run_tx_complete_actions( in __iop_adma_slot_cleanup() 203 grp_iter, iop_chan, cookie); in __iop_adma_slot_cleanup() [all …]
|
D | virt-dma.c | 27 dma_cookie_t cookie; in vchan_tx_submit() local 30 cookie = dma_cookie_assign(tx); in vchan_tx_submit() 36 vc, vd, cookie); in vchan_tx_submit() 38 return cookie; in vchan_tx_submit() 43 dma_cookie_t cookie) in vchan_find_desc() argument 48 if (vd->tx.cookie == cookie) in vchan_find_desc()
|
D | mic_x100_dma.c | 104 if (tx->cookie) { in mic_dma_cleanup() 245 dma_cookie_t cookie; in mic_dma_tx_submit_unlock() local 248 cookie = tx->cookie; in mic_dma_tx_submit_unlock() 258 return cookie; in mic_dma_tx_submit_unlock() 313 mic_dma_tx_status(struct dma_chan *ch, dma_cookie_t cookie, in mic_dma_tx_status() argument 318 if (DMA_COMPLETE != dma_cookie_status(ch, cookie, txstate)) in mic_dma_tx_status() 321 return dma_cookie_status(ch, cookie, txstate); in mic_dma_tx_status() 445 ch->cookie = in mic_dma_setup_irq() 449 if (IS_ERR(ch->cookie)) in mic_dma_setup_irq() 450 return IS_ERR(ch->cookie); in mic_dma_setup_irq() [all …]
|
D | mv_xor.c | 209 struct mv_xor_chan *mv_chan, dma_cookie_t cookie) in mv_xor_run_tx_complete_actions() argument 211 BUG_ON(desc->async_tx.cookie < 0); in mv_xor_run_tx_complete_actions() 213 if (desc->async_tx.cookie > 0) { in mv_xor_run_tx_complete_actions() 214 cookie = desc->async_tx.cookie; in mv_xor_run_tx_complete_actions() 229 return cookie; in mv_xor_run_tx_complete_actions() 273 dma_cookie_t cookie = 0; in mv_xor_slot_cleanup() local 293 cookie = mv_xor_run_tx_complete_actions(iter, mv_chan, in mv_xor_slot_cleanup() 294 cookie); in mv_xor_slot_cleanup() 342 if (cookie > 0) in mv_xor_slot_cleanup() 343 mv_chan->dmachan.completed_cookie = cookie; in mv_xor_slot_cleanup() [all …]
|
D | virt-dma.h | 87 dma_cookie_t cookie; in vchan_cookie_complete() local 89 cookie = vd->tx.cookie; in vchan_cookie_complete() 92 vd, cookie); in vchan_cookie_complete()
|
D | fsldma.c | 413 dma_cookie_t cookie = -EINVAL; in fsl_dma_tx_submit() local 430 cookie = dma_cookie_assign(&child->async_tx); in fsl_dma_tx_submit() 438 return cookie; in fsl_dma_tx_submit() 510 struct fsl_desc_sw *desc, dma_cookie_t cookie) in fsldma_run_tx_complete_actions() argument 513 dma_cookie_t ret = cookie; in fsldma_run_tx_complete_actions() 515 BUG_ON(txd->cookie < 0); in fsldma_run_tx_complete_actions() 517 if (txd->cookie > 0) { in fsldma_run_tx_complete_actions() 518 ret = txd->cookie; in fsldma_run_tx_complete_actions() 643 dma_cookie_t cookie = 0; in fsldma_cleanup_descriptors() local 669 cookie = fsldma_run_tx_complete_actions(chan, desc, cookie); in fsldma_cleanup_descriptors() [all …]
|
D | mmp_pdma.c | 346 dma_cookie_t cookie = -EBUSY; in mmp_pdma_tx_submit() local 351 cookie = dma_cookie_assign(&child->async_tx); in mmp_pdma_tx_submit() 359 return cookie; in mmp_pdma_tx_submit() 489 new->async_tx.cookie = 0; in mmp_pdma_prep_memcpy() 509 first->async_tx.cookie = -EBUSY; in mmp_pdma_prep_memcpy() 572 new->async_tx.cookie = 0; in mmp_pdma_prep_slave_sg() 585 first->async_tx.cookie = -EBUSY; in mmp_pdma_prep_slave_sg() 659 new->async_tx.cookie = 0; in mmp_pdma_prep_dma_cyclic() 675 first->async_tx.cookie = -EBUSY; in mmp_pdma_prep_dma_cyclic() 757 dma_cookie_t cookie) in mmp_pdma_residue() argument [all …]
|
D | at_hdmac.c | 261 dma_cookie_t cookie) in atc_get_desc_by_cookie() argument 266 if (desc->txd.cookie == cookie) in atc_get_desc_by_cookie() 271 if (desc->txd.cookie == cookie) in atc_get_desc_by_cookie() 313 static int atc_get_bytes_left(struct dma_chan *chan, dma_cookie_t cookie) in atc_get_bytes_left() argument 326 desc = atc_get_desc_by_cookie(atchan, cookie); in atc_get_bytes_left() 391 "descriptor %u complete\n", txd->cookie); in atc_chain_complete() 512 " cookie: %d\n", bad_desc->txd.cookie); in atc_handle_error() 615 dma_cookie_t cookie; in atc_tx_submit() local 619 cookie = dma_cookie_assign(tx); in atc_tx_submit() 623 desc->txd.cookie); in atc_tx_submit() [all …]
|
D | timb_dma.c | 247 txd->cookie); in __td_finish() 303 __func__, td_desc->txd.cookie); in __td_start_next() 315 dma_cookie_t cookie; in td_tx_submit() local 318 cookie = dma_cookie_assign(txd); in td_tx_submit() 322 txd->cookie); in td_tx_submit() 327 txd->cookie); in td_tx_submit() 334 return cookie; in td_tx_submit() 475 static enum dma_status td_tx_status(struct dma_chan *chan, dma_cookie_t cookie, in td_tx_status() argument 482 ret = dma_cookie_status(chan, cookie, txstate); in td_tx_status()
|
D | nbpfaxi.c | 596 dma_cookie_t cookie, struct dma_tx_state *state) in nbpf_tx_status() argument 599 enum dma_status status = dma_cookie_status(dchan, cookie, state); in nbpf_tx_status() 606 running = chan->running ? chan->running->async_tx.cookie : -EINVAL; in nbpf_tx_status() 608 if (cookie == running) { in nbpf_tx_status() 617 if (desc->async_tx.cookie == cookie) { in nbpf_tx_status() 624 if (desc->async_tx.cookie == cookie) { in nbpf_tx_status() 647 dma_cookie_t cookie; in nbpf_tx_submit() local 650 cookie = dma_cookie_assign(tx); in nbpf_tx_submit() 654 dev_dbg(chan->dma_chan.device->dev, "Entry %s(%d)\n", __func__, cookie); in nbpf_tx_submit() 656 return cookie; in nbpf_tx_submit() [all …]
|
D | ep93xx_dma.c | 300 return !desc->txd.cookie; in ep93xx_dma_advance_active() 420 desc->txd.cookie, desc->src_addr, desc->dst_addr, in m2p_hw_interrupt() 609 last_done = !desc || desc->txd.cookie; in m2m_hw_interrupt() 681 desc->txd.cookie = 0; in ep93xx_dma_desc_get() 825 dma_cookie_t cookie; in ep93xx_dma_tx_submit() local 829 cookie = dma_cookie_assign(tx); in ep93xx_dma_tx_submit() 846 return cookie; in ep93xx_dma_tx_submit() 1004 first->txd.cookie = -EBUSY; in ep93xx_dma_prep_dma_memcpy() 1077 first->txd.cookie = -EBUSY; in ep93xx_dma_prep_slave_sg() 1156 first->txd.cookie = -EBUSY; in ep93xx_dma_prep_dma_cyclic() [all …]
|
D | xgene-dma.c | 558 dma_cookie_t cookie; in xgene_dma_tx_submit() local 568 cookie = dma_cookie_assign(tx); in xgene_dma_tx_submit() 575 return cookie; in xgene_dma_tx_submit() 648 if (tx->cookie == 0) in xgene_dma_run_tx_complete_actions() 966 new->tx.cookie = 0; in xgene_dma_prep_memcpy() 979 new->tx.cookie = -EBUSY; in xgene_dma_prep_memcpy() 1042 new->tx.cookie = 0; in xgene_dma_prep_sg() 1088 new->tx.cookie = -EBUSY; in xgene_dma_prep_sg() 1127 new->tx.cookie = 0; in xgene_dma_prep_xor() 1135 new->tx.cookie = -EBUSY; in xgene_dma_prep_xor() [all …]
|
D | dma-jz4740.c | 468 dma_cookie_t cookie, struct dma_tx_state *state) in jz4740_dma_tx_status() argument 475 status = dma_cookie_status(c, cookie, state); in jz4740_dma_tx_status() 480 vdesc = vchan_find_desc(&chan->vchan, cookie); in jz4740_dma_tx_status() 481 if (cookie == chan->desc->vdesc.tx.cookie) { in jz4740_dma_tx_status()
|
D | moxart-dma.c | 477 dma_cookie_t cookie, in moxart_tx_status() argument 489 ret = dma_cookie_status(chan, cookie, txstate); in moxart_tx_status() 492 vd = vchan_find_desc(&ch->vc, cookie); in moxart_tx_status() 496 } else if (ch->desc && ch->desc->vd.tx.cookie == cookie) { in moxart_tx_status()
|
D | bcm2835-dma.c | 284 dma_cookie_t cookie, struct dma_tx_state *txstate) in bcm2835_dma_tx_status() argument 291 ret = dma_cookie_status(chan, cookie, txstate); in bcm2835_dma_tx_status() 296 vd = vchan_find_desc(&c->vc, cookie); in bcm2835_dma_tx_status() 300 } else if (c->desc && c->desc->vd.tx.cookie == cookie) { in bcm2835_dma_tx_status()
|
D | txx9dmac.c | 341 first->txd.cookie, first); in txx9dmac_dostart() 411 txd->cookie, desc); in txx9dmac_descriptor_complete() 535 bad_desc->txd.cookie); in txx9dmac_handle_error() 701 dma_cookie_t cookie; in txx9dmac_tx_submit() local 704 cookie = dma_cookie_assign(tx); in txx9dmac_tx_submit() 707 desc->txd.cookie, desc); in txx9dmac_tx_submit() 712 return cookie; in txx9dmac_tx_submit() 929 txx9dmac_tx_status(struct dma_chan *chan, dma_cookie_t cookie, in txx9dmac_tx_status() argument 935 ret = dma_cookie_status(chan, cookie, txstate); in txx9dmac_tx_status() 943 return dma_cookie_status(chan, cookie, txstate); in txx9dmac_tx_status()
|
D | sirf-dma.c | 220 last_cookie = desc->cookie; in sirfsoc_dma_process_completed() 268 dma_cookie_t cookie; in sirfsoc_dma_tx_submit() local 277 cookie = dma_cookie_assign(txd); in sirfsoc_dma_tx_submit() 281 return cookie; in sirfsoc_dma_tx_submit() 461 sirfsoc_dma_tx_status(struct dma_chan *chan, dma_cookie_t cookie, in sirfsoc_dma_tx_status() argument 481 ret = dma_cookie_status(chan, cookie, txstate); in sirfsoc_dma_tx_status()
|
D | tegra20-apb-dma.c | 688 dma_cookie_t cookie; in tegra_dma_tx_submit() local 692 cookie = dma_cookie_assign(&dma_desc->txd); in tegra_dma_tx_submit() 695 return cookie; in tegra_dma_tx_submit() 784 dma_cookie_t cookie, struct dma_tx_state *txstate) in tegra_dma_tx_status() argument 793 ret = dma_cookie_status(dc, cookie, txstate); in tegra_dma_tx_status() 801 if (dma_desc->txd.cookie == cookie) { in tegra_dma_tx_status() 815 if (dma_desc->txd.cookie == cookie) { in tegra_dma_tx_status() 826 dev_dbg(tdc2dev(tdc), "cookie %d does not found\n", cookie); in tegra_dma_tx_status()
|
D | sa11x0-dma.c | 159 p->num, &txd->vd, txd->vd.tx.cookie, txd->ddar); in sa11x0_dma_start_desc() 422 dma_cookie_t cookie, struct dma_tx_state *state) in sa11x0_dma_tx_status() argument 431 ret = dma_cookie_status(&c->vc.chan, cookie, state); in sa11x0_dma_tx_status() 445 vd = vchan_find_desc(&c->vc, cookie); in sa11x0_dma_tx_status() 454 if (p->txd_done && p->txd_done->vd.tx.cookie == cookie) in sa11x0_dma_tx_status() 456 else if (p->txd_load && p->txd_load->vd.tx.cookie == cookie) in sa11x0_dma_tx_status()
|
D | dma-jz4780.c | 545 dma_cookie_t cookie, struct dma_tx_state *txstate) in jz4780_dma_tx_status() argument 552 status = dma_cookie_status(chan, cookie, txstate); in jz4780_dma_tx_status() 558 vdesc = vchan_find_desc(&jzchan->vchan, cookie); in jz4780_dma_tx_status() 563 } else if (cookie == jzchan->desc->vdesc.tx.cookie) { in jz4780_dma_tx_status()
|
/linux-4.1.27/drivers/oprofile/ |
D | buffer_sync.c | 211 unsigned long cookie; in fast_get_dcookie() local 215 get_dcookie(path, &cookie); in fast_get_dcookie() 216 return cookie; in fast_get_dcookie() 227 unsigned long cookie = NO_COOKIE; in get_exec_dcookie() local 237 cookie = fast_get_dcookie(&exe_file->f_path); in get_exec_dcookie() 240 return cookie; in get_exec_dcookie() 254 unsigned long cookie = NO_COOKIE; in lookup_dcookie() local 264 cookie = fast_get_dcookie(&vma->vm_file->f_path); in lookup_dcookie() 276 cookie = INVALID_COOKIE; in lookup_dcookie() 279 return cookie; in lookup_dcookie() [all …]
|
/linux-4.1.27/arch/unicore32/include/asm/ |
D | io.h | 37 #define ioremap(cookie, size) __uc32_ioremap(cookie, size) argument 38 #define ioremap_cached(cookie, size) __uc32_ioremap_cached(cookie, size) argument 39 #define ioremap_nocache(cookie, size) __uc32_ioremap(cookie, size) argument 40 #define iounmap(cookie) __uc32_iounmap(cookie) argument
|
/linux-4.1.27/fs/ocfs2/dlm/ |
D | dlmast.c | 106 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast() 107 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast() 114 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast() 115 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in __dlm_queue_ast() 125 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_ast() 126 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in __dlm_queue_ast() 172 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in __dlm_queue_bast() 173 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in __dlm_queue_bast() 231 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlm_do_local_ast() 232 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie))); in dlm_do_local_ast() [all …]
|
D | dlmconvert.c | 285 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlmconvert_remote() 286 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dlmconvert_remote() 297 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlmconvert_remote() 298 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dlmconvert_remote() 380 convert.cookie = lock->ml.cookie; in dlm_send_remote_convert_request() 494 if (tmp_lock->ml.cookie == cnv->cookie && in dlm_convert_lock_handler() 506 dlm_get_lock_cookie_node(be64_to_cpu(cnv->cookie)), in dlm_convert_lock_handler() 507 dlm_get_lock_cookie_seq(be64_to_cpu(cnv->cookie))); in dlm_convert_lock_handler()
|
D | dlmlock.c | 64 u8 node, u64 cookie); 312 create.cookie = lock->ml.cookie; in dlm_send_remote_lock_request() 395 u8 node, u64 cookie) in dlm_init_lock() argument 411 newlock->ml.cookie = cpu_to_be64(cookie); in dlm_init_lock() 423 struct dlm_lock * dlm_new_lock(int type, u8 node, u64 cookie, in dlm_new_lock() argument 443 dlm_init_lock(lock, type, node, cookie); in dlm_new_lock() 495 be64_to_cpu(create->cookie), NULL); in dlm_create_lock_handler() 542 static inline void dlm_get_next_cookie(u8 node_num, u64 *cookie) in dlm_get_next_cookie() argument 550 *cookie = (dlm_next_cookie | tmpnode); in dlm_get_next_cookie()
|
D | dlmunlock.c | 252 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlmunlock_common() 253 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dlmunlock_common() 338 unlock.cookie = lock->ml.cookie; in dlm_send_remote_unlock_request() 467 if (lock->ml.cookie == unlock->cookie && in dlm_unlock_lock_handler() 513 dlm_get_lock_cookie_node(be64_to_cpu(unlock->cookie)), in dlm_unlock_lock_handler() 514 dlm_get_lock_cookie_seq(be64_to_cpu(unlock->cookie))); in dlm_unlock_lock_handler()
|
D | dlmcommon.h | 340 __be64 cookie; member 605 __be64 cookie; member 618 __be64 cookie; member 634 __be64 cookie; member 649 __be64 cookie; member 813 static inline u8 dlm_get_lock_cookie_node(u64 cookie) in dlm_get_lock_cookie_node() argument 816 cookie >>= 56; in dlm_get_lock_cookie_node() 817 ret = (u8)(cookie & 0xffULL); in dlm_get_lock_cookie_node() 821 static inline unsigned long long dlm_get_lock_cookie_seq(u64 cookie) in dlm_get_lock_cookie_seq() argument 824 ret = ((unsigned long long)cookie) & 0x00ffffffffffffffULL; in dlm_get_lock_cookie_seq() [all …]
|
D | dlmthread.c | 360 dlm_get_lock_cookie_node(be64_to_cpu(target->ml.cookie)), in dlm_shuffle_lists() 361 dlm_get_lock_cookie_seq(be64_to_cpu(target->ml.cookie)), in dlm_shuffle_lists() 422 dlm_get_lock_cookie_node(be64_to_cpu(target->ml.cookie)), in dlm_shuffle_lists() 423 dlm_get_lock_cookie_seq(be64_to_cpu(target->ml.cookie)), in dlm_shuffle_lists() 533 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlm_flush_asts() 534 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dlm_flush_asts() 592 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlm_flush_asts() 593 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dlm_flush_asts()
|
D | dlmrecovery.c | 70 int total_locks, u64 cookie, 1176 int total_locks, u64 cookie, in dlm_init_migratable_lockres() argument 1185 mres->mig_cookie = cpu_to_be64(cookie); in dlm_init_migratable_lockres() 1216 dlm_get_lock_cookie_node(be64_to_cpu(lock->ml.cookie)), in dlm_prepare_lvb_for_migration() 1217 dlm_get_lock_cookie_seq(be64_to_cpu(lock->ml.cookie)), in dlm_prepare_lvb_for_migration() 1233 ml->cookie = lock->ml.cookie; in dlm_add_lock_to_array() 1255 dummy.ml.cookie = 0; in dlm_add_dummy_lock() 1268 if (unlikely(ml->cookie == 0 && in dlm_is_dummy_lock() 1831 if (lock->ml.cookie == ml->cookie) in dlm_process_recovery_data() 1842 c = ml->cookie; in dlm_process_recovery_data() [all …]
|
/linux-4.1.27/drivers/iommu/ |
D | io-pgtable.h | 27 void (*tlb_flush_all)(void *cookie); 29 void *cookie); 30 void (*tlb_sync)(void *cookie); 31 void (*flush_pgtable)(void *ptr, size_t size, void *cookie); 99 void *cookie); 126 void *cookie; member 139 struct io_pgtable *(*alloc)(struct io_pgtable_cfg *cfg, void *cookie);
|
D | io-pgtable.c | 45 void *cookie) in alloc_io_pgtable_ops() argument 57 iop = fns->alloc(cfg, cookie); in alloc_io_pgtable_ops() 62 iop->cookie = cookie; in alloc_io_pgtable_ops() 80 iop->cfg.tlb->tlb_flush_all(iop->cookie); in free_io_pgtable_ops()
|
D | io-pgtable-arm.c | 243 data->iop.cfg.tlb->flush_pgtable(ptep, sizeof(*ptep), data->iop.cookie); in arm_lpae_init_pte() 252 void *cookie = data->iop.cookie; in __arm_lpae_map() local 275 cookie); in __arm_lpae_map() 280 data->iop.cfg.tlb->flush_pgtable(ptep, sizeof(*ptep), cookie); in __arm_lpae_map() 385 void *cookie = data->iop.cookie; in arm_lpae_split_blk_unmap() local 413 tlb->flush_pgtable(ptep, sizeof(*ptep), cookie); in arm_lpae_split_blk_unmap() 415 tlb->tlb_add_flush(iova, blk_size, true, cookie); in arm_lpae_split_blk_unmap() 425 void *cookie = data->iop.cookie; in __arm_lpae_unmap() local 438 tlb->flush_pgtable(ptep, sizeof(*ptep), cookie); in __arm_lpae_unmap() 442 tlb->tlb_add_flush(iova, size, false, cookie); in __arm_lpae_unmap() [all …]
|
D | ipmmu-vmsa.c | 273 static void ipmmu_tlb_flush_all(void *cookie) in ipmmu_tlb_flush_all() argument 275 struct ipmmu_vmsa_domain *domain = cookie; in ipmmu_tlb_flush_all() 281 void *cookie) in ipmmu_tlb_add_flush() argument 286 static void ipmmu_flush_pgtable(void *ptr, size_t size, void *cookie) in ipmmu_flush_pgtable() argument 289 struct ipmmu_vmsa_domain *domain = cookie; in ipmmu_flush_pgtable()
|
/linux-4.1.27/arch/arm/mach-iop13xx/ |
D | io.c | 26 static void __iomem *__iop13xx_ioremap_caller(phys_addr_t cookie, in __iop13xx_ioremap_caller() argument 31 switch (cookie) { in __iop13xx_ioremap_caller() 37 (cookie - IOP13XX_PCIX_LOWER_MEM_RA)); in __iop13xx_ioremap_caller() 44 (cookie - IOP13XX_PCIE_LOWER_MEM_RA)); in __iop13xx_ioremap_caller() 48 (cookie - IOP13XX_PBI_LOWER_MEM_RA), in __iop13xx_ioremap_caller() 52 retval = IOP13XX_PMMR_PHYS_TO_VIRT(cookie); in __iop13xx_ioremap_caller() 55 retval = __arm_ioremap_caller(cookie, size, mtype, in __iop13xx_ioremap_caller()
|
/linux-4.1.27/fs/nfs/ |
D | fscache.c | 199 struct fscache_cookie *cookie = nfs_i_fscache(inode); in nfs_fscache_clear_inode() local 201 dfprintk(FSCACHE, "NFS: clear cookie (0x%p/0x%p)\n", nfsi, cookie); in nfs_fscache_clear_inode() 203 fscache_relinquish_cookie(cookie, false); in nfs_fscache_clear_inode() 236 struct fscache_cookie *cookie = nfs_i_fscache(inode); in nfs_fscache_open_file() local 238 if (!fscache_cookie_valid(cookie)) in nfs_fscache_open_file() 244 fscache_disable_cookie(cookie, true); in nfs_fscache_open_file() 245 fscache_uncache_all_inode_pages(cookie, inode); in nfs_fscache_open_file() 248 fscache_enable_cookie(cookie, nfs_fscache_can_enable, inode); in nfs_fscache_open_file() 249 if (fscache_cookie_enabled(cookie)) in nfs_fscache_open_file() 263 struct fscache_cookie *cookie = nfs_i_fscache(page->mapping->host); in nfs_fscache_release_page() local [all …]
|
/linux-4.1.27/fs/cachefiles/ |
D | interface.c | 28 struct fscache_cookie *cookie) in cachefiles_alloc_object() argument 40 _enter("{%s},%p,", cache->cache.identifier, cookie); in cachefiles_alloc_object() 56 fscache_object_init(&object->fscache, cookie, &cache->cache); in cachefiles_alloc_object() 58 object->type = cookie->def->type; in cachefiles_alloc_object() 68 keylen = cookie->def->get_key(cookie->netfs_data, buffer + 2, 512); in cachefiles_alloc_object() 84 if (cookie->def->get_aux) { in cachefiles_alloc_object() 85 auxlen = cookie->def->get_aux(cookie->netfs_data, in cachefiles_alloc_object() 91 auxdata->type = cookie->def->type; in cachefiles_alloc_object() 144 object->fscache.cookie->def->type != FSCACHE_COOKIE_TYPE_INDEX) in cachefiles_lookup_object() 203 struct fscache_cookie *cookie; in cachefiles_update_object() local [all …]
|
D | xattr.c | 38 if (!object->fscache.cookie) in cachefiles_check_object_type() 41 snprintf(type, 3, "%02x", object->fscache.cookie->def->type); in cachefiles_check_object_type() 169 ASSERT(object->fscache.cookie->def->check_aux); in cachefiles_check_auxdata() 179 auxbuf->type != object->fscache.cookie->def->type) in cachefiles_check_auxdata() 242 if (object->fscache.cookie->def->check_aux) { in cachefiles_check_object_xattr() 249 object->fscache.cookie->def->name, dlen); in cachefiles_check_object_xattr()
|
D | namei.c | 35 struct fscache_cookie *cookie; in __cachefiles_printk_object() local 50 cookie = object->fscache.cookie; in __cachefiles_printk_object() 51 if (cookie) { in __cachefiles_printk_object() 54 object->fscache.cookie, in __cachefiles_printk_object() 55 object->fscache.cookie->parent, in __cachefiles_printk_object() 56 object->fscache.cookie->netfs_data, in __cachefiles_printk_object() 57 object->fscache.cookie->flags); in __cachefiles_printk_object() 58 if (keybuf && cookie->def) in __cachefiles_printk_object() 59 keylen = cookie->def->get_key(cookie->netfs_data, keybuf, in __cachefiles_printk_object()
|
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/socklnd/ |
D | socklnd_proto.c | 74 ksock_tx_t *tx_ack, __u64 cookie) in ksocknal_queue_tx_zcack_v2() argument 109 cookie = tx_ack->tx_msg.ksm_zc_cookies[1]; in ksocknal_queue_tx_zcack_v2() 112 tx->tx_msg.ksm_zc_cookies[1] = cookie; in ksocknal_queue_tx_zcack_v2() 157 ksock_tx_t *tx_ack, __u64 cookie) in ksocknal_queue_tx_zcack_v3() argument 162 return ksocknal_queue_tx_zcack_v2(conn, tx_ack, cookie); in ksocknal_queue_tx_zcack_v3() 181 cookie = tx_ack->tx_msg.ksm_zc_cookies[1]; in ksocknal_queue_tx_zcack_v3() 183 if (cookie == SOCKNAL_KEEPALIVE_PING) /* ignore keepalive PING */ in ksocknal_queue_tx_zcack_v3() 189 tx->tx_msg.ksm_zc_cookies[1] = cookie; in ksocknal_queue_tx_zcack_v3() 193 if (cookie == tx->tx_msg.ksm_zc_cookies[0] || in ksocknal_queue_tx_zcack_v3() 194 cookie == tx->tx_msg.ksm_zc_cookies[1]) { in ksocknal_queue_tx_zcack_v3() [all …]
|
/linux-4.1.27/include/linux/fsl/bestcomm/ |
D | bestcomm.h | 54 void **cookie; member 187 bcom_submit_next_buffer(struct bcom_task *tsk, void *cookie) in bcom_submit_next_buffer() argument 191 tsk->cookie[tsk->index] = cookie; in bcom_submit_next_buffer() 202 void *cookie = tsk->cookie[tsk->outdex]; in bcom_retrieve_buffer() local 210 return cookie; in bcom_retrieve_buffer()
|
/linux-4.1.27/drivers/dma/sh/ |
D | shdma-base.c | 79 dma_cookie_t cookie; in shdma_tx_submit() local 86 cookie = dma_cookie_assign(tx); in shdma_tx_submit() 95 chunk->async_tx.cookie > 0 || in shdma_tx_submit() 96 chunk->async_tx.cookie == -EBUSY || in shdma_tx_submit() 107 chunk->cookie = cookie; in shdma_tx_submit() 111 tx->cookie, &chunk->async_tx, schan->id); in shdma_tx_submit() 156 return cookie; in shdma_tx_submit() 331 dma_cookie_t cookie = 0; in __ld_cleanup() local 341 BUG_ON(tx->cookie > 0 && tx->cookie != desc->cookie); in __ld_cleanup() 352 desc->cookie != cookie) in __ld_cleanup() [all …]
|
D | usb-dmac.c | 491 dma_cookie_t cookie) in usb_dmac_chan_get_residue_if_complete() argument 497 if (desc->done_cookie == cookie) { in usb_dmac_chan_get_residue_if_complete() 507 dma_cookie_t cookie) in usb_dmac_chan_get_residue() argument 515 vd = vchan_find_desc(&chan->vc, cookie); in usb_dmac_chan_get_residue() 532 dma_cookie_t cookie, in usb_dmac_tx_status() argument 540 status = dma_cookie_status(chan, cookie, txstate); in usb_dmac_tx_status() 547 residue = usb_dmac_chan_get_residue_if_complete(uchan, cookie); in usb_dmac_tx_status() 549 residue = usb_dmac_chan_get_residue(uchan, cookie); in usb_dmac_tx_status() 591 desc->done_cookie = desc->vd.tx.cookie; in usb_dmac_isr_transfer_end()
|
D | rcar-dmac.c | 438 dma_cookie_t cookie; in rcar_dmac_tx_submit() local 442 cookie = dma_cookie_assign(tx); in rcar_dmac_tx_submit() 445 chan->index, tx->cookie, desc); in rcar_dmac_tx_submit() 453 return cookie; in rcar_dmac_tx_submit() 842 desc->async_tx.cookie = -EBUSY; in rcar_dmac_chan_prep_sg() 1136 dma_cookie_t cookie) in rcar_dmac_chan_get_residue() argument 1152 if (cookie != desc->async_tx.cookie) in rcar_dmac_chan_get_residue() 1184 dma_cookie_t cookie, in rcar_dmac_tx_status() argument 1192 status = dma_cookie_status(chan, cookie, txstate); in rcar_dmac_tx_status() 1197 residue = rcar_dmac_chan_get_residue(rchan, cookie); in rcar_dmac_tx_status()
|
/linux-4.1.27/net/sctp/ |
D | Kconfig | 63 prompt "Default SCTP cookie HMAC encoding" 66 This option sets the default sctp cookie hmac algorithm 70 bool "Enable optional MD5 hmac cookie generation" 72 Enable optional MD5 hmac based SCTP cookie generation 76 bool "Enable optional SHA1 hmac cookie generation" 78 Enable optional SHA1 hmac based SCTP cookie generation 82 bool "Use no hmac alg in SCTP cookie generation" 84 Use no hmac algorithm in SCTP cookie generation 89 bool "Enable optional MD5 hmac cookie generation" 91 Enable optional MD5 hmac based SCTP cookie generation [all …]
|
D | sm_make_chunk.c | 391 sctp_cookie_param_t *cookie; in sctp_make_init_ack() local 416 cookie = sctp_pack_cookie(asoc->ep, asoc, chunk, &cookie_len, in sctp_make_init_ack() 418 if (!cookie) in sctp_make_init_ack() 486 sctp_addto_chunk(retval, cookie_len, cookie); in sctp_make_init_ack() 522 kfree(cookie); in sctp_make_init_ack() 566 void *cookie; in sctp_make_cookie_echo() local 569 cookie = asoc->peer.cookie; in sctp_make_cookie_echo() 577 sctp_addto_chunk(retval, cookie_len, cookie); in sctp_make_cookie_echo() 1608 struct sctp_signed_cookie *cookie; in sctp_pack_cookie() local 1636 cookie = (struct sctp_signed_cookie *) retval->body; in sctp_pack_cookie() [all …]
|
/linux-4.1.27/kernel/ |
D | async.c | 75 async_cookie_t cookie; member 100 domain_list)->cookie; in lowest_in_progress() 119 (long long)entry->cookie, in async_run_entry_fn() 123 entry->func(entry->data, entry->cookie); in async_run_entry_fn() 128 (long long)entry->cookie, in async_run_entry_fn() 181 newcookie = entry->cookie = next_cookie++; in __async_schedule() 283 void async_synchronize_cookie_domain(async_cookie_t cookie, struct async_domain *domain) in async_synchronize_cookie_domain() argument 292 wait_event(async_done, lowest_in_progress(domain) >= cookie); in async_synchronize_cookie_domain() 312 void async_synchronize_cookie(async_cookie_t cookie) in async_synchronize_cookie() argument 314 async_synchronize_cookie_domain(cookie, &async_dfl_domain); in async_synchronize_cookie()
|
/linux-4.1.27/fs/lockd/ |
D | svc4proc.c | 83 resp->cookie = argp->cookie; in nlm4svc_proc_test() 90 resp->status = nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie); in nlm4svc_proc_test() 111 resp->cookie = argp->cookie; in nlm4svc_proc_lock() 131 argp->block, &argp->cookie, in nlm4svc_proc_lock() 152 resp->cookie = argp->cookie; in nlm4svc_proc_cancel() 185 resp->cookie = argp->cookie; in nlm4svc_proc_unlock() 214 resp->cookie = argp->cookie; in nlm4svc_proc_granted() 323 resp->cookie = argp->cookie; in nlm4svc_proc_share() 356 resp->cookie = argp->cookie; in nlm4svc_proc_unshare() 440 nlmsvc_grant_reply(&argp->cookie, argp->status); in nlm4svc_proc_granted_res()
|
D | clntxdr.c | 151 const struct nlm_cookie *cookie) in encode_cookie() argument 153 encode_netobj(xdr, (u8 *)&cookie->data, cookie->len); in encode_cookie() 157 struct nlm_cookie *cookie) in decode_cookie() argument 174 cookie->len = length; in decode_cookie() 175 memcpy(cookie->data, p, length); in decode_cookie() 178 cookie->len = 4; in decode_cookie() 179 memset(cookie->data, 0, 4); in decode_cookie() 381 encode_cookie(xdr, &args->cookie); in nlm_xdr_enc_testargs() 402 encode_cookie(xdr, &args->cookie); in nlm_xdr_enc_lockargs() 424 encode_cookie(xdr, &args->cookie); in nlm_xdr_enc_cancargs() [all …]
|
D | clnt4xdr.c | 154 const struct nlm_cookie *cookie) in encode_cookie() argument 156 encode_netobj(xdr, (u8 *)&cookie->data, cookie->len); in encode_cookie() 160 struct nlm_cookie *cookie) in decode_cookie() argument 177 cookie->len = length; in decode_cookie() 178 memcpy(cookie->data, p, length); in decode_cookie() 181 cookie->len = 4; in decode_cookie() 182 memset(cookie->data, 0, 4); in decode_cookie() 388 encode_cookie(xdr, &args->cookie); in nlm4_xdr_enc_testargs() 409 encode_cookie(xdr, &args->cookie); in nlm4_xdr_enc_lockargs() 431 encode_cookie(xdr, &args->cookie); in nlm4_xdr_enc_cancargs() [all …]
|
D | svcproc.c | 113 resp->cookie = argp->cookie; in nlmsvc_proc_test() 120 …>status = cast_status(nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie)); in nlmsvc_proc_test() 142 resp->cookie = argp->cookie; in nlmsvc_proc_lock() 162 argp->block, &argp->cookie, in nlmsvc_proc_lock() 184 resp->cookie = argp->cookie; in nlmsvc_proc_cancel() 218 resp->cookie = argp->cookie; in nlmsvc_proc_unlock() 247 resp->cookie = argp->cookie; in nlmsvc_proc_granted() 366 resp->cookie = argp->cookie; in nlmsvc_proc_share() 399 resp->cookie = argp->cookie; in nlmsvc_proc_unshare() 483 nlmsvc_grant_reply(&argp->cookie, argp->status); in nlmsvc_proc_granted_res()
|
D | xdr4.c | 146 if (!(p = nlm4_encode_cookie(p, &resp->cookie))) in nlm4_encode_testres() 186 if (!(p = nlm4_decode_cookie(p, &argp->cookie))) in nlm4svc_decode_testargs() 211 if (!(p = nlm4_decode_cookie(p, &argp->cookie))) in nlm4svc_decode_lockargs() 231 if (!(p = nlm4_decode_cookie(p, &argp->cookie))) in nlm4svc_decode_cancargs() 245 if (!(p = nlm4_decode_cookie(p, &argp->cookie)) in nlm4svc_decode_unlockargs() 262 if (!(p = nlm4_decode_cookie(p, &argp->cookie)) in nlm4svc_decode_shareargs() 276 if (!(p = nlm4_encode_cookie(p, &resp->cookie))) in nlm4svc_encode_shareres() 286 if (!(p = nlm4_encode_cookie(p, &resp->cookie))) in nlm4svc_encode_res() 318 if (!(p = nlm4_decode_cookie(p, &resp->cookie))) in nlm4svc_decode_res()
|
D | xdr.c | 153 if (!(p = nlm_encode_cookie(p, &resp->cookie))) in nlm_encode_testres() 189 if (!(p = nlm_decode_cookie(p, &argp->cookie))) in nlmsvc_decode_testargs() 214 if (!(p = nlm_decode_cookie(p, &argp->cookie))) in nlmsvc_decode_lockargs() 234 if (!(p = nlm_decode_cookie(p, &argp->cookie))) in nlmsvc_decode_cancargs() 248 if (!(p = nlm_decode_cookie(p, &argp->cookie)) in nlmsvc_decode_unlockargs() 265 if (!(p = nlm_decode_cookie(p, &argp->cookie)) in nlmsvc_decode_shareargs() 279 if (!(p = nlm_encode_cookie(p, &resp->cookie))) in nlmsvc_encode_shareres() 289 if (!(p = nlm_encode_cookie(p, &resp->cookie))) in nlmsvc_encode_res() 321 if (!(p = nlm_decode_cookie(p, &resp->cookie))) in nlmsvc_decode_res()
|
D | svclock.c | 57 static const char *nlmdbg_cookie2a(const struct nlm_cookie *cookie) in nlmdbg_cookie2a() argument 70 for (i = 0 ; i < cookie->len ; i++) { in nlmdbg_cookie2a() 75 sprintf(p, "%02x", cookie->data[i]); in nlmdbg_cookie2a() 159 nlmdbg_cookie2a(&block->b_call->a_args.cookie)); in nlmsvc_lookup_block() 182 nlmsvc_find_block(struct nlm_cookie *cookie) in nlmsvc_find_block() argument 187 if (nlm_cookie_match(&block->b_call->a_args.cookie,cookie)) in nlmsvc_find_block() 194 dprintk("nlmsvc_find_block(%s): block=%p\n", nlmdbg_cookie2a(cookie), block); in nlmsvc_find_block() 217 struct nlm_cookie *cookie) in nlmsvc_create_block() argument 240 nlmclnt_next_cookie(&call->a_args.cookie); in nlmsvc_create_block() 400 struct nlm_cookie *cookie, int reclaim) in nlmsvc_lock() argument [all …]
|
/linux-4.1.27/drivers/infiniband/hw/ipath/ |
D | ipath_wc_x86_64.c | 125 int cookie; in ipath_enable_wc() local 130 cookie = mtrr_add(pioaddr, piolen, MTRR_TYPE_WRCOMB, 0); in ipath_enable_wc() 131 if (cookie < 0) { in ipath_enable_wc() 136 cookie); in ipath_enable_wc() 141 "cookie is %d\n", cookie); in ipath_enable_wc() 142 dd->ipath_wc_cookie = cookie; in ipath_enable_wc()
|
/linux-4.1.27/arch/mips/math-emu/ |
D | dsemul.c | 30 mips_instruction cookie; member 86 err |= __put_user((mips_instruction)BD_COOKIE, &fr->cookie); in mips_dsemul() 106 u32 insn, cookie; in do_dsemulret() local 133 err |= __get_user(cookie, &fr->cookie); in do_dsemulret() 135 if (unlikely(err || (insn != BREAK_MATH) || (cookie != BD_COOKIE))) { in do_dsemulret()
|
/linux-4.1.27/Documentation/filesystems/caching/ |
D | netfs-api.txt | 13 (2) Every index, file or other object is represented by a cookie. This cookie 37 (14) Miscellaneous cookie operations 70 (3) The cookie representing the primary index will be allocated according to 195 cookie acquisition function and the maximum length of key data that it may 202 cookie acquisition function. It should return the size of the file if 211 cookie acquisition function and the maximum length of auxiliary data that 269 unbound from a cookie and that all the marks on the pages should be 332 be used to locate files. This is done by requesting a cookie for each index in 345 internally. It may, however, return NULL to indicate no cookie. It is quite 347 acquisition (or even to the relinquish cookie, read page and write page [all …]
|
D | object.txt | 35 There is a 1:N relationship between cookies and objects. A cookie may be 98 object->state. A cookie may point to a set of objects that are in different 244 cookie has been relinquished by the netfs or because the cache is being 262 cookie. In the first state, the cached data is expected to persist, and 287 netfs for details of the change through its cookie definition ops. 307 These are signalled when the netfs relinquishes a cookie it was using. 315 cookie.
|
D | fscache.txt | 104 netfs. The simplest cookie is just a NULL pointer - indicating nothing 113 indicates that page A is at index B of the data-file represented by cookie 228 Acquire n=N Number of acquire cookie requests seen 239 Updates n=N Number of update cookie requests seen 242 Relinqs n=N Number of relinquish cookie requests seen 367 and the second set of columns describe the object's cookie, if present: 371 NETFS_COOKIE_DEF Name of netfs cookie definition 374 NETFS_DATA Netfs private data stored in the cookie 390 C Show objects that have a cookie 391 c Show objects that don't have a cookie
|
D | backend-api.txt | 108 (*) Index/Data file FS-Cache representation cookie: 118 definition, the netfs definition and the netfs's data for this cookie. 134 struct fscache_cookie *cookie; 147 Each object contains a pointer to the cookie that represents the object it 235 struct fscache_cookie *cookie) 238 cookie in a particular cache. fscache_object_init() should be called on 252 allocated and attached to the cookie. This should instantiate that object 316 new information should be in object->cookie->netfs_data. This can be 317 obtained by calling object->cookie->def->get_aux()/get_attr(). 337 cookie, and that the cache should release the object's resources and [all …]
|
/linux-4.1.27/drivers/net/wireless/ath/wil6210/ |
D | interrupt.c | 218 static irqreturn_t wil6210_irq_rx(int irq, void *cookie) in wil6210_irq_rx() argument 220 struct wil6210_priv *wil = cookie; in wil6210_irq_rx() 279 static irqreturn_t wil6210_irq_tx(int irq, void *cookie) in wil6210_irq_tx() argument 281 struct wil6210_priv *wil = cookie; in wil6210_irq_tx() 345 static irqreturn_t wil6210_irq_misc(int irq, void *cookie) in wil6210_irq_misc() argument 347 struct wil6210_priv *wil = cookie; in wil6210_irq_misc() 393 static irqreturn_t wil6210_irq_misc_thread(int irq, void *cookie) in wil6210_irq_misc_thread() argument 395 struct wil6210_priv *wil = cookie; in wil6210_irq_misc_thread() 426 static irqreturn_t wil6210_thread_irq(int irq, void *cookie) in wil6210_thread_irq() argument 428 struct wil6210_priv *wil = cookie; in wil6210_thread_irq() [all …]
|
D | cfg80211.c | 517 u64 *cookie) in wil_cfg80211_mgmt_tx() argument 548 cfg80211_mgmt_tx_status(wdev, cookie ? *cookie : 0, buf, len, in wil_cfg80211_mgmt_tx() 607 u64 *cookie) in wil_remain_on_channel() argument 626 u64 cookie) in wil_cancel_remain_on_channel() argument 851 cfg80211_probe_status(ndev, sta->addr, req->cookie, alive, GFP_KERNEL); in wil_probe_client_handle() 903 const u8 *peer, u64 *cookie) in wil_cfg80211_probe_client() argument 919 req->cookie = cid; in wil_cfg80211_probe_client() 925 *cookie = req->cookie; in wil_cfg80211_probe_client()
|
/linux-4.1.27/drivers/mmc/host/ |
D | tmio_mmc_dma.c | 52 dma_cookie_t cookie; in tmio_mmc_start_dma_rx() local 92 cookie = dmaengine_submit(desc); in tmio_mmc_start_dma_rx() 93 if (cookie < 0) { in tmio_mmc_start_dma_rx() 95 ret = cookie; in tmio_mmc_start_dma_rx() 99 __func__, host->sg_len, ret, cookie, host->mrq); in tmio_mmc_start_dma_rx() 120 desc, cookie, host->sg_len); in tmio_mmc_start_dma_rx() 128 dma_cookie_t cookie; in tmio_mmc_start_dma_tx() local 172 cookie = dmaengine_submit(desc); in tmio_mmc_start_dma_tx() 173 if (cookie < 0) { in tmio_mmc_start_dma_tx() 175 ret = cookie; in tmio_mmc_start_dma_tx() [all …]
|
D | rtsx_pci_sdmmc.c | 58 s32 cookie; member 168 if (!pre && data->host_cookie && data->host_cookie != host->cookie) { in sd_pre_dma_transfer() 171 data->host_cookie, host->cookie); in sd_pre_dma_transfer() 175 if (pre || data->host_cookie != host->cookie) { in sd_pre_dma_transfer() 184 if (++host->cookie < 0) in sd_pre_dma_transfer() 185 host->cookie = 1; in sd_pre_dma_transfer() 186 data->host_cookie = host->cookie; in sd_pre_dma_transfer() 1382 host->cookie = -1; in rtsx_pci_sdmmc_card_event() 1415 host->cookie = -1; in rtsx_pci_sdmmc_drv_probe()
|
D | jz4740_mmc.c | 119 s32 cookie; member 194 host->next_data.cookie = 1; in jz4740_mmc_acquire_dma_channels() 234 data->host_cookie != host->next_data.cookie) { in jz4740_mmc_prepare_dma_data() 239 host->next_data.cookie); in jz4740_mmc_prepare_dma_data() 244 if (next || data->host_cookie != host->next_data.cookie) { in jz4740_mmc_prepare_dma_data() 263 data->host_cookie = ++next->cookie < 0 ? 1 : next->cookie; in jz4740_mmc_prepare_dma_data()
|
/linux-4.1.27/drivers/staging/lustre/include/linux/lnet/ |
D | types.h | 91 __u64 cookie; member 105 h->cookie = LNET_WIRE_HANDLE_COOKIE_NONE; in LNetInvalidateHandle() 115 return h1.cookie == h2.cookie; in LNetHandleIsEqual() 125 return LNET_WIRE_HANDLE_COOKIE_NONE == h.cookie; in LNetHandleIsInvalid()
|
D | lib-lnet.h | 115 lnet_cpt_of_cookie(__u64 cookie) in lnet_cpt_of_cookie() argument 117 unsigned int cpt = (cookie >> LNET_COOKIE_TYPE_BITS) & LNET_CPT_MASK; in lnet_cpt_of_cookie() 466 __u64 cookie); 485 handle->cookie = eq->eq_lh.lh_cookie; in lnet_eq2handle() 494 lh = lnet_res_lh_lookup(&the_lnet.ln_eq_container, handle->cookie); in lnet_handle2eq() 504 handle->cookie = md->md_lh.lh_cookie; in lnet_md2handle() 514 cpt = lnet_cpt_of_cookie(handle->cookie); in lnet_handle2md() 516 handle->cookie); in lnet_handle2md() 545 handle->cookie = me->me_lh.lh_cookie; in lnet_me2handle() 555 cpt = lnet_cpt_of_cookie(handle->cookie); in lnet_handle2me() [all …]
|
/linux-4.1.27/net/core/ |
D | sock_diag.c | 28 int sock_diag_check_cookie(struct sock *sk, const __u32 *cookie) in sock_diag_check_cookie() argument 32 if (cookie[0] == INET_DIAG_NOCOOKIE && cookie[1] == INET_DIAG_NOCOOKIE) in sock_diag_check_cookie() 36 if ((u32)res != cookie[0] || (u32)(res >> 32) != cookie[1]) in sock_diag_check_cookie() 43 void sock_diag_save_cookie(struct sock *sk, __u32 *cookie) in sock_diag_save_cookie() argument 47 cookie[0] = (u32)res; in sock_diag_save_cookie() 48 cookie[1] = (u32)(res >> 32); in sock_diag_save_cookie()
|
/linux-4.1.27/net/ipv6/ |
D | syncookies.c | 100 static __u32 check_tcp_syn_cookie(__u32 cookie, const struct in6_addr *saddr, in check_tcp_syn_cookie() argument 106 cookie -= cookie_hash(saddr, daddr, sport, dport, 0, 0) + sseq; in check_tcp_syn_cookie() 108 diff = (count - (cookie >> COOKIEBITS)) & ((__u32) -1 >> COOKIEBITS); in check_tcp_syn_cookie() 112 return (cookie - in check_tcp_syn_cookie() 146 __u32 cookie) in __cookie_v6_check() argument 149 __u32 mssind = check_tcp_syn_cookie(cookie, &iph->saddr, &iph->daddr, in __cookie_v6_check() 164 __u32 cookie = ntohl(th->ack_seq) - 1; in cookie_v6_check() local 177 mss = __cookie_v6_check(ipv6_hdr(skb), th, cookie); in cookie_v6_check() 232 treq->snt_isn = cookie; in cookie_v6_check()
|
/linux-4.1.27/include/uapi/linux/android/ |
D | binder.h | 70 binder_uintptr_t cookie; member 140 binder_uintptr_t cookie; /* target object cookie */ member 167 binder_uintptr_t cookie; member 172 binder_uintptr_t cookie; member 183 binder_uintptr_t cookie; member
|
/linux-4.1.27/arch/arm/include/asm/xen/ |
D | page.h | 107 #define xen_remap(cookie, size) ioremap_cache((cookie), (size)) argument 108 #define xen_unmap(cookie) iounmap((cookie)) argument
|
/linux-4.1.27/net/ipv4/ |
D | syncookies.c | 137 static __u32 check_tcp_syn_cookie(__u32 cookie, __be32 saddr, __be32 daddr, in check_tcp_syn_cookie() argument 143 cookie -= cookie_hash(saddr, daddr, sport, dport, 0, 0) + sseq; in check_tcp_syn_cookie() 146 diff = (count - (cookie >> COOKIEBITS)) & ((__u32) -1 >> COOKIEBITS); in check_tcp_syn_cookie() 150 return (cookie - in check_tcp_syn_cookie() 212 u32 cookie) in __cookie_v4_check() argument 215 __u32 mssind = check_tcp_syn_cookie(cookie, iph->saddr, iph->daddr, in __cookie_v4_check() 299 __u32 cookie = ntohl(th->ack_seq) - 1; in cookie_v4_check() local 313 mss = __cookie_v4_check(ip_hdr(skb), th, cookie); in cookie_v4_check() 336 treq->snt_isn = cookie; in cookie_v4_check()
|
D | tcp_metrics.c | 34 struct tcp_fastopen_cookie cookie; member 136 tm->tcpm_fastopen.cookie.exp = false; in tcpm_suck_dst() 137 tm->tcpm_fastopen.cookie.len = 0; in tcpm_suck_dst() 703 struct tcp_fastopen_cookie *cookie, in tcp_fastopen_cache_get() argument 718 *cookie = tfom->cookie; in tcp_fastopen_cache_get() 719 if (cookie->len <= 0 && tfom->try_exp == 1) in tcp_fastopen_cache_get() 720 cookie->exp = true; in tcp_fastopen_cache_get() 729 struct tcp_fastopen_cookie *cookie, bool syn_lost, in tcp_fastopen_cache_set() argument 745 if (cookie && cookie->len > 0) in tcp_fastopen_cache_set() 746 tfom->cookie = *cookie; in tcp_fastopen_cache_set() [all …]
|
/linux-4.1.27/sound/soc/sh/ |
D | siu_pcm.c | 106 siu_stream->buf_bytes, siu_stream->cookie); in siu_dma_tx_complete() 123 dma_cookie_t cookie; in siu_pcm_wr_set() local 142 cookie = dmaengine_submit(desc); in siu_pcm_wr_set() 143 if (cookie < 0) { in siu_pcm_wr_set() 145 return cookie; in siu_pcm_wr_set() 149 siu_stream->cookie = cookie; in siu_pcm_wr_set() 171 dma_cookie_t cookie; in siu_pcm_rd_set() local 192 cookie = dmaengine_submit(desc); in siu_pcm_rd_set() 193 if (cookie < 0) { in siu_pcm_rd_set() 195 return cookie; in siu_pcm_rd_set() [all …]
|
/linux-4.1.27/net/l2tp/ |
D | l2tp_debugfs.c | 188 session->cookie[0], session->cookie[1], in l2tp_dfs_seq_session_show() 189 session->cookie[2], session->cookie[3]); in l2tp_dfs_seq_session_show() 192 session->cookie[4], session->cookie[5], in l2tp_dfs_seq_session_show() 193 session->cookie[6], session->cookie[7]); in l2tp_dfs_seq_session_show()
|
/linux-4.1.27/drivers/media/platform/s5p-tv/ |
D | sdo_drv.c | 40 unsigned int cookie; member 120 { V4L2_STD_PAL_N, .height = 576, .cookie = SDO_PAL_N }, 121 { V4L2_STD_PAL_Nc, .height = 576, .cookie = SDO_PAL_NC }, 122 { V4L2_STD_PAL_M, .height = 480, .cookie = SDO_PAL_M }, 123 { V4L2_STD_PAL_60, .height = 480, .cookie = SDO_PAL_60 }, 124 { V4L2_STD_NTSC_443, .height = 480, .cookie = SDO_NTSC_443 }, 125 { V4L2_STD_PAL, .height = 576, .cookie = SDO_PAL_BGHID }, 126 { V4L2_STD_NTSC_M, .height = 480, .cookie = SDO_NTSC_M }, 306 sdo_write_mask(sdev, SDO_CONFIG, sdev->fmt->cookie, SDO_STANDARD_MASK); in sdo_runtime_resume()
|
D | mixer_vp_layer.c | 31 .cookie = VP_MODE_NV12 | VP_MODE_MEM_LINEAR, 44 .cookie = VP_MODE_NV21 | VP_MODE_MEM_LINEAR, 58 .cookie = VP_MODE_NV12 | VP_MODE_MEM_LINEAR, 72 .cookie = VP_MODE_NV12 | VP_MODE_MEM_TILED, 110 if (layer->fmt->cookie & VP_MODE_MEM_TILED) { in mxr_vp_buffer_set()
|
D | mixer.h | 69 unsigned long cookie; member 195 int cookie; member 205 int cookie; member 347 void mxr_reg_s_output(struct mxr_device *mdev, int cookie);
|
D | mixer_grp_layer.c | 29 .cookie = 4, 41 .cookie = 5, 53 .cookie = 6, 65 .cookie = 7,
|
D | mixer_drv.c | 36 .cookie = 1, 41 .cookie = 0, 69 if (to_output(mdev)->cookie == 0) in mxr_streamer_get() 73 mxr_reg_s_output(mdev, to_output(mdev)->cookie); in mxr_streamer_get()
|
D | mixer_reg.c | 147 MXR_GRP_CFG_FORMAT_VAL(fmt->cookie), MXR_GRP_CFG_FORMAT_MASK); in mxr_reg_graph_format() 179 vp_write_mask(mdev, VP_MODE, fmt->cookie, VP_MODE_FMT_MASK); in mxr_reg_vp_format() 323 void mxr_reg_s_output(struct mxr_device *mdev, int cookie) in mxr_reg_s_output() argument 327 val = cookie == 0 ? MXR_CFG_DST_SDO : MXR_CFG_DST_HDMI; in mxr_reg_s_output()
|
/linux-4.1.27/drivers/misc/mic/host/ |
D | mic_intr.c | 407 #define GET_ENTRY(cookie) ((cookie) & 0xFFFF) argument 408 #define GET_OFFSET(cookie) ((cookie) >> COOKIE_ID_SHIFT) argument 443 unsigned long cookie = 0; in mic_request_threaded_irq() local 478 cookie = MK_COOKIE(entry, offset); in mic_request_threaded_irq() 497 cookie = MK_COOKIE(entry, intr_cb->cb_id); in mic_request_threaded_irq() 501 return (struct mic_irq *)cookie; in mic_request_threaded_irq() 518 struct mic_irq *cookie, void *data) in mic_free_irq() argument 527 entry = GET_ENTRY((unsigned long)cookie); in mic_free_irq() 528 offset = GET_OFFSET((unsigned long)cookie); in mic_free_irq()
|
D | mic_intr.h | 144 struct mic_irq *cookie, void *data);
|
/linux-4.1.27/arch/arm/include/asm/ |
D | io.h | 335 #define ioremap(cookie,size) __arm_ioremap((cookie), (size), MT_DEVICE) argument 336 #define ioremap_nocache(cookie,size) __arm_ioremap((cookie), (size), MT_DEVICE) argument 337 #define ioremap_cache(cookie,size) __arm_ioremap((cookie), (size), MT_DEVICE_CACHED) argument 338 #define ioremap_wc(cookie,size) __arm_ioremap((cookie), (size), MT_DEVICE_WC) argument
|
D | bL_switcher.h | 18 typedef void (*bL_switch_completion_handler)(void *cookie);
|
/linux-4.1.27/drivers/misc/mic/card/ |
D | mic_device.c | 159 unsigned long cookie; in mic_request_card_irq() local 169 cookie = index; in mic_request_card_irq() 170 return (struct mic_irq *)cookie; in mic_request_card_irq() 184 void mic_free_card_irq(struct mic_irq *cookie, void *data) in mic_free_card_irq() argument 189 index = (unsigned long)cookie & 0xFFFFU; in mic_free_card_irq()
|
D | mic_x100.c | 163 unsigned long cookie = irq; in _mic_request_threaded_irq() local 171 return (struct mic_irq *)cookie; in _mic_request_threaded_irq() 175 struct mic_irq *cookie, void *data) in _mic_free_irq() argument 177 unsigned long irq = (unsigned long)cookie; in _mic_free_irq()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/ |
D | ramht.c | 67 nvkm_ramht_remove(struct nvkm_ramht *ramht, int cookie) in nvkm_ramht_remove() argument 70 nv_wo32(ramht, cookie + 0, 0x00000000); in nvkm_ramht_remove() 71 nv_wo32(ramht, cookie + 4, 0x00000000); in nvkm_ramht_remove()
|
/linux-4.1.27/fs/notify/ |
D | fsnotify.c | 130 int data_is, u32 cookie, in send_to_group() argument 175 data_is, cookie); in send_to_group() 182 file_name, cookie); in send_to_group() 192 const unsigned char *file_name, u32 cookie) in fsnotify() argument 267 data, data_is, cookie, file_name); in fsnotify()
|
/linux-4.1.27/drivers/net/wireless/b43legacy/ |
D | xmit.h | 37 __le16 cookie; member 86 u16 cookie); 91 u16 cookie; /* The cookie from the txhdr */ member 119 __le16 cookie; member
|
D | pio.c | 119 u16 cookie = 0x0000; in generate_cookie() local 130 cookie = 0x1000; in generate_cookie() 133 cookie = 0x2000; in generate_cookie() 136 cookie = 0x3000; in generate_cookie() 143 cookie |= (u16)packetindex; in generate_cookie() 145 return cookie; in generate_cookie() 150 u16 cookie, in parse_cookie() argument 157 switch (cookie & 0xF000) { in parse_cookie() 173 packetindex = (cookie & 0x0FFF); in parse_cookie() 496 queue = parse_cookie(dev, status->cookie, &packet); in b43legacy_pio_handle_txstatus()
|
D | dma.c | 495 txstat->cookie = 0; in setup_rx_descbuffer() 940 u16 cookie = 0x1000; in generate_cookie() local 950 cookie = 0xA000; in generate_cookie() 953 cookie = 0xB000; in generate_cookie() 956 cookie = 0xC000; in generate_cookie() 959 cookie = 0xD000; in generate_cookie() 962 cookie = 0xE000; in generate_cookie() 965 cookie = 0xF000; in generate_cookie() 969 cookie |= (u16)slot; in generate_cookie() 971 return cookie; in generate_cookie() [all …]
|
D | xmit.c | 192 u16 cookie) in generate_txhdr_fw3() argument 349 txhdr->cookie = cpu_to_le16(cookie); in generate_txhdr_fw3() 363 u16 cookie) in b43legacy_generate_txhdr() argument 367 info, cookie); in b43legacy_generate_txhdr() 616 status.cookie = le16_to_cpu(hw->cookie); in b43legacy_handle_hwtxstatus()
|
/linux-4.1.27/drivers/infiniband/hw/cxgb3/ |
D | iwch_cq.c | 52 u64 cookie; in iwch_poll_cq_one() local 67 ret = cxio_poll_cq(wq, &(chp->cq), &cqe, &cqe_flushed, &cookie, in iwch_poll_cq_one() 81 wc->wr_id = cookie; in iwch_poll_cq_one() 90 CQE_WRID_LOW(cqe), (unsigned long long) cookie); in iwch_poll_cq_one()
|
/linux-4.1.27/drivers/staging/lustre/lustre/osc/ |
D | osc_internal.h | 108 void *cookie, struct ldlm_enqueue_info *einfo, 120 obd_enqueue_update_f upcall, void *cookie, 123 obd_enqueue_update_f upcall, void *cookie, 126 obd_enqueue_update_f upcall, void *cookie,
|
D | osc_object.c | 128 int osc_lvb_print(const struct lu_env *env, void *cookie, in osc_lvb_print() argument 131 return (*p)(env, cookie, "size: %llu mtime: %llu atime: %llu ctime: %llu blocks: %llu", in osc_lvb_print() 136 static int osc_object_print(const struct lu_env *env, void *cookie, in osc_object_print() argument 143 …(*p)(env, cookie, "id: " DOSTID " idx: %d gen: %d kms_valid: %u kms %llu rc: %d force_sync: %d min… in osc_object_print() 147 osc_lvb_print(env, cookie, p, &oinfo->loi_lvb); in osc_object_print()
|
D | osc_lock.c | 107 olock->l_handle.h_cookie == ols->ols_handle.cookie)) in osc_lock_invariant() 161 olck->ols_handle.cookie = 0ULL; in osc_lock_detach() 483 static int osc_lock_upcall(void *cookie, int errcode) in osc_lock_upcall() argument 485 struct osc_lock *olck = cookie; in osc_lock_upcall() 516 olck->ols_handle.cookie = 0ULL; in osc_lock_upcall() 1392 static int osc_lock_print(const struct lu_env *env, void *cookie, in osc_lock_print() argument 1400 (*p)(env, cookie, "%p %#16llx %#llx %d %p ", in osc_lock_print() 1401 lock->ols_lock, lock->ols_flags, lock->ols_handle.cookie, in osc_lock_print() 1403 osc_lvb_print(env, cookie, p, &lock->ols_lvb); in osc_lock_print()
|
/linux-4.1.27/drivers/net/wireless/b43/ |
D | pio.c | 40 u16 cookie; in generate_cookie() local 50 cookie = (((u16)q->index + 1) << 12); in generate_cookie() 51 cookie |= pack->index; in generate_cookie() 53 return cookie; in generate_cookie() 58 u16 cookie, in parse_cookie() argument 65 switch (cookie & 0xF000) { in parse_cookie() 84 pack_index = (cookie & 0x0FFF); in parse_cookie() 459 u16 cookie; in pio_tx_frame() local 469 cookie = generate_cookie(q, pack); in pio_tx_frame() 474 info, cookie); in pio_tx_frame() [all …]
|
D | xmit.h | 54 __le16 cookie; /* TX frame cookie */ member 71 __le16 cookie; /* TX frame cookie */ member 82 __le16 cookie; /* TX frame cookie */ member 208 struct ieee80211_tx_info *txctl, u16 cookie); 212 u16 cookie; /* The cookie from the txhdr */ member
|
D | xmit.c | 245 u16 cookie) in b43_generate_txhdr() argument 551 txhdr->format_598.cookie = cpu_to_le16(cookie); in b43_generate_txhdr() 554 txhdr->format_351.cookie = cpu_to_le16(cookie); in b43_generate_txhdr() 557 txhdr->format_410.cookie = cpu_to_le16(cookie); in b43_generate_txhdr()
|
D | dma.c | 1200 u16 cookie; in generate_cookie() local 1210 cookie = (((u16)ring->index + 1) << 12); in generate_cookie() 1212 cookie |= (u16)slot; in generate_cookie() 1214 return cookie; in generate_cookie() 1219 struct b43_dmaring *parse_cookie(struct b43_wldev *dev, u16 cookie, int *slot) in parse_cookie() argument 1224 switch (cookie & 0xF000) { in parse_cookie() 1241 *slot = (cookie & 0x0FFF); in parse_cookie() 1244 "invalid cookie: 0x%04X\n", cookie); in parse_cookie() 1263 u16 cookie; in dma_tx_fragment() local 1280 cookie = generate_cookie(ring, slot); in dma_tx_fragment() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/lov/ |
D | lov_object.c | 68 int (*llo_print)(const struct lu_env *env, void *cookie, 393 static int lov_print_empty(const struct lu_env *env, void *cookie, in lov_print_empty() argument 396 (*p)(env, cookie, "empty %d\n", lu2lov(o)->lo_layout_invalid); in lov_print_empty() 400 static int lov_print_raid0(const struct lu_env *env, void *cookie, in lov_print_raid0() argument 408 (*p)(env, cookie, "stripes: %d, %s, lsm{%p 0x%08X %d %u %u}:\n", in lov_print_raid0() 417 lu_object_print(env, cookie, p, sub); in lov_print_raid0() 419 (*p)(env, cookie, "sub %d absent\n", i); in lov_print_raid0() 425 static int lov_print_released(const struct lu_env *env, void *cookie, in lov_print_released() argument 431 (*p)(env, cookie, in lov_print_released() 663 void *cookie; in lov_layout_change() local [all …]
|
D | lovsub_lock.c | 422 static int lovsub_lock_print(const struct lu_env *env, void *cookie, in lovsub_lock_print() argument 431 (*p)(env, cookie, "[%d %p ", scan->lll_idx, lov); in lovsub_lock_print() 433 cl_lock_descr_print(env, cookie, p, in lovsub_lock_print() 435 (*p)(env, cookie, "] "); in lovsub_lock_print()
|
D | lovsub_object.c | 97 static int lovsub_object_print(const struct lu_env *env, void *cookie, in lovsub_object_print() argument 102 return (*p)(env, cookie, "[%d]", los->lso_index); in lovsub_object_print()
|
D | lov_request.c | 273 static int cb_getattr_update(void *cookie, int rc) in cb_getattr_update() argument 275 struct obd_info *oinfo = cookie; in cb_getattr_update() 474 static int cb_setattr_update(void *cookie, int rc) in cb_setattr_update() argument 476 struct obd_info *oinfo = cookie; in cb_setattr_update() 662 static int cb_statfs_update(void *cookie, int rc) in cb_statfs_update() argument 664 struct obd_info *oinfo = cookie; in cb_statfs_update()
|
D | lov_page.c | 132 void *cookie, lu_printer_t printer) in lov_page_print() argument 136 return (*printer)(env, cookie, LUSTRE_LOV_NAME"-page@%p\n", lp); in lov_page_print()
|
/linux-4.1.27/arch/x86/include/asm/xen/ |
D | page.h | 262 #define xen_remap(cookie, size) ioremap((cookie), (size)); argument 263 #define xen_unmap(cookie) iounmap((cookie)) argument
|
/linux-4.1.27/drivers/infiniband/core/ |
D | umem_rbtree.c | 78 void *cookie) in rbt_ib_umem_for_each_in_range() argument 90 ret_val = cb(umem->umem, start, last, cookie) || ret_val; in rbt_ib_umem_for_each_in_range()
|
D | umem_odp.c | 124 u64 end, void *cookie) { in ib_umem_notifier_release_trampoline() argument 158 u64 end, void *cookie) in invalidate_page_trampoline() argument 185 u64 end, void *cookie) in invalidate_range_start_trampoline() argument 211 u64 end, void *cookie) in invalidate_range_end_trampoline() argument
|
/linux-4.1.27/net/wireless/ |
D | trace.h | 1174 struct wireless_dev *wdev, u64 cookie), 1175 TP_ARGS(wiphy, wdev, cookie), 1179 __field(u64, cookie) 1184 __entry->cookie = cookie; 1187 WIPHY_PR_ARG, WDEV_PR_ARG, __entry->cookie) 1735 TP_PROTO(struct wiphy *wiphy, int ret, u64 cookie), 1736 TP_ARGS(wiphy, ret, cookie), 1740 __field(u64, cookie) 1745 __entry->cookie = cookie; 1748 WIPHY_PR_ARG, __entry->ret, __entry->cookie) [all …]
|
D | rdev-ops.h | 89 u8 key_index, bool pairwise, const u8 *mac_addr, void *cookie, in rdev_get_key() argument 90 void (*callback)(void *cookie, struct key_params*)) in rdev_get_key() argument 95 mac_addr, cookie, callback); in rdev_get_key() 652 unsigned int duration, u64 *cookie) in rdev_remain_on_channel() argument 657 duration, cookie); in rdev_remain_on_channel() 658 trace_rdev_return_int_cookie(&rdev->wiphy, ret, *cookie); in rdev_remain_on_channel() 664 struct wireless_dev *wdev, u64 cookie) in rdev_cancel_remain_on_channel() argument 667 trace_rdev_cancel_remain_on_channel(&rdev->wiphy, wdev, cookie); in rdev_cancel_remain_on_channel() 668 ret = rdev->ops->cancel_remain_on_channel(&rdev->wiphy, wdev, cookie); in rdev_cancel_remain_on_channel() 676 u64 *cookie) in rdev_mgmt_tx() argument [all …]
|
/linux-4.1.27/include/uapi/linux/ |
D | rds.h | 223 rds_rdma_cookie_t cookie; member 228 rds_rdma_cookie_t cookie; member 237 rds_rdma_cookie_t cookie; member
|
D | inotify.h | 23 __u32 cookie; /* cookie to synchronize two events */ member
|
D | if_arcnet.h | 92 __u8 cookie[sizeof(int)]; /* Actually NOT sent over the network */ member
|
/linux-4.1.27/fs/cifs/ |
D | fscache.c | 236 struct fscache_cookie *cookie = cifsi->fscache; in __cifs_fscache_invalidate_page() local 238 cifs_dbg(FYI, "%s: (0x%p/0x%p)\n", __func__, page, cookie); in __cifs_fscache_invalidate_page() 239 fscache_wait_on_page_write(cookie, page); in __cifs_fscache_invalidate_page() 240 fscache_uncache_page(cookie, page); in __cifs_fscache_invalidate_page()
|
/linux-4.1.27/fs/ |
D | dcookies.c | 116 int get_dcookie(struct path *path, unsigned long *cookie) in get_dcookie() argument 138 *cookie = dcookie_value(dcs); in get_dcookie() 151 unsigned long cookie = (unsigned long)cookie64; in SYSCALL_DEFINE3() local 171 if (!(dcs = find_dcookie(cookie))) in SYSCALL_DEFINE3()
|
D | eventpoll.c | 117 void *cookie; member 400 void *cookie, void *ctx) in ep_call_nested() argument 417 (tncur->cookie == cookie || ++call_nests > max_nests)) { in ep_call_nested() 429 tnode.cookie = cookie; in ep_call_nested() 435 error = (*nproc)(priv, cookie, call_nests); in ep_call_nested() 489 static int ep_poll_wakeup_proc(void *priv, void *cookie, int call_nests) in ep_poll_wakeup_proc() argument 491 ep_wake_up_nested((wait_queue_head_t *) cookie, POLLIN, in ep_poll_wakeup_proc() 836 static int ep_poll_readyevents_proc(void *priv, void *cookie, int call_nests) in ep_poll_readyevents_proc() argument 1162 static int reverse_path_check_proc(void *priv, void *cookie, int call_nests) in reverse_path_check_proc() argument 1679 static int ep_loop_check_proc(void *priv, void *cookie, int call_nests) in ep_loop_check_proc() argument
|
/linux-4.1.27/drivers/android/ |
D | binder.c | 239 binder_uintptr_t cookie; member 252 binder_uintptr_t cookie; member 888 binder_uintptr_t cookie) in binder_new_node() argument 915 node->cookie = cookie; in binder_new_node() 922 (u64)node->ptr, (u64)node->cookie); in binder_new_node() 1544 node = binder_new_node(proc, fp->binder, fp->cookie); in binder_transaction() 1552 if (fp->cookie != node->cookie) { in binder_transaction() 1556 (u64)fp->cookie, (u64)node->cookie); in binder_transaction() 1606 fp->cookie = ref->node->cookie; in binder_transaction() 1831 binder_uintptr_t cookie; in binder_thread_write() local [all …]
|
/linux-4.1.27/drivers/net/wireless/ath/carl9170/ |
D | tx.c | 194 int cookie = -1; in carl9170_alloc_dev_space() local 205 cookie = bitmap_find_free_region(ar->mem_bitmap, ar->fw.mem_blocks, 0); in carl9170_alloc_dev_space() 208 if (unlikely(cookie < 0)) { in carl9170_alloc_dev_space() 222 super->s.cookie = (u8) cookie + 1; in carl9170_alloc_dev_space() 229 int cookie; in carl9170_release_dev_space() local 232 cookie = super->s.cookie; in carl9170_release_dev_space() 234 super->s.cookie = 0; in carl9170_release_dev_space() 249 if (unlikely(WARN_ON_ONCE(cookie == 0) || in carl9170_release_dev_space() 250 WARN_ON_ONCE(cookie > ar->fw.mem_blocks))) in carl9170_release_dev_space() 257 bitmap_release_region(ar->mem_bitmap, cookie - 1, 0); in carl9170_release_dev_space() [all …]
|
D | fwcmd.h | 257 u8 cookie; member 270 u8 cookie; member
|
D | wlan.h | 247 u8 cookie; member 319 u8 cookie; member
|
/linux-4.1.27/arch/tile/gxio/ |
D | iorpc_globals.c | 27 params->pollfd.kernel.cookie = pollfd_cookie; in __iorpc_arm_pollfd() 44 params->pollfd.kernel.cookie = pollfd_cookie; in __iorpc_close_pollfd()
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
D | exynos_drm_buf.c | 66 buf->cookie = dma_alloc_attrs(dev->dev, in lowlevel_buffer_allocate() 70 if (!buf->cookie) { in lowlevel_buffer_allocate() 135 dma_free_attrs(dev->dev, buf->size, buf->cookie, in lowlevel_buffer_deallocate()
|
/linux-4.1.27/net/rds/ |
D | rdma.c | 182 rds_rdma_cookie_t cookie; in __rds_rdma_map() local 284 cookie = rds_rdma_make_cookie(mr->r_key, args->vec.addr & ~PAGE_MASK); in __rds_rdma_map() 286 *cookie_ret = cookie; in __rds_rdma_map() 288 if (args->cookie_addr && put_user(cookie, (u64 __user *)(unsigned long) args->cookie_addr)) { in __rds_rdma_map() 370 if (args.cookie == 0) { in rds_free_mr() 382 mr = rds_mr_tree_walk(&rs->rs_rdma_keys, rds_rdma_cookie_key(args.cookie), NULL); in rds_free_mr() 637 op->op_rkey = rds_rdma_cookie_key(args->cookie); in rds_cmsg_rdma_args() 638 op->op_remote_addr = args->remote_vec.addr + rds_rdma_cookie_offset(args->cookie); in rds_cmsg_rdma_args() 849 rm->atomic.op_rkey = rds_rdma_cookie_key(args->cookie); in rds_cmsg_atomic() 850 rm->atomic.op_remote_addr = args->remote_addr + rds_rdma_cookie_offset(args->cookie); in rds_cmsg_atomic()
|
/linux-4.1.27/fs/afs/ |
D | dir.c | 397 struct afs_lookup_cookie *cookie = in afs_lookup_filldir() local 401 cookie->name.name, cookie->name.len, name, nlen, in afs_lookup_filldir() 408 if (cookie->name.len != nlen || in afs_lookup_filldir() 409 memcmp(cookie->name.name, name, nlen) != 0) { in afs_lookup_filldir() 414 cookie->fid.vnode = ino; in afs_lookup_filldir() 415 cookie->fid.unique = dtype; in afs_lookup_filldir() 416 cookie->found = 1; in afs_lookup_filldir() 430 struct afs_lookup_cookie cookie = { in afs_do_lookup() local 440 ret = afs_dir_iterate(dir, &cookie.ctx, key); in afs_do_lookup() 447 if (!cookie.found) { in afs_do_lookup() [all …]
|
/linux-4.1.27/include/linux/lockd/ |
D | xdr.h | 62 struct nlm_cookie cookie; member 78 struct nlm_cookie cookie; member
|
/linux-4.1.27/include/rdma/ |
D | ib_umem_odp.h | 112 void *cookie); 118 umem_call_back cb, void *cookie);
|
/linux-4.1.27/drivers/crypto/qce/ |
D | dma.c | 140 dma_cookie_t cookie; in qce_dma_prep_sg() local 151 cookie = dmaengine_submit(desc); in qce_dma_prep_sg() 153 return dma_submit_error(cookie); in qce_dma_prep_sg()
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
D | vvp_object.c | 57 static int vvp_object_print(const struct lu_env *env, void *cookie, in vvp_object_print() argument 64 (*p)(env, cookie, "(%s %d %d) inode: %p ", in vvp_object_print() 70 (*p)(env, cookie, "%lu/%u %o %u %d %p "DFID, in vvp_object_print()
|
D | dcache.c | 214 handle.cookie = it->d.lustre.it_lock_handle; in ll_intent_drop_lock() 217 handle.cookie, it); in ll_intent_drop_lock() 224 handle.cookie = it->d.lustre.it_remote_lock_handle; in ll_intent_drop_lock() 227 handle.cookie, it); in ll_intent_drop_lock()
|
D | symlink.c | 154 static void ll_put_link(struct dentry *dentry, struct nameidata *nd, void *cookie) in ll_put_link() argument 156 ptlrpc_req_finished(cookie); in ll_put_link()
|
D | vvp_page.c | 374 void *cookie, lu_printer_t printer) in vvp_page_print() argument 379 (*printer)(env, cookie, LUSTRE_VVP_NAME "-page@%p(%d:%d:%d) vm@%p ", in vvp_page_print() 383 (*printer)(env, cookie, "%lx %d:%d %lx %lu %slru", in vvp_page_print() 389 (*printer)(env, cookie, "\n"); in vvp_page_print()
|
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
D | txrx.c | 291 struct ath6kl_cookie *cookie = NULL; in ath6kl_control_tx() local 317 cookie = NULL; in ath6kl_control_tx() 321 cookie = ath6kl_alloc_cookie(ar); in ath6kl_control_tx() 324 if (cookie == NULL) { in ath6kl_control_tx() 337 cookie->skb = skb; in ath6kl_control_tx() 338 cookie->map_no = 0; in ath6kl_control_tx() 339 set_htc_pkt_info(&cookie->htc_pkt, cookie, skb->data, skb->len, in ath6kl_control_tx() 341 cookie->htc_pkt.skb = skb; in ath6kl_control_tx() 347 ath6kl_htc_tx(ar->htc_target, &cookie->htc_pkt); in ath6kl_control_tx() 359 struct ath6kl_cookie *cookie = NULL; in ath6kl_data_tx() local [all …]
|
D | recovery.c | 57 void ath6kl_recovery_hb_event(struct ath6kl *ar, u32 cookie) in ath6kl_recovery_hb_event() argument 59 if (cookie == ar->fw_recovery.seq_num) in ath6kl_recovery_hb_event()
|
D | main.c | 157 struct ath6kl_cookie *cookie; in ath6kl_alloc_cookie() local 159 cookie = ar->cookie_list; in ath6kl_alloc_cookie() 160 if (cookie != NULL) { in ath6kl_alloc_cookie() 161 ar->cookie_list = cookie->arc_list_next; in ath6kl_alloc_cookie() 165 return cookie; in ath6kl_alloc_cookie() 187 void ath6kl_free_cookie(struct ath6kl *ar, struct ath6kl_cookie *cookie) in ath6kl_free_cookie() argument 191 if (!ar || !cookie) in ath6kl_free_cookie() 194 cookie->arc_list_next = ar->cookie_list; in ath6kl_free_cookie() 195 ar->cookie_list = cookie; in ath6kl_free_cookie()
|
/linux-4.1.27/drivers/video/fbdev/ |
D | mx3fb.c | 270 dma_cookie_t cookie; member 395 dma_cookie_t cookie; in sdc_enable_channel() local 404 if (mx3_fbi->cookie < 0) { in sdc_enable_channel() 416 cookie = mx3_fbi->txd->tx_submit(mx3_fbi->txd); in sdc_enable_channel() 418 mx3_fbi->txd, cookie, list_empty(&ichan->queue) ? '-' : '+'); in sdc_enable_channel() 428 cookie = mx3_fbi->cookie; in sdc_enable_channel() 430 mx3_fbi->txd, cookie, list_empty(&ichan->queue) ? '-' : '+'); in sdc_enable_channel() 433 if (cookie >= 0) { in sdc_enable_channel() 436 mx3_fbi->cookie = cookie; in sdc_enable_channel() 465 mx3_fbi->cookie = -EINVAL; in sdc_disable_channel() [all …]
|
/linux-4.1.27/drivers/scsi/csiostor/ |
D | t4fw_api_stor.h | 117 __be64 cookie; member 185 u64 cookie; member 210 u64 cookie; member 236 u64 cookie; member 262 u64 cookie; member 290 u64 cookie; member
|
/linux-4.1.27/arch/sparc/kernel/ |
D | irq_64.c | 256 unsigned long hv_err, cookie; in cookie_exists() local 260 hv_err = sun4v_vintr_get_cookie(devhandle, devino, &cookie); in cookie_exists() 266 if (cookie & ((1UL << 63UL))) { in cookie_exists() 267 cookie = ~cookie; in cookie_exists() 268 bucket = (struct ino_bucket *) __va(cookie); in cookie_exists() 677 unsigned long hv_error, cookie; in cookie_assign() local 683 cookie = ~__pa(&ihd->bucket); in cookie_assign() 685 hv_error = sun4v_vintr_set_cookie(devhandle, devino, cookie); in cookie_assign()
|
D | ldc.c | 1006 static unsigned long ldc_cookie_to_index(u64 cookie, void *arg) in ldc_cookie_to_index() argument 1008 u64 szcode = cookie >> COOKIE_PGSZ_CODE_SHIFT; in ldc_cookie_to_index() 1011 cookie &= ~COOKIE_PGSZ_CODE; in ldc_cookie_to_index() 1013 return (cookie >> (13ULL + (szcode * 3ULL))); in ldc_cookie_to_index() 1016 static void ldc_demap(struct ldc_iommu *iommu, unsigned long id, u64 cookie, in ldc_demap() argument 1022 shift = (cookie >> COOKIE_PGSZ_CODE_SHIFT) * 3; in ldc_demap() 1025 if (base->cookie) in ldc_demap() 1026 sun4v_ldc_revoke(id, cookie + (i << shift), in ldc_demap() 1027 base->cookie); in ldc_demap() 2164 u64 cookie, u64 size) in free_npages() argument [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
D | lustre_handles.c | 150 void *class_handle2object(__u64 cookie) in class_handle2object() argument 160 bucket = handle_hash + (cookie & HANDLE_HASH_MASK); in class_handle2object() 164 if (h->h_cookie != cookie) in class_handle2object()
|
D | lu_object.c | 441 void *cookie, const char *format, ...) in lu_cdebug_printer() argument 443 struct libcfs_debug_msg_data *msgdata = cookie; in lu_cdebug_printer() 474 void lu_object_header_print(const struct lu_env *env, void *cookie, in lu_object_header_print() argument 478 (*printer)(env, cookie, "header@%p[%#lx, %d, "DFID"%s%s%s]", in lu_object_header_print() 491 void lu_object_print(const struct lu_env *env, void *cookie, in lu_object_print() argument 499 lu_object_header_print(env, cookie, printer, top); in lu_object_print() 500 (*printer)(env, cookie, "{\n"); in lu_object_print() 506 (*printer)(env, cookie, "%*.*s%s@%p", depth, depth, ruler, in lu_object_print() 510 (*o->lo_ops->loo_object_print)(env, cookie, printer, o); in lu_object_print() 512 (*printer)(env, cookie, "\n"); in lu_object_print() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/ |
D | echo_client.c | 167 u64 end, int mode, __u64 *cookie); 168 static int cl_echo_cancel(struct echo_device *d, __u64 cookie); 298 void *cookie, lu_printer_t printer) in echo_page_print() argument 302 (*printer)(env, cookie, LUSTRE_ECHO_CLIENT_NAME"-page@%p %d vm@%p\n", in echo_page_print() 535 static int echo_object_print(const struct lu_env *env, void *cookie, in echo_object_print() argument 540 return (*p)(env, cookie, "echoclient-object@%p", obj); in echo_object_print() 1032 __u64 *cookie, __u32 enqflags) in cl_echo_enqueue0() argument 1067 *cookie = el->el_cookie; in cl_echo_enqueue0() 1077 int mode, __u64 *cookie) in cl_echo_enqueue() argument 1098 result = cl_echo_enqueue0(env, eco, start, end, mode, cookie, 0); in cl_echo_enqueue() [all …]
|
/linux-4.1.27/drivers/misc/cxl/ |
D | irq.c | 263 irq_handler_t handler, void *cookie, const char *name) in cxl_map_irq() argument 279 result = request_irq(virq, handler, 0, name, cookie); in cxl_map_irq() 288 void cxl_unmap_irq(unsigned int virq, void *cookie) in cxl_unmap_irq() argument 290 free_irq(virq, cookie); in cxl_unmap_irq() 295 void *cookie, in cxl_register_one_irq() argument 305 if (!(virq = cxl_map_irq(adapter, hwirq, handler, cookie, name))) in cxl_register_one_irq()
|
/linux-4.1.27/drivers/gpu/vga/ |
D | vgaarb.c | 67 void *cookie; member 68 void (*irq_set_state)(void *cookie, bool enable); 69 unsigned int (*set_vga_decode)(void *cookie, bool decode); 152 vgadev->irq_set_state(vgadev->cookie, state); in vga_irq_set_state() 713 int vga_client_register(struct pci_dev *pdev, void *cookie, in vga_client_register() argument 714 void (*irq_set_state)(void *cookie, bool state), in vga_client_register() argument 715 unsigned int (*set_vga_decode)(void *cookie, bool decode)) in vga_client_register() argument 728 vgadev->cookie = cookie; in vga_client_register() 1249 new_decodes = vgadev->set_vga_decode(vgadev->cookie, new_state); in vga_arbiter_notify_clients()
|
/linux-4.1.27/fs/ceph/ |
D | cache.c | 216 struct fscache_cookie* cookie; in ceph_fscache_unregister_inode_cookie() local 218 if ((cookie = ci->fscache) == NULL) in ceph_fscache_unregister_inode_cookie() 223 fscache_uncache_all_inode_pages(cookie, &ci->vfs_inode); in ceph_fscache_unregister_inode_cookie() 224 fscache_relinquish_cookie(cookie, 0); in ceph_fscache_unregister_inode_cookie()
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | hypervisor.h | 1655 unsigned long *cookie); 1658 unsigned long cookie); 2552 unsigned long cookie; member 2670 unsigned long cookie, 2675 unsigned long cookie,
|
D | ebus_dma.h | 15 void (*callback)(struct ebus_dma_info *p, int event, void *cookie);
|
/linux-4.1.27/drivers/dma/ioat/ |
D | dma.c | 234 dma_cookie_t cookie; in ioat1_tx_submit() local 238 cookie = dma_cookie_assign(tx); in ioat1_tx_submit() 239 dev_dbg(to_dev(&ioat->base), "%s: cookie: %d\n", __func__, cookie); in ioat1_tx_submit() 260 return cookie; in ioat1_tx_submit() 622 if (tx->cookie) { in __cleanup() 747 ioat_dma_tx_status(struct dma_chan *c, dma_cookie_t cookie, in ioat_dma_tx_status() argument 754 ret = dma_cookie_status(c, cookie, txstate); in ioat_dma_tx_status() 760 return dma_cookie_status(c, cookie, txstate); in ioat_dma_tx_status() 825 dma_cookie_t cookie; in ioat_dma_self_test() local 876 cookie = tx->tx_submit(tx); in ioat_dma_self_test() [all …]
|
D | dma_v3.c | 407 if (tx->cookie) { in __cleanup() 545 if (tx->cookie) { in ioat3_eh() 646 ioat3_tx_status(struct dma_chan *c, dma_cookie_t cookie, in ioat3_tx_status() argument 652 ret = dma_cookie_status(c, cookie, txstate); in ioat3_tx_status() 658 return dma_cookie_status(c, cookie, txstate); in ioat3_tx_status() 1226 dma_cookie_t cookie; in ioat_xor_val_self_test() local 1309 cookie = tx->tx_submit(tx); in ioat_xor_val_self_test() 1310 if (cookie < 0) { in ioat_xor_val_self_test() 1320 dma->device_tx_status(dma_chan, cookie, NULL) != DMA_COMPLETE) { in ioat_xor_val_self_test() 1376 cookie = tx->tx_submit(tx); in ioat_xor_val_self_test() [all …]
|
/linux-4.1.27/drivers/net/arcnet/ |
D | capmode.c | 107 *((int*)&pkt->soft.cap.cookie[0])); in build_header() 151 *((int*)&pkt->soft.cap.cookie[0])); in prepare_tx() 218 *((int*)&ackpkt->soft.cap.cookie[0])); in ack_tx()
|
/linux-4.1.27/sound/core/ |
D | pcm_dmaengine.c | 33 dma_cookie_t cookie; member 169 prtd->cookie = dmaengine_submit(desc); in dmaengine_pcm_prepare_and_submit() 250 status = dmaengine_tx_status(prtd->dma_chan, prtd->cookie, &state); in snd_dmaengine_pcm_pointer()
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | lu_object.h | 194 void *cookie, const char *format, ...) 243 int (*loo_object_print)(const struct lu_env *env, void *cookie, 719 void lu_site_print(const struct lu_env *env, struct lu_site *s, void *cookie, 784 void *cookie, const char *format, ...); 814 void lu_object_print (const struct lu_env *env, void *cookie, 816 void lu_object_header_print(const struct lu_env *env, void *cookie,
|
D | lustre_handles.h | 90 void *class_handle2object(__u64 cookie);
|
D | cl_object.h | 962 void *cookie, lu_printer_t p); 1826 void *cookie, lu_printer_t p, 2160 int (*cio_print)(const struct lu_env *env, void *cookie, 2809 void cl_page_print (const struct lu_env *env, void *cookie, 2812 void cl_page_header_print(const struct lu_env *env, void *cookie, 2889 void cl_lock_print (const struct lu_env *env, void *cookie, 2891 void cl_lock_descr_print(const struct lu_env *env, void *cookie, 3104 void cl_io_print(const struct lu_env *env, void *cookie, 3267 void cl_env_reexit (void *cookie);
|
/linux-4.1.27/drivers/net/wireless/ath/ath9k/ |
D | htc_drv_txrx.c | 169 slot = tx_mhdr->cookie; in strip_drv_header() 178 slot = tx_fhdr->cookie; in strip_drv_header() 247 mgmt_hdr.cookie = slot; in ath9k_htc_tx_mgmt() 282 tx_hdr.cookie = slot; in ath9k_htc_tx_data() 589 u8 cookie, u8 epid) in check_cookie() argument 596 fcookie = hdr->cookie; in check_cookie() 604 fcookie = hdr->cookie; in check_cookie() 607 if (fcookie == cookie) in check_cookie() 628 if (check_cookie(priv, skb, txs->cookie, epid)) { in ath9k_htc_tx_get_packet() 637 txs->cookie, epid); in ath9k_htc_tx_get_packet() [all …]
|
/linux-4.1.27/fs/notify/inotify/ |
D | inotify_fsnotify.c | 70 const unsigned char *file_name, u32 cookie) in inotify_handle_event() argument 106 event->sync_cookie = cookie; in inotify_handle_event()
|
D | inotify.h | 30 const unsigned char *file_name, u32 cookie);
|
/linux-4.1.27/fs/ext4/ |
D | symlink.c | 101 void *cookie) in ext4_put_link() argument 103 struct page *page = cookie; in ext4_put_link()
|
/linux-4.1.27/drivers/dma/hsu/ |
D | hsu.c | 289 dma_cookie_t cookie, struct dma_tx_state *state) in hsu_dma_tx_status() argument 297 status = dma_cookie_status(chan, cookie, state); in hsu_dma_tx_status() 302 vdesc = vchan_find_desc(&hsuc->vchan, cookie); in hsu_dma_tx_status() 303 if (hsuc->desc && cookie == hsuc->desc->vdesc.tx.cookie) { in hsu_dma_tx_status()
|
/linux-4.1.27/drivers/scsi/ |
D | scsi_pm.c | 111 static void async_sdev_resume(void *dev, async_cookie_t cookie) in async_sdev_resume() argument 116 static void async_sdev_thaw(void *dev, async_cookie_t cookie) in async_sdev_thaw() argument 121 static void async_sdev_restore(void *dev, async_cookie_t cookie) in async_sdev_restore() argument
|
/linux-4.1.27/fs/configfs/ |
D | symlink.c | 300 void *cookie) in configfs_put_link() argument 302 if (cookie) { in configfs_put_link() 303 unsigned long page = (unsigned long)cookie; in configfs_put_link()
|
/linux-4.1.27/drivers/dma/bestcomm/ |
D | bestcomm.c | 90 tsk->cookie = kmalloc(sizeof(void*) * bd_count, GFP_KERNEL); in bcom_task_alloc() 91 if (!tsk->cookie) in bcom_task_alloc() 110 kfree(tsk->cookie); in bcom_task_alloc() 133 kfree(tsk->cookie); in bcom_task_free()
|
/linux-4.1.27/drivers/dma/ipu/ |
D | ipu_idmac.c | 829 dma_cookie_t cookie; in idmac_tx_submit() local 855 cookie = ipu_init_channel_buffer(ichan, in idmac_tx_submit() 863 if (cookie < 0) in idmac_tx_submit() 869 cookie = dma_cookie_assign(tx); in idmac_tx_submit() 881 cookie = ret; in idmac_tx_submit() 888 cookie = ret; in idmac_tx_submit() 896 if (cookie < 0) { in idmac_tx_submit() 900 tx->cookie = cookie; in idmac_tx_submit() 901 ichan->dma_chan.cookie = cookie; in idmac_tx_submit() 907 return cookie; in idmac_tx_submit() [all …]
|
/linux-4.1.27/drivers/infiniband/hw/cxgb4/ |
D | cq.c | 58 res_wr->cookie = (uintptr_t)&wr_wait; in destroy_cq() 128 res_wr->cookie = (uintptr_t)&wr_wait; in create_cq() 471 u8 *cqe_flushed, u64 *cookie, u32 *credit) in poll_cq() argument 642 *cookie = wq->sq.sw_sq[wq->sq.cidx].wr_id; in poll_cq() 648 *cookie = wq->rq.sw_rq[wq->rq.cidx].wr_id; in poll_cq() 691 u64 cookie = 0; in c4iw_poll_cq_one() local 706 ret = poll_cq(wq, &(chp->cq), &cqe, &cqe_flushed, &cookie, &credit); in c4iw_poll_cq_one() 710 wc->wr_id = cookie; in c4iw_poll_cq_one() 718 CQE_WRID_HI(&cqe), CQE_WRID_LOW(&cqe), (unsigned long long)cookie); in c4iw_poll_cq_one()
|
/linux-4.1.27/net/mac80211/ |
D | cfg.c | 299 void *cookie, in ieee80211_get_key() argument 300 void (*callback)(void *cookie, in ieee80211_get_key() argument 409 callback(cookie, ¶ms); in ieee80211_get_key() 2520 unsigned int duration, u64 *cookie, in ieee80211_start_roc_work() argument 2566 roc->cookie = local->roc_cookie_counter; in ieee80211_start_roc_work() 2568 if (WARN_ON(roc->cookie == 0)) { in ieee80211_start_roc_work() 2569 roc->cookie = 1; in ieee80211_start_roc_work() 2572 *cookie = roc->cookie; in ieee80211_start_roc_work() 2574 *cookie = (unsigned long)txskb; in ieee80211_start_roc_work() 2676 u64 *cookie) in ieee80211_remain_on_channel() argument [all …]
|
/linux-4.1.27/drivers/dma/ppc4xx/ |
D | adma.c | 1478 dma_cookie_t cookie) in ppc440spe_adma_run_tx_complete_actions() argument 1480 BUG_ON(desc->async_tx.cookie < 0); in ppc440spe_adma_run_tx_complete_actions() 1481 if (desc->async_tx.cookie > 0) { in ppc440spe_adma_run_tx_complete_actions() 1482 cookie = desc->async_tx.cookie; in ppc440spe_adma_run_tx_complete_actions() 1483 desc->async_tx.cookie = 0; in ppc440spe_adma_run_tx_complete_actions() 1498 return cookie; in ppc440spe_adma_run_tx_complete_actions() 1553 dma_cookie_t cookie = 0; in __ppc440spe_adma_slot_cleanup() local 1576 iter->async_tx.cookie, iter->idx, busy, iter->phys, in __ppc440spe_adma_slot_cleanup() 1630 cookie = ppc440spe_adma_run_tx_complete_actions( in __ppc440spe_adma_slot_cleanup() 1631 grp_iter, chan, cookie); in __ppc440spe_adma_slot_cleanup() [all …]
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | ramht.h | 11 void nvkm_ramht_remove(struct nvkm_ramht *, int cookie);
|
/linux-4.1.27/arch/x86/platform/uv/ |
D | bios_uv.c | 150 uv_bios_reserved_page_pa(u64 buf, u64 *cookie, u64 *addr, u64 *len) in uv_bios_reserved_page_pa() argument 154 ret = uv_bios_call_irqsave(UV_BIOS_GET_PARTITION_ADDR, (u64)cookie, in uv_bios_reserved_page_pa()
|
/linux-4.1.27/arch/arm/mach-ebsa110/ |
D | core.c | 119 static void __iomem *ebsa110_ioremap_caller(phys_addr_t cookie, size_t size, in ebsa110_ioremap_caller() argument 122 return (void __iomem *)cookie; in ebsa110_ioremap_caller()
|
/linux-4.1.27/include/linux/ceph/ |
D | osd_client.h | 107 u64 cookie; member 184 u64 cookie; member 310 u64 cookie, u64 version, int flag);
|
/linux-4.1.27/drivers/misc/sgi-xp/ |
D | xpc_partition.c | 69 u64 cookie = 0; in xpc_get_rsvd_page_pa() local 87 ret = get_partition_rsvd_page_pa(buf, &cookie, &rp_pa, &len); in xpc_get_rsvd_page_pa() 91 (unsigned long)cookie, rp_pa, len); in xpc_get_rsvd_page_pa()
|
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/ |
D | lib-me.c | 169 cpt = lnet_cpt_of_cookie(current_meh.cookie); in LNetMEInsert() 239 cpt = lnet_cpt_of_cookie(meh.cookie); in LNetMEUnlink()
|
/linux-4.1.27/fs/overlayfs/ |
D | inode.c | 155 void *cookie; member 183 data->cookie = ret; in ovl_follow_link() 200 realinode->i_op->put_link(data->realdentry, nd, data->cookie); in ovl_put_link()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_pool.c | 1059 void *cookie; in ldlm_pools_count() local 1067 cookie = cl_env_reenter(); in ldlm_pools_count() 1077 cl_env_reexit(cookie); in ldlm_pools_count() 1103 cl_env_reexit(cookie); in ldlm_pools_count() 1112 void *cookie; in ldlm_pools_scan() local 1117 cookie = cl_env_reenter(); in ldlm_pools_scan() 1148 cl_env_reexit(cookie); in ldlm_pools_scan()
|
/linux-4.1.27/Documentation/virtual/kvm/ |
D | s390-diag.txt | 67 kvm_io_bus cookie). If general register 4 does not contain a valid 71 a 64bit identifier (in the kvm_io_bus cookie case).
|
/linux-4.1.27/Documentation/video4linux/cx2341x/ |
D | README.vbi | 18 for a bitmask determining which lines are captured and 4 bytes for a magic cookie, 31 After these magic cookies (and the 8 byte bitmask in case of cookie 'itv0') the
|
/linux-4.1.27/drivers/media/platform/ |
D | timblogiw.c | 77 dma_cookie_t cookie; member 127 buf->cookie = -1; in timblogiw_dma_cb() 531 buf->cookie = -1; in buffer_prepare() 579 buf->cookie = desc->tx_submit(desc); in buffer_queue() 592 if (buf->cookie >= 0) in buffer_release() 593 dma_sync_wait(fh->chan, buf->cookie); in buffer_release()
|
/linux-4.1.27/drivers/rapidio/devices/ |
D | tsi721_dma.c | 628 dma_cookie_t cookie; in tsi721_tx_submit() local 644 cookie = dma_cookie_assign(txd); in tsi721_tx_submit() 649 return cookie; in tsi721_tx_submit() 736 enum dma_status tsi721_tx_status(struct dma_chan *dchan, dma_cookie_t cookie, in tsi721_tx_status() argument 739 return dma_cookie_status(dchan, cookie, txstate); in tsi721_tx_status() 871 bdma_chan->dchan.cookie = 1; in tsi721_register_dma()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.h | 77 irqreturn_t t1_interrupt(int irq, void *cookie);
|
/linux-4.1.27/net/ceph/ |
D | osd_client.c | 586 u64 cookie, u64 version, int flag) in osd_req_op_watch_init() argument 592 op->watch.cookie = cookie; in osd_req_op_watch_init() 704 dst->watch.cookie = cpu_to_le64(src->watch.cookie); in osd_req_encode_op() 2226 if (new->cookie < event->cookie) in __insert_event() 2228 else if (new->cookie > event->cookie) in __insert_event() 2239 u64 cookie) in __find_event() argument 2248 if (cookie < event->cookie) in __find_event() 2250 else if (cookie > event->cookie) in __find_event() 2292 event->cookie = ++osdc->event_count; in ceph_osdc_create_event() 2339 u64 cookie, ver, notify_id; in handle_watch_notify() local [all …]
|
/linux-4.1.27/arch/powerpc/oprofile/cell/ |
D | spu_task_sync.c | 300 unsigned long cookie; in fast_get_dcookie() local 304 get_dcookie(path, &cookie); in fast_get_dcookie() 305 return cookie; in fast_get_dcookie()
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
D | cfg80211.c | 155 struct cfg80211_mgmt_tx_params *params, u64 *cookie) in mwifiex_cfg80211_mgmt_tx() argument 197 *cookie = prandom_u32() | 1; in mwifiex_cfg80211_mgmt_tx() 202 MWIFIEX_BUF_FLAG_ACTION_TX_STATUS, cookie); in mwifiex_cfg80211_mgmt_tx() 204 cfg80211_mgmt_tx_status(wdev, *cookie, buf, len, true, in mwifiex_cfg80211_mgmt_tx() 245 unsigned int duration, u64 *cookie) in mwifiex_cfg80211_remain_on_channel() argument 250 if (!chan || !cookie) { in mwifiex_cfg80211_remain_on_channel() 255 if (priv->roc_cfg.cookie) { in mwifiex_cfg80211_remain_on_channel() 257 priv->roc_cfg.cookie); in mwifiex_cfg80211_remain_on_channel() 265 *cookie = prandom_u32() | 1; in mwifiex_cfg80211_remain_on_channel() 266 priv->roc_cfg.cookie = *cookie; in mwifiex_cfg80211_remain_on_channel() [all …]
|
/linux-4.1.27/include/net/ |
D | dst_ops.h | 18 struct dst_entry * (*check)(struct dst_entry *, __u32 cookie);
|