/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rx.c | 84 u32 ci = mlx5_cqwq_ctr2ix(wq, cqcc); local 86 memcpy(data, mlx5_cqwq_get_wqe(wq, ci), sizeof(struct mlx5_cqe64)); 133 u32 ci = mlx5_cqwq_ctr2ix(wq, cqcc); local 135 u32 ci_top = min_t(u32, wq_sz, ci + n); 137 for (; ci < ci_top; ci++, n--) { 138 struct mlx5_cqe64 *cqe = mlx5_cqwq_get_wqe(wq, ci); 143 if (unlikely(ci == wq_sz)) { 145 for (ci = 0; ci < 955 u16 ci; local 1026 u16 ci; local 1828 u16 ci; local 1876 u16 ci; local 2648 u16 ci; local 2739 u16 ci; local [all...] |
/linux-master/drivers/infiniband/hw/mlx5/ |
H A D | mr.c | 148 unsigned long tmp = ent->mkeys_queue.ci % NUM_MKEYS_PER_PAGE; 152 if (ent->mkeys_queue.ci >= 165 ent->mkeys_queue.ci++; 171 unsigned long tmp = (ent->mkeys_queue.ci - 1) % NUM_MKEYS_PER_PAGE; 180 ent->mkeys_queue.ci--; 329 if (!ent->mkeys_queue.ci) 348 if (target == ent->pending + ent->mkeys_queue.ci) 350 if (target > ent->pending + ent->mkeys_queue.ci) { 351 u32 todo = target - (ent->pending + ent->mkeys_queue.ci); 415 ent->mkeys_queue.ci [all...] |
/linux-master/drivers/infiniband/hw/erdma/ |
H A D | erdma_verbs.h | 243 u32 ci; member in struct:erdma_kcq_info
|
H A D | erdma.h | 29 u16 ci; member in struct:erdma_eq 46 u16 ci; member in struct:erdma_cmdq_sq 61 u32 ci; member in struct:erdma_cmdq_cq
|
/linux-master/drivers/atm/ |
H A D | eni.c | 2021 struct atm_cirange ci; local 2023 if (copy_from_user(&ci, arg,sizeof(struct atm_cirange))) 2025 if ((ci.vpi_bits == 0 || ci.vpi_bits == ATM_CI_MAX) && 2026 (ci.vci_bits == NR_VCI_LD || ci.vpi_bits == ATM_CI_MAX))
|
H A D | atmtcp.c | 159 struct atm_cirange ci; local 165 if (copy_from_user(&ci, arg,sizeof(ci))) return -EFAULT; 166 if (ci.vpi_bits == ATM_CI_MAX) ci.vpi_bits = MAX_VPI_BITS; 167 if (ci.vci_bits == ATM_CI_MAX) ci.vci_bits = MAX_VCI_BITS; 168 if (ci.vpi_bits > MAX_VPI_BITS || ci.vpi_bits < 0 || 169 ci [all...] |
/linux-master/fs/ocfs2/ |
H A D | ocfs2_trace.h | 2686 TP_PROTO(unsigned long long block, void *ci), 2687 TP_ARGS(block, ci), 2690 __field(void *, ci) 2694 __entry->ci = ci; 2696 TP_printk("%llu %p", __entry->block, __entry->ci) 2700 TP_PROTO(void *ci, unsigned long long block, 2702 TP_ARGS(ci, block, nr, flags), 2704 __field(void *, ci) 2710 __entry->ci [all...] |
H A D | alloc.c | 429 struct ocfs2_caching_info *ci, 437 et->et_ci = ci; 452 struct ocfs2_caching_info *ci, 455 __ocfs2_init_extent_tree(et, ci, bh, ocfs2_journal_access_di, 460 struct ocfs2_caching_info *ci, 463 __ocfs2_init_extent_tree(et, ci, bh, ocfs2_journal_access_xb, 468 struct ocfs2_caching_info *ci, 471 __ocfs2_init_extent_tree(et, ci, vb->vb_bh, vb->vb_access, vb, 476 struct ocfs2_caching_info *ci, 479 __ocfs2_init_extent_tree(et, ci, b 428 __ocfs2_init_extent_tree(struct ocfs2_extent_tree *et, struct ocfs2_caching_info *ci, struct buffer_head *bh, ocfs2_journal_access_func access, void *obj, const struct ocfs2_extent_tree_operations *ops) argument 451 ocfs2_init_dinode_extent_tree(struct ocfs2_extent_tree *et, struct ocfs2_caching_info *ci, struct buffer_head *bh) argument 459 ocfs2_init_xattr_tree_extent_tree(struct ocfs2_extent_tree *et, struct ocfs2_caching_info *ci, struct buffer_head *bh) argument 467 ocfs2_init_xattr_value_extent_tree(struct ocfs2_extent_tree *et, struct ocfs2_caching_info *ci, struct ocfs2_xattr_value_buf *vb) argument 475 ocfs2_init_dx_root_extent_tree(struct ocfs2_extent_tree *et, struct ocfs2_caching_info *ci, struct buffer_head *bh) argument 483 ocfs2_init_refcount_extent_tree(struct ocfs2_extent_tree *et, struct ocfs2_caching_info *ci, struct buffer_head *bh) argument 719 ocfs2_path_bh_journal_access(handle_t *handle, struct ocfs2_caching_info *ci, struct ocfs2_path *path, int idx) argument 739 ocfs2_journal_access_path(struct ocfs2_caching_info *ci, handle_t *handle, struct ocfs2_path *path) argument 928 ocfs2_read_extent_block(struct ocfs2_caching_info *ci, u64 eb_blkno, struct buffer_head **bh) argument 1792 __ocfs2_find_path(struct ocfs2_caching_info *ci, struct ocfs2_extent_list *root_el, u32 cpos, path_insert_t *func, void *data) argument 1899 ocfs2_find_path(struct ocfs2_caching_info *ci, struct ocfs2_path *path, u32 cpos) argument 1931 ocfs2_find_leaf(struct ocfs2_caching_info *ci, struct ocfs2_extent_list *root_el, u32 cpos, struct buffer_head **leaf_bh) argument [all...] |
/linux-master/fs/nfsd/ |
H A D | nfs4recover.c | 807 const struct cld_clntinfo __user *ci; local 809 ci = &cmsg->cm_u.cm_clntinfo; 810 if (get_user(namelen, &ci->cc_name.cn_len)) 812 name.data = memdup_user(&ci->cc_name.cn_id, namelen); 816 get_user(princhashlen, &ci->cc_princhash.cp_len); 819 &ci->cc_princhash.cp_data,
|
/linux-master/drivers/s390/crypto/ |
H A D | zcrypt_cex4.c | 83 struct cca_info ci; local 86 memset(&ci, 0, sizeof(ci)); 89 cca_get_info(ac->id, ap_domain_index, &ci, zc->online); 91 return sysfs_emit(buf, "%s\n", ci.serial); 115 struct cca_info ci; local 119 memset(&ci, 0, sizeof(ci)); 123 &ci, zq->online); 125 if (ci 214 struct ep11_card_info ci; local 235 struct ep11_card_info ci; local 258 struct ep11_card_info ci; local 296 struct ep11_card_info ci; local [all...] |
/linux-master/drivers/scsi/be2iscsi/ |
H A D | be_main.c | 1504 u16 cid, code, ci, cri; local 1521 ci = AMAP_GET_BITS(struct amap_i_t_dpdu_cqe, 1528 ci = AMAP_GET_BITS(struct amap_i_t_dpdu_cqe_v2, 1547 pasync_handle = pasync_ctx->async_entry[ci].header; 1554 pasync_handle = pasync_ctx->async_entry[ci].data; 1562 pasync_handle->index != ci) { 1563 /* driver bug - if ci does not match async handle index */ 1566 "BM_%d : cid %u async PDU handle mismatch - addr in %cQE %llx at %u:addr in CQE %llx ci %u\n", 1570 phys_addr.u.a64.address, ci); 1585 "BM_%d : cid %d async PDU handle in use - code %d ci [all...] |
/linux-master/fs/ceph/ |
H A D | xattr.c | 18 static int __remove_xattr(struct ceph_inode_info *ci, 36 ssize_t (*getxattr_cb)(struct ceph_inode_info *ci, char *val, 38 bool (*exists_cb)(struct ceph_inode_info *ci); 49 static bool ceph_vxattrcb_layout_exists(struct ceph_inode_info *ci) argument 51 struct ceph_file_layout *fl = &ci->i_layout; 57 static ssize_t ceph_vxattrcb_layout(struct ceph_inode_info *ci, char *val, argument 60 struct ceph_fs_client *fsc = ceph_sb_to_fs_client(ci->netfs.inode.i_sb); 64 s64 pool = ci->i_layout.pool_id; 71 pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); 73 doutc(cl, "%p\n", &ci 143 ceph_vxattrcb_layout_stripe_unit(struct ceph_inode_info *ci, char *val, size_t size) argument 149 ceph_vxattrcb_layout_stripe_count(struct ceph_inode_info *ci, char *val, size_t size) argument 155 ceph_vxattrcb_layout_object_size(struct ceph_inode_info *ci, char *val, size_t size) argument 161 ceph_vxattrcb_layout_pool(struct ceph_inode_info *ci, char *val, size_t size) argument 183 ceph_vxattrcb_layout_pool_namespace(struct ceph_inode_info *ci, char *val, size_t size) argument 200 ceph_vxattrcb_dir_entries(struct ceph_inode_info *ci, char *val, size_t size) argument 206 ceph_vxattrcb_dir_files(struct ceph_inode_info *ci, char *val, size_t size) argument 212 ceph_vxattrcb_dir_subdirs(struct ceph_inode_info *ci, char *val, size_t size) argument 218 ceph_vxattrcb_dir_rentries(struct ceph_inode_info *ci, char *val, size_t size) argument 225 ceph_vxattrcb_dir_rfiles(struct ceph_inode_info *ci, char *val, size_t size) argument 231 ceph_vxattrcb_dir_rsubdirs(struct ceph_inode_info *ci, char *val, size_t size) argument 237 ceph_vxattrcb_dir_rsnaps(struct ceph_inode_info *ci, char *val, size_t size) argument 243 ceph_vxattrcb_dir_rbytes(struct ceph_inode_info *ci, char *val, size_t size) argument 249 ceph_vxattrcb_dir_rctime(struct ceph_inode_info *ci, char *val, size_t size) argument 257 ceph_vxattrcb_dir_pin_exists(struct ceph_inode_info *ci) argument 262 ceph_vxattrcb_dir_pin(struct ceph_inode_info *ci, char *val, size_t size) argument 269 ceph_vxattrcb_quota_exists(struct ceph_inode_info *ci) argument 282 ceph_vxattrcb_quota(struct ceph_inode_info *ci, char *val, size_t size) argument 289 ceph_vxattrcb_quota_max_bytes(struct ceph_inode_info *ci, char *val, size_t size) argument 295 ceph_vxattrcb_quota_max_files(struct ceph_inode_info *ci, char *val, size_t size) argument 302 ceph_vxattrcb_snap_btime_exists(struct ceph_inode_info *ci) argument 307 ceph_vxattrcb_snap_btime(struct ceph_inode_info *ci, char *val, size_t size) argument 314 ceph_vxattrcb_cluster_fsid(struct ceph_inode_info *ci, char *val, size_t size) argument 322 ceph_vxattrcb_client_id(struct ceph_inode_info *ci, char *val, size_t size) argument 331 ceph_vxattrcb_caps(struct ceph_inode_info *ci, char *val, size_t size) argument 344 ceph_vxattrcb_auth_mds(struct ceph_inode_info *ci, char *val, size_t size) argument 357 ceph_vxattrcb_fscrypt_auth_exists(struct ceph_inode_info *ci) argument 362 ceph_vxattrcb_fscrypt_auth(struct ceph_inode_info *ci, char *val, size_t size) argument 568 __set_xattr(struct ceph_inode_info *ci, const char *name, int name_len, const char *val, int val_len, int flags, int update_xattr, struct ceph_inode_xattr **newxattr) argument 671 __get_xattr(struct ceph_inode_info *ci, const char *name) argument 718 __remove_xattr(struct ceph_inode_info *ci, struct ceph_inode_xattr *xattr) argument 739 __copy_xattr_names(struct ceph_inode_info *ci, char *dest) argument 764 __ceph_destroy_xattrs(struct ceph_inode_info *ci) argument 801 struct ceph_inode_info *ci = ceph_inode(inode); variable in typeref:struct:ceph_inode_info 880 __get_required_blob_size(struct ceph_inode_info *ci, int name_size, int val_size) argument 907 __ceph_build_xattrs_blob(struct ceph_inode_info *ci) argument 975 struct ceph_inode_info *ci = ceph_inode(inode); local 1069 struct ceph_inode_info *ci = ceph_inode(inode); local 1113 struct ceph_inode_info *ci = ceph_inode(inode); local 1182 struct ceph_inode_info *ci = ceph_inode(inode); local 1363 struct ceph_inode_info *ci; local [all...] |
H A D | snap.c | 530 static void ceph_queue_cap_snap(struct ceph_inode_info *ci, argument 533 struct inode *inode = &ci->netfs.inode; 540 spin_lock(&ci->i_ceph_lock); 541 used = __ceph_caps_used(ci); 542 dirty = __ceph_caps_dirty(ci); 544 old_snapc = ci->i_head_snapc; 545 new_snapc = ci->i_snap_realm->cached_context; 555 if (__ceph_have_pending_cap_snap(ci)) { 564 if (ci->i_wrbuffer_ref_head == 0 && 586 ci 662 __ceph_finish_cap_snap(struct ceph_inode_info *ci, struct ceph_cap_snap *capsnap) argument 726 struct ceph_inode_info *ci; local 945 struct ceph_inode_info *ci; local 979 struct ceph_inode_info *ci = ceph_inode(inode); local 1090 struct ceph_inode_info *ci; local [all...] |
H A D | ioctl.c | 20 struct ceph_inode_info *ci = ceph_inode(file_inode(file)); local 26 l.stripe_unit = ci->i_layout.stripe_unit; 27 l.stripe_count = ci->i_layout.stripe_count; 28 l.object_size = ci->i_layout.object_size; 29 l.data_pool = ci->i_layout.pool_id; 71 struct ceph_inode_info *ci = ceph_inode(file_inode(file)); local 87 nl.stripe_count = ci->i_layout.stripe_count; 91 nl.stripe_unit = ci->i_layout.stripe_unit; 95 nl.object_size = ci->i_layout.object_size; 99 nl.data_pool = ci 184 struct ceph_inode_info *ci = ceph_inode(inode); local 246 struct ceph_inode_info *ci = ceph_inode(inode); local 298 struct ceph_inode_info *ci = ceph_inode(inode); local [all...] |
H A D | debugfs.c | 253 struct ceph_inode_info *ci = ceph_inode(inode); local 257 spin_lock(&ci->i_ceph_lock); 258 cap = __get_cap_for_mds(ci, mds); 264 spin_unlock(&ci->i_ceph_lock);
|
H A D | crypto.c | 73 struct ceph_inode_info *ci = ceph_inode(inode); local 74 struct ceph_fscrypt_auth *cfa = (struct ceph_fscrypt_auth *)ci->fscrypt_auth; 78 if (!cfa || (ci->fscrypt_auth_len < (offsetof(struct ceph_fscrypt_auth, cfa_blob) + 1))) 125 struct ceph_inode_info *ci = ceph_inode(inode); local 127 return ci->i_rsubdirs + ci->i_rfiles == 1; 158 struct ceph_inode_info *ci = ceph_inode(inode); local 178 WARN_ON_ONCE(ci->fscrypt_auth); 179 kfree(ci->fscrypt_auth); 180 ci 596 struct ceph_inode_info *ci = ceph_inode(inode); local [all...] |
H A D | cache.c | 17 struct ceph_inode_info *ci = ceph_inode(inode); local 32 WARN_ON_ONCE(ci->netfs.cache); 34 ci->netfs.cache = 36 &ci->i_vino, sizeof(ci->i_vino), 37 &ci->i_version, sizeof(ci->i_version), 39 if (ci->netfs.cache) 43 void ceph_fscache_unregister_inode_cookie(struct ceph_inode_info *ci) argument 45 fscache_relinquish_cookie(ceph_fscache_cookie(ci), fals 50 struct ceph_inode_info *ci = ceph_inode(inode); local 57 struct ceph_inode_info *ci = ceph_inode(inode); local 71 struct ceph_inode_info *ci = ceph_inode(inode); local 79 struct ceph_inode_info *ci = ceph_inode(inode); local [all...] |
H A D | acl.c | 23 struct ceph_inode_info *ci = ceph_inode(inode); local 25 spin_lock(&ci->i_ceph_lock); 26 if (__ceph_caps_issued_mask_metric(ci, CEPH_CAP_XATTR_SHARED, 0)) 30 spin_unlock(&ci->i_ceph_lock);
|
/linux-master/arch/riscv/kernel/ |
H A D | cpu.c | 146 struct riscv_cpuinfo *ci = per_cpu_ptr(&riscv_cpuinfo, cpu_id); local 148 return ci->mvendorid; 154 struct riscv_cpuinfo *ci = per_cpu_ptr(&riscv_cpuinfo, cpu_id); local 156 return ci->marchid; 162 struct riscv_cpuinfo *ci = per_cpu_ptr(&riscv_cpuinfo, cpu_id); local 164 return ci->mimpid; 170 struct riscv_cpuinfo *ci = this_cpu_ptr(&riscv_cpuinfo); local 173 ci->mvendorid = sbi_spec_is_0_1() ? 0 : sbi_get_mvendorid(); 174 ci->marchid = sbi_spec_is_0_1() ? 0 : sbi_get_marchid(); 175 ci 273 struct riscv_cpuinfo *ci = per_cpu_ptr(&riscv_cpuinfo, cpu_id); local [all...] |
/linux-master/arch/s390/kernel/ |
H A D | perf_event.c | 154 struct cpumf_ctr_info ci; local 156 memset(&ci, 0, sizeof(ci)); 157 if (qctri(&ci)) 161 "authorization=%04x\n", ci.cfvn, ci.csvn, ci.auth_ctl);
|
/linux-master/tools/perf/tests/shell/ |
H A D | test_intel_pt.sh | 417 decode_err_cnt=$(perf script -i "${perfdatafile}" --itrace=e-o-l | grep -ci error)
|
/linux-master/include/linux/usb/ |
H A D | chipidea.h | 20 * @ci: driver state of the chipidea device 29 struct ci_hdrc *ci; member in struct:ci_hdrc_cable 74 int (*notify_event) (struct ci_hdrc *ci, unsigned event); 96 int (*hub_control)(struct ci_hdrc *ci, u16 typeReq, u16 wValue, 99 void (*enter_lpm)(struct ci_hdrc *ci, bool enable); 105 /* Add ci hdrc device */ 109 /* Remove ci hdrc device */
|
/linux-master/drivers/usb/chipidea/ |
H A D | host.c | 20 #include "ci.h" 42 struct ci_hdrc *ci = dev_get_drvdata(dev); local 65 if (ci->platdata->flags & CI_HDRC_PHY_VBUS_CONTROL) { 67 usb_phy_vbus_on(ci->usb_phy); 69 usb_phy_vbus_off(ci->usb_phy); 72 if (enable && (ci->platdata->phy_mode == USBPHY_INTERFACE_MODE_HSIC)) { 77 hw_port_test_set(ci, 5); 78 hw_port_test_set(ci, 0); 86 struct ci_hdrc *ci = dev_get_drvdata(dev); local 96 if (ci 114 host_irq(struct ci_hdrc *ci) argument 119 host_start(struct ci_hdrc *ci) argument 208 host_stop(struct ci_hdrc *ci) argument 233 ci_hdrc_host_destroy(struct ci_hdrc *ci) argument 257 struct ci_hdrc *ci = dev_get_drvdata(dev); local 333 struct ci_hdrc *ci = dev_get_drvdata(dev); local 456 ci_hdrc_host_suspend(struct ci_hdrc *ci) argument 461 ci_hdrc_host_resume(struct ci_hdrc *ci, bool power_lost) argument 467 ci_hdrc_host_init(struct ci_hdrc *ci) argument [all...] |
H A D | otg.c | 19 #include "ci.h" 26 * @ci: the controller 29 u32 hw_read_otgsc(struct ci_hdrc *ci, u32 mask) argument 32 u32 val = hw_read(ci, OP_OTGSC, mask); 38 cable = &ci->platdata->vbus_extcon; 39 if (!IS_ERR(cable->edev) || ci->role_switch) { 56 cable = &ci->platdata->id_extcon; 57 if (!IS_ERR(cable->edev) || ci->role_switch) { 79 * @ci: the controller 83 void hw_write_otgsc(struct ci_hdrc *ci, u3 argument 122 ci_otg_role(struct ci_hdrc *ci) argument 131 ci_handle_vbus_change(struct ci_hdrc *ci) argument 154 hw_wait_vbus_lower_bsv(struct ci_hdrc *ci) argument 171 ci_handle_id_switch(struct ci_hdrc *ci) argument 214 struct ci_hdrc *ci = container_of(work, struct ci_hdrc, work); local 243 ci_hdrc_otg_init(struct ci_hdrc *ci) argument 262 ci_hdrc_otg_destroy(struct ci_hdrc *ci) argument [all...] |
H A D | ci_hdrc_tegra.c | 24 #include "ci.h" 153 static int tegra_usb_notify_event(struct ci_hdrc *ci, unsigned int event) argument 155 struct tegra_usb *usb = dev_get_drvdata(ci->dev->parent); 160 if (ci->hcd) { 161 ehci = hcd_to_ehci(ci->hcd); 235 static int tegra_ehci_hub_control(struct ci_hdrc *ci, u16 typeReq, u16 wValue, argument 239 struct tegra_usb *usb = dev_get_drvdata(ci->dev->parent); 240 struct ehci_hcd *ehci = hcd_to_ehci(ci->hcd); 260 static void tegra_usb_enter_lpm(struct ci_hdrc *ci, bool enable) argument 272 usb_phy_set_suspend(ci [all...] |