Searched refs:cookie (Results 1 - 25 of 864) sorted by last modified time

1234567891011>>

/linux-master/virt/kvm/
H A Dkvm_main.c5845 gpa_t addr, int len, const void *val, long cookie)
5859 /* First try the device referenced by cookie. */
5860 if ((cookie >= 0) && (cookie < bus->dev_count) &&
5861 (kvm_io_bus_cmp(&range, &bus->range[cookie]) == 0))
5862 if (!kvm_iodevice_write(vcpu, bus->range[cookie].dev, addr, len,
5864 return cookie;
5867 * cookie contained garbage; fall back to search and return the
5868 * correct cookie value.
5844 kvm_io_bus_write_cookie(struct kvm_vcpu *vcpu, enum kvm_bus bus_idx, gpa_t addr, int len, const void *val, long cookie) argument
/linux-master/kernel/sched/
H A Dsched.h1271 * Helpers to check if the CPU's core cookie matches with the task's cookie
1273 * A special case is that the task's cookie always matches with CPU's core
1274 * cookie if the CPU is in an idle core.
1278 /* Ignore cookie match if core scheduler is not enabled on the CPU. */
1290 /* Ignore cookie match if core scheduler is not enabled on the CPU. */
1314 /* Ignore cookie match if core scheduler is not enabled on the CPU. */
1594 struct pin_cookie cookie; member in struct:rq_flags
1619 rf->cookie = lockdep_pin_lock(__rq_lockp(rq));
1637 lockdep_unpin_lock(__rq_lockp(rq), rf->cookie);
[all...]
/linux-master/fs/smb/client/
H A Dfscache.c165 struct fscache_cookie *cookie = cifs_inode_cookie(inode); local
167 if (cookie) {
168 cifs_dbg(FYI, "%s: (0x%p)\n", __func__, cookie);
169 fscache_relinquish_cookie(cookie, false);
180 struct fscache_cookie *cookie = cifs_inode_cookie(inode); local
189 ret = fscache_begin_read_operation(&cres, cookie);
206 struct fscache_cookie *cookie = cifs_inode_cookie(inode); local
213 ret = fscache_begin_write_operation(&cres, cookie);
261 struct fscache_cookie *cookie = cifs_inode_cookie(inode); local
266 ret = fscache_begin_read_operation(&cres, cookie);
[all...]
/linux-master/fs/bcachefs/
H A Dbtree_node_scan.c25 prt_printf(out, "%s l=%u seq=%u cookie=%llx ", bch2_btree_id_str(n->btree_id), n->level, n->seq, n->cookie);
57 bp->v.seq = cpu_to_le64(f->cookie);
94 cmp_int(l->cookie, r->cookie);
154 .cookie = le64_to_cpu(bn->keys.seq),
359 prev->cookie == i->cookie) {
H A Dbcachefs_format.h389 x(cookie, 3) \
442 __le64 cookie; member in struct:bch_cookie
H A Dbkey_methods.c71 prt_printf(out, "%llu", le64_to_cpu(ck.v->cookie));
H A Dtests.c479 struct bkey_i_cookie cookie; local
482 bkey_cookie_init(&cookie.k_i);
483 cookie.k.p.snapshot = snapid_hi;
484 ret = bch2_btree_insert(c, BTREE_ID_xattrs, &cookie.k_i, NULL, 0);
502 struct bkey_i_cookie cookie; local
507 bkey_cookie_init(&cookie.k_i);
508 cookie.k.p.snapshot = U32_MAX;
509 ret = bch2_btree_insert(c, BTREE_ID_xattrs, &cookie.k_i, NULL, 0);
620 struct bkey_i_cookie *cookie,
635 bkey_cookie_init(&cookie
618 rand_mixed_trans(struct btree_trans *trans, struct btree_iter *iter, struct bkey_i_cookie *cookie, u64 i, u64 pos) argument
647 struct bkey_i_cookie cookie; local
[all...]
/linux-master/drivers/usb/gadget/function/
H A Df_fs.c1380 bool cookie = dma_fence_begin_signalling(); local
1385 dma_fence_end_signalling(cookie);
1587 bool cookie; local
1685 cookie = dma_fence_begin_signalling();
1687 dma_fence_end_signalling(cookie);
/linux-master/drivers/tty/serial/
H A Dstm32-usart.c319 dma_status = dmaengine_tx_status(chan, chan->cookie, NULL);
504 stm32_port->rx_ch->cookie,
561 stm32_port->rx_ch->cookie,
/linux-master/drivers/android/
H A Dbinder.c743 binder_uintptr_t cookie = fp ? fp->cookie : 0; local
775 node->cookie = cookie;
786 (u64)node->ptr, (u64)node->cookie);
2156 if (fp->cookie != node->cookie) {
2157 binder_user_error("%d:%d sending u%016llx node %d, cookie mismatch %016llx != %016llx\n",
2159 node->debug_id, (u64)fp->cookie,
2160 (u64)node->cookie);
3909 binder_uintptr_t cookie; local
4078 binder_uintptr_t cookie; local
4201 binder_uintptr_t cookie; local
4602 binder_uintptr_t cookie; local
[all...]
/linux-master/mm/
H A Dmemory-failure.c1750 dax_entry_t cookie; local
1760 cookie = dax_lock_folio(folio);
1761 if (!cookie)
1799 dax_unlock_folio(folio, cookie);
1815 dax_entry_t cookie; local
1824 cookie = dax_lock_mapping_entry(mapping, index, &page);
1825 if (!cookie)
1841 dax_unlock_mapping_entry(mapping, index, cookie);
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc_flower.c507 /* Link the new rule to the existing rule with the cookie */
508 vrule->cookie = erule->cookie;
1127 vrule->cookie = fco->cookie;
1315 rule_id = vcap_lookup_rule_by_cookie(vctrl, fco->cookie);
1350 err = vcap_get_rule_count_by_cookie(vctrl, &ctr, fco->cookie);
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_tc.c42 unsigned long cookie; member in struct:otx2_tc_flow
961 unsigned long cookie)
966 if (tmp->cookie == cookie)
1183 flow_node = otx2_tc_get_entry_by_cookie(flow_cfg, tc_flow_cmd->cookie);
1185 netdev_err(nic->netdev, "tc flow not found for cookie 0x%lx\n",
1186 tc_flow_cmd->cookie);
1259 new_node->cookie = tc_flow_cmd->cookie;
1271 /* If a flow exists with the same cookie, delet
960 otx2_tc_get_entry_by_cookie(struct otx2_flow_config *flow_cfg, unsigned long cookie) argument
[all...]
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_tc_lib.c828 /* specify the cookie as filter_rule_id */
829 rule_info.fltr_rule_id = fltr->cookie;
1024 /* specify the cookie as filter_rule_id */
1025 rule_info.fltr_rule_id = tc_fltr->cookie;
1958 fltr->cookie = f->cookie;
1987 * @cookie: filter specific cookie
1990 ice_find_tc_flower_fltr(struct ice_pf *pf, unsigned long cookie) argument
1995 if (cookie
[all...]
/linux-master/fs/nfsd/
H A Dnfs4xdr.c2285 * If the cookie is too large to have even one user.x attribute
3690 __be64 cookie = cpu_to_be64(offset); local
3695 write_bytes_to_xdr_buf(xdr->buf, readdir->cookie_offset, &cookie,
3696 sizeof(cookie));
3798 /* Encode the previous entry's cookie value */
3804 /* Reserve send buffer space for this entry's cookie value. */
4522 /* Encode the final entry's cookie value */
5384 * See if there are cookie values that can be rejected outright.
5390 u64 cookie = listxattrs->lsxa_cookie; local
5393 * If the cookie i
5412 u64 cookie; local
[all...]
/linux-master/fs/ceph/
H A Daddr.c517 struct fscache_cookie *cookie = ceph_fscache_cookie(ci); local
519 fscache_write_to_cache(cookie, inode->i_mapping, off, len, i_size_read(inode),
/linux-master/drivers/ata/
H A Dlibata-core.c5887 static void async_port_probe(void *data, async_cookie_t cookie) argument
5899 async_synchronize_cookie(cookie);
5905 async_synchronize_cookie(cookie);
5995 ap->cookie = async_schedule(async_port_probe, ap);
6090 async_synchronize_cookie(ap->cookie + 1);
/linux-master/block/
H A Dblk-core.c899 blk_qc_t cookie = READ_ONCE(bio->bi_cookie); local
909 if (cookie == BLK_QC_T_NONE ||
933 ret = blk_mq_poll(q, cookie, iob, flags);
/linux-master/net/ipv4/
H A Droute.c131 struct dst_entry *ipv4_dst_check(struct dst_entry *dst, u32 cookie);
1194 u32 cookie)
1193 ipv4_dst_check(struct dst_entry *dst, u32 cookie) argument
/linux-master/net/bluetooth/
H A Dhci_sock.c58 __u32 cookie; member in struct:hci_pinfo
96 return hci_pi(sk)->cookie;
101 int id = hci_pi(sk)->cookie;
108 hci_pi(sk)->cookie = id;
118 int id = hci_pi(sk)->cookie;
121 hci_pi(sk)->cookie = 0xffffffff;
452 put_unaligned_le32(hci_pi(sk)->cookie, skb_put(skb, 4));
560 /* No message needed when cookie is not present */
561 if (!hci_pi(sk)->cookie)
592 put_unaligned_le32(hci_pi(sk)->cookie, skb_pu
[all...]
/linux-master/include/linux/
H A Ddma-fence.h380 void dma_fence_end_signalling(bool cookie);
387 static inline void dma_fence_end_signalling(bool cookie) {} argument
/linux-master/drivers/scsi/hisi_sas/
H A Dhisi_sas_main.c1521 static void hisi_sas_async_init_wait_phyup(void *data, async_cookie_t cookie) argument
1896 static void hisi_sas_async_I_T_nexus_reset(void *data, async_cookie_t cookie) argument
/linux-master/drivers/gpu/drm/panfrost/
H A Dpanfrost_mmu.c384 static void mmu_tlb_inv_context_s1(void *cookie) argument
387 static void mmu_tlb_sync_context(void *cookie) argument
389 //struct panfrost_mmu *mmu = cookie;
394 void *cookie)
396 mmu_tlb_sync_context(cookie);
393 mmu_tlb_flush_walk(unsigned long iova, size_t size, size_t granule, void *cookie) argument
/linux-master/net/rds/
H A Drdma.c182 rds_rdma_cookie_t cookie; local
317 * a 64bit cookie containing <R_Key, offset> and pass that
320 cookie = rds_rdma_make_cookie(mr->r_key, 0);
322 cookie = rds_rdma_make_cookie(mr->r_key,
325 *cookie_ret = cookie;
328 put_user(cookie, (u64 __user *)(unsigned long)args->cookie_addr)) {
411 /* Special case - a null cookie means flush all unused MRs */
412 if (args.cookie == 0) {
424 mr = rds_mr_tree_walk(&rs->rs_rdma_keys, rds_rdma_cookie_key(args.cookie), NULL);
693 /* The cookie contain
[all...]
/linux-master/kernel/trace/
H A Dbpf_trace.c2767 u64 *cookie, entry_ip; local
2781 cookie = link->cookies + (addr - link->addrs);
2782 return *cookie;
3071 * find cookie based on the address in bpf_get_attach_cookie
3124 u64 cookie; member in struct:bpf_uprobe
3236 put_user(umulti_link->uprobes[i].cookie, ucookies + i))
3327 return run_ctx->uprobe->cookie;
3421 if (ucookies && __get_user(uprobes[i].cookie, ucookies + i)) {

Completed in 465 milliseconds

1234567891011>>