/linux/tools/perf/util/ |
H A D | unwind-libdw.c | 45 struct unwind_info *ui) in __report_module() argument 54 thread__find_symbol(ui->thread, PERF_RECORD_MISC_USER, ip, al); in __report_module() 74 mod = dwfl_addrmodule(ui->dwfl, ip); in __report_module() 87 mod = dwfl_report_elf(ui->dwfl, dso__short_name(dso), filename, -1, in __report_module() 94 mod = dwfl_report_elf(ui->dwfl, dso__short_name(dso), filename, -1, in __report_module() 105 return mod && dwfl_addrmodule(ui->dwfl, ip) == mod ? 0 : -1; in __report_module() 108 static int report_module(u64 ip, struct unwind_info *ui) in report_module() argument 114 res = __report_module(&al, ip, ui); in report_module() 123 static int entry(u64 ip, struct unwind_info *ui) in entry() argument 126 struct unwind_entry *e = &ui->entries[ui->idx++]; in entry() [all …]
|
H A D | unwind-libunwind-local.c | 322 static int read_unwind_spec_eh_frame(struct dso *dso, struct unwind_info *ui, in read_unwind_spec_eh_frame() argument 333 fd = dso__data_get_fd(dso, ui->machine); in read_unwind_spec_eh_frame() 347 maps__for_each_map(thread__maps(ui->thread), read_unwind_spec_eh_frame_maps_cb, &args); in read_unwind_spec_eh_frame() 352 ret = unwind_spec_ehframe(dso, ui->machine, dso__data(dso)->eh_frame_hdr_offset, in read_unwind_spec_eh_frame() 435 static struct map *find_map(unw_word_t ip, struct unwind_info *ui) in find_map() argument 441 thread__find_map(ui->thread, PERF_RECORD_MISC_USER, ip, &al); in find_map() 451 struct unwind_info *ui = arg; in find_proc_info() local 458 map = find_map(ip, ui); in find_proc_info() 471 if (!read_unwind_spec_eh_frame(dso, ui, &table_data, &segbase, &fde_count)) { in find_proc_info() 487 !read_unwind_spec_debug_frame(dso, ui->machine, &segbase)) { in find_proc_info() [all …]
|
/linux/drivers/gpu/drm/msm/dsi/phy/ |
H A D | dsi_phy.c | 29 s32 ui, s32 coeff, s32 pcnt) in dsi_dphy_timing_calc_clk_zero() argument 35 temp = 300 * coeff - ((timing->clk_prepare >> 1) + 1) * 2 * ui; in dsi_dphy_timing_calc_clk_zero() 36 tmin = S_DIV_ROUND_UP(temp, ui) - 2; in dsi_dphy_timing_calc_clk_zero() 55 s32 ui, lpx; in msm_dsi_dphy_timing_calc() local 67 ui = mult_frac(NSEC_PER_MSEC, coeff, bit_rate / 1000); in msm_dsi_dphy_timing_calc() 70 tmax = S_DIV_ROUND_UP(95 * coeff, ui) - 2; in msm_dsi_dphy_timing_calc() 71 tmin = S_DIV_ROUND_UP(38 * coeff, ui) - 2; in msm_dsi_dphy_timing_calc() 74 temp = lpx / ui; in msm_dsi_dphy_timing_calc() 81 dsi_dphy_timing_calc_clk_zero(timing, ui, coeff, pcnt2); in msm_dsi_dphy_timing_calc() 83 temp = 105 * coeff + 12 * ui - 20 * coeff; in msm_dsi_dphy_timing_calc() [all …]
|
/linux/drivers/phy/ |
H A D | phy-core-mipi-dphy.c | 26 unsigned long long ui; in phy_mipi_dphy_calc_config() local 36 ui = ALIGN(PSEC_PER_SEC, hs_clk_rate); in phy_mipi_dphy_calc_config() 37 do_div(ui, hs_clk_rate); in phy_mipi_dphy_calc_config() 40 cfg->clk_post = 60000 + 52 * ui; in phy_mipi_dphy_calc_config() 50 cfg->hs_prepare = 40000 + 4 * ui; in phy_mipi_dphy_calc_config() 51 cfg->hs_zero = 105000 + 6 * ui; in phy_mipi_dphy_calc_config() 52 cfg->hs_settle = 85000 + 6 * ui; in phy_mipi_dphy_calc_config() 66 cfg->hs_trail = max(4 * 8 * ui, 60000 + 4 * 4 * ui); in phy_mipi_dphy_calc_config() 109 unsigned long long ui; in phy_mipi_dphy_config_validate() local 114 ui = ALIGN(PSEC_PER_SEC, cfg->hs_clk_rate); in phy_mipi_dphy_config_validate() [all …]
|
/linux/fs/ubifs/ |
H A D | file.c | 285 struct ubifs_inode *ui = ubifs_inode(inode); in write_begin_slow() local 292 mutex_lock(&ui->ui_mutex); in write_begin_slow() 293 if (ui->dirty) in write_begin_slow() 298 ubifs_release_dirty_inode_budget(c, ui); in write_begin_slow() 320 struct ubifs_inode *ui, int appending) in allocate_budget() argument 332 mutex_lock(&ui->ui_mutex); in allocate_budget() 333 if (ui->dirty) in allocate_budget() 369 mutex_lock(&ui->ui_mutex); in allocate_budget() 370 if (!ui->dirty) in allocate_budget() 421 struct ubifs_inode *ui = ubifs_inode(inode); in ubifs_write_begin() local [all …]
|
H A D | super.c | 72 const struct ubifs_inode *ui = ubifs_inode(inode); in validate_inode() local 80 if (ui->compr_type >= UBIFS_COMPR_TYPES_CNT) { in validate_inode() 81 ubifs_err(c, "unknown compression type %d", ui->compr_type); in validate_inode() 85 if (ui->xattr_names + ui->xattr_cnt > XATTR_LIST_MAX) in validate_inode() 88 if (ui->data_len < 0 || ui->data_len > UBIFS_MAX_INO_DATA) in validate_inode() 91 if (ui->xattr && !S_ISREG(inode->i_mode)) in validate_inode() 94 if (!ubifs_compr_present(c, ui->compr_type)) { in validate_inode() 96 inode->i_ino, ubifs_compr_name(c, ui->compr_type)); in validate_inode() 110 struct ubifs_inode *ui; in ubifs_iget() local 119 ui = ubifs_inode(inode); in ubifs_iget() [all …]
|
H A D | xattr.c | 86 struct ubifs_inode *ui, *host_ui = ubifs_inode(host); in create_xattr() local 125 ui = ubifs_inode(inode); in create_xattr() 126 ui->xattr = 1; in create_xattr() 127 ui->flags |= UBIFS_XATTR_FL; in create_xattr() 128 ui->data = kmemdup(value, size, GFP_NOFS); in create_xattr() 129 if (!ui->data) { in create_xattr() 133 inode->i_size = ui->ui_size = size; in create_xattr() 134 ui->data_len = size; in create_xattr() 195 struct ubifs_inode *ui = ubifs_inode(inode); in change_xattr() local 201 ubifs_assert(c, ui->data_len == inode->i_size); in change_xattr() [all …]
|
H A D | ioctl.c | 108 struct ubifs_inode *ui = ubifs_inode(inode); in setflags() local 111 .dirtied_ino_d = ALIGN(ui->data_len, 8) }; in setflags() 117 mutex_lock(&ui->ui_mutex); in setflags() 118 ui->flags &= ~ioctl2ubifs(UBIFS_SETTABLE_IOCTL_FLAGS); in setflags() 119 ui->flags |= ioctl2ubifs(flags); in setflags() 122 release = ui->dirty; in setflags() 124 mutex_unlock(&ui->ui_mutex); in setflags()
|
H A D | journal.c | 577 struct ubifs_inode *ui = ubifs_inode(inode); in pack_inode() local 581 ino->creat_sqnum = cpu_to_le64(ui->creat_sqnum); in pack_inode() 591 ino->flags = cpu_to_le32(ui->flags); in pack_inode() 592 ino->size = cpu_to_le64(ui->ui_size); in pack_inode() 594 ino->compr_type = cpu_to_le16(ui->compr_type); in pack_inode() 595 ino->data_len = cpu_to_le32(ui->data_len); in pack_inode() 596 ino->xattr_cnt = cpu_to_le32(ui->xattr_cnt); in pack_inode() 597 ino->xattr_size = cpu_to_le32(ui->xattr_size); in pack_inode() 598 ino->xattr_names = cpu_to_le32(ui->xattr_names); in pack_inode() 606 memcpy(ino->data, ui->data, ui->data_len); in pack_inode() [all …]
|
H A D | dir.c | 50 const struct ubifs_inode *ui = ubifs_inode(dir); in inherit_flags() local 59 flags = ui->flags & (UBIFS_COMPR_FL | UBIFS_SYNC_FL | UBIFS_DIRSYNC_FL); in inherit_flags() 87 struct ubifs_inode *ui; in ubifs_new_inode() local 91 ui = ubifs_inode(inode); in ubifs_new_inode() 124 inode->i_size = ui->ui_size = UBIFS_INO_NODE_SZ; in ubifs_new_inode() 139 ui->flags = inherit_flags(dir, mode); in ubifs_new_inode() 142 ui->compr_type = c->default_compr; in ubifs_new_inode() 144 ui->compr_type = UBIFS_COMPR_NONE; in ubifs_new_inode() 145 ui->synced_i_size = 0; in ubifs_new_inode() 168 ui->creat_sqnum = ++c->max_sqnum; in ubifs_new_inode() [all …]
|
/linux/arch/parisc/lib/ |
H A D | ucmpdi2.c | 10 } ui; member 18 if (au.ui.high < bu.ui.high) in __ucmpdi2() 20 else if (au.ui.high > bu.ui.high) in __ucmpdi2() 22 if (au.ui.low < bu.ui.low) in __ucmpdi2() 24 else if (au.ui.low > bu.ui.low) in __ucmpdi2()
|
/linux/tools/perf/ui/ |
H A D | Build | 1 perf-ui-y += setup.o 2 perf-ui-y += helpline.o 3 perf-ui-y += progress.o 4 perf-ui-y += util.o 5 perf-ui-y += hist.o 6 perf-ui-y += stdio/hist.o 10 perf-ui-$(CONFIG_SLANG) += browser.o 11 perf-ui-$(CONFIG_SLANG) += browsers/ 12 perf-ui-$(CONFIG_SLANG) += tui/
|
/linux/tools/perf/ui/browsers/ |
H A D | Build | 1 perf-ui-y += annotate.o 2 perf-ui-y += annotate-data.o 3 perf-ui-y += hists.o 4 perf-ui-y += map.o 5 perf-ui-y += scripts.o 6 perf-ui-y += header.o 7 perf-ui-y += res_sample.o
|
/linux/net/bridge/netfilter/ |
H A D | ebt_802_3.c | 27 __be16 type = hdr->llc.ui.ctrl & IS_UI ? hdr->llc.ui.type : hdr->llc.ni.type; in ebt_802_3_mt() 30 if (NF_INVF(info, EBT_802_3_SAP, info->sap != hdr->llc.ui.ssap)) in ebt_802_3_mt() 32 if (NF_INVF(info, EBT_802_3_SAP, info->sap != hdr->llc.ui.dsap)) in ebt_802_3_mt() 37 if (!(hdr->llc.ui.dsap == CHECK_TYPE && hdr->llc.ui.ssap == CHECK_TYPE)) in ebt_802_3_mt()
|
/linux/tools/perf/ui/tui/ |
H A D | Build | 1 perf-ui-y += setup.o 2 perf-ui-y += util.o 3 perf-ui-y += helpline.o 4 perf-ui-y += progress.o
|
/linux/arch/powerpc/platforms/cell/spufs/ |
H A D | spu_save.c | 60 spu_writech(MFC_EAH, lscsa_ea.ui[0]); in save_upper_240kb() 116 spu_writech(MFC_EAH, lscsa_ea.ui[0]); in spill_regs_to_mem() 117 spu_writech(MFC_EAL, lscsa_ea.ui[1]); in spill_regs_to_mem() 158 lscsa_ea.ui[0] = spu_readch(SPU_RdSigNotify1); in main() 159 lscsa_ea.ui[1] = spu_readch(SPU_RdSigNotify2); in main()
|
H A D | spu_utils.h | 16 unsigned int ui[2]; member 88 ea_low = lscsa_ea.ui[1]; in build_dma_list() 111 spu_writech(MFC_EAH, lscsa_ea.ui[0]); in enqueue_putllc() 112 spu_writech(MFC_EAL, lscsa_ea.ui[1]); in enqueue_putllc()
|
H A D | spu_restore.c | 40 spu_writech(MFC_EAH, lscsa_ea.ui[0]); in fetch_regs_from_mem() 41 spu_writech(MFC_EAL, lscsa_ea.ui[1]); in fetch_regs_from_mem() 60 spu_writech(MFC_EAH, lscsa_ea.ui[0]); in restore_upper_240kb() 298 lscsa_ea.ui[0] = spu_readch(SPU_RdSigNotify1); in main() 299 lscsa_ea.ui[1] = spu_readch(SPU_RdSigNotify2); in main()
|
/linux/drivers/gpu/drm/hisilicon/kirin/ |
H A D | dw_drm_dsi.c | 249 u32 ui; in dsi_get_phy_params() local 257 ui = 1000000 / phy_rate_kHz; in dsi_get_phy_params() 259 phy->clk_t_lpx = ROUND(50, 8 * ui); in dsi_get_phy_params() 260 phy->clk_t_hs_prepare = ROUND(133, 16 * ui) - 1; in dsi_get_phy_params() 262 phy->clk_t_hs_zero = ROUND(262, 8 * ui); in dsi_get_phy_params() 263 phy->clk_t_hs_trial = 2 * (ROUND(60, 8 * ui) - 1); in dsi_get_phy_params() 269 phy->data_t_hs_prepare = ROUND(125 + 10 * ui, 16 * ui) - 1; in dsi_get_phy_params() 270 phy->data_t_hs_zero = ROUND(105 + 6 * ui, 8 * ui); in dsi_get_phy_params() 271 phy->data_t_hs_trial = 2 * (ROUND(60 + 4 * ui, 8 * ui) - 1); in dsi_get_phy_params() 276 phy->clklp2hs_time = ROUND(407, 8 * ui) + 12; in dsi_get_phy_params() [all …]
|
/linux/block/partitions/ |
H A D | sgi.c | 42 __be32 *ui, cs; in sgi_partition() local 58 ui = ((__be32 *) (label + 1)) - 1; in sgi_partition() 59 for(csum = 0; ui >= ((__be32 *) label);) { in sgi_partition() 60 cs = *ui--; in sgi_partition()
|
/linux/drivers/media/platform/qcom/camss/ |
H A D | camss-csiphy-2ph-1-0.c | 75 u32 ui; /* ps */ in csiphy_settle_cnt_calc() local 85 ui = div_u64(1000000000000LL, link_freq); in csiphy_settle_cnt_calc() 86 ui /= 2; in csiphy_settle_cnt_calc() 87 t_hs_prepare_max = 85000 + 6 * ui; in csiphy_settle_cnt_calc() 88 t_hs_prepare_zero_min = 145000 + 10 * ui; in csiphy_settle_cnt_calc()
|
/linux/drivers/staging/vt6655/ |
H A D | card.c | 481 unsigned int ui = (unsigned int)wRateIdx; in CARDwGetCCKControlRate() local 483 while (ui > RATE_1M) { in CARDwGetCCKControlRate() 484 if (priv->basic_rates & ((u32)0x1 << ui)) in CARDwGetCCKControlRate() 485 return (unsigned short)ui; in CARDwGetCCKControlRate() 487 ui--; in CARDwGetCCKControlRate() 507 unsigned int ui = (unsigned int)wRateIdx; in CARDwGetOFDMControlRate() local 517 while (ui > RATE_11M) { in CARDwGetOFDMControlRate() 518 if (priv->basic_rates & ((u32)0x1 << ui)) { in CARDwGetOFDMControlRate() 519 pr_debug("%s : %d\n", __func__, ui); in CARDwGetOFDMControlRate() 520 return (unsigned short)ui; in CARDwGetOFDMControlRate() [all …]
|
/linux/fs/f2fs/ |
H A D | sysfs.c | 319 unsigned int *ui; in f2fs_sbi_show() local 399 ui = (unsigned int *)(ptr + a->offset); in f2fs_sbi_show() 401 return sysfs_emit(buf, "%u\n", *ui); in f2fs_sbi_show() 410 unsigned int *ui; in __sbi_store() local 484 ui = (unsigned int *)(ptr + a->offset); in __sbi_store() 510 *ui = t; in __sbi_store() 522 if (t == *ui) in __sbi_store() 524 *ui = t; in __sbi_store() 533 if (t == *ui) in __sbi_store() 535 *ui = t; in __sbi_store() [all …]
|
/linux/drivers/scsi/megaraid/ |
H A D | megaraid_mm.c | 248 adapno = GETADAP(mimd.ui.fcs.adapno); in mraid_mm_get_adapter() 303 opcode = kmimd.ui.fcs.opcode; in handle_drvrcmd() 304 subopcode = kmimd.ui.fcs.subopcode; in handle_drvrcmd() 374 opcode = mimd.ui.fcs.opcode; in mimd_to_kioc() 375 subopcode = mimd.ui.fcs.subopcode; in mimd_to_kioc() 376 adapno = GETADAP(mimd.ui.fcs.adapno); in mimd_to_kioc() 409 kioc->xferlen = mimd.ui.fcs.length; in mimd_to_kioc() 411 kioc->user_data = mimd.ui.fcs.buffer; in mimd_to_kioc() 820 opcode = kmimd.ui.fcs.opcode; in kioc_to_mimd() 821 subopcode = kmimd.ui.fcs.subopcode; in kioc_to_mimd()
|
/linux/tools/perf/arch/arm/util/ |
H A D | unwind-libdw.c | 10 struct unwind_info *ui = arg; in libdw__arch_set_initial_registers() local 11 struct regs_dump *user_regs = &ui->sample->user_regs; in libdw__arch_set_initial_registers()
|