/linux-6.3-rc2/tools/perf/arch/x86/util/ |
A D | machine.c | 28 if (mi->cnt >= mi->max_cnt) { in add_extra_kernel_map() 32 mi->max_cnt = mi->max_cnt ? mi->max_cnt * 2 : 32; in add_extra_kernel_map() 34 buf = realloc(mi->maps, sz); in add_extra_kernel_map() 37 mi->maps = buf; in add_extra_kernel_map() 40 mi->maps[mi->cnt].start = start; in add_extra_kernel_map() 41 mi->maps[mi->cnt].end = end; in add_extra_kernel_map() 42 mi->maps[mi->cnt].pgoff = pgoff; in add_extra_kernel_map() 43 strlcpy(mi->maps[mi->cnt].name, name, KMAP_NAME_LEN); in add_extra_kernel_map() 45 mi->cnt += 1; in add_extra_kernel_map() 87 if (!mi.entry_trampoline) in machine__create_extra_kernel_maps() [all …]
|
/linux-6.3-rc2/net/mac80211/ |
A D | rc80211_minstrel_ht.c | 1071 mi->avg_ampdu_len = minstrel_ewma(mi->avg_ampdu_len, in minstrel_ht_update_stats() 1072 MINSTREL_FRAC(mi->ampdu_len, mi->ampdu_packets), in minstrel_ht_update_stats() 1357 rate = minstrel_get_ratestats(mi, mi->max_tp_rate[0]); in minstrel_ht_tx_status() 1360 minstrel_downgrade_rate(mi, &mi->max_tp_rate[0], true); in minstrel_ht_tx_status() 1364 rate2 = minstrel_get_ratestats(mi, mi->max_tp_rate[1]); in minstrel_ht_tx_status() 1367 minstrel_downgrade_rate(mi, &mi->max_tp_rate[1], false); in minstrel_ht_tx_status() 1532 (minstrel_ht_get_prob_avg(mi, mi->max_tp_rate[0]) < in minstrel_ht_get_max_amsdu_len() 1565 minstrel_ht_set_rate(mp, mi, rates, i, mi->max_tp_rate[i]); in minstrel_ht_update_rates() 1723 memset(mi, 0, sizeof(*mi)); in minstrel_ht_update_caps() 1725 mi->sta = sta; in minstrel_ht_update_caps() [all …]
|
A D | rc80211_minstrel_ht_debugfs.c | 56 if (!mi->supported[i]) in minstrel_ht_stats_dump() 74 if (!(mi->supported[i] & BIT(j))) in minstrel_ht_stats_dump() 173 max(0, (int) mi->total_packets - (int) mi->sample_packets), in minstrel_ht_stats_open() 174 mi->sample_packets); in minstrel_ht_stats_open() 175 if (mi->avg_ampdu_len) in minstrel_ht_stats_open() 177 MINSTREL_TRUNC(mi->avg_ampdu_len), in minstrel_ht_stats_open() 202 if (!mi->supported[i]) in minstrel_ht_stats_csv_dump() 220 if (!(mi->supported[i] & BIT(j))) in minstrel_ht_stats_csv_dump() 283 max(0, (int) mi->total_packets - in minstrel_ht_stats_csv_dump() 284 (int) mi->sample_packets), in minstrel_ht_stats_csv_dump() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | mapping.c | 57 mi = kzalloc(sizeof(*mi) + ctx->data_size, GFP_KERNEL); in mapping_add() 58 if (!mi) in mapping_add() 64 err = xa_alloc(&ctx->xarray, &mi->id, mi, XA_LIMIT(1, ctx->max_id), in mapping_add() 69 ++mi->cnt; in mapping_add() 70 *id = mi->id; in mapping_add() 77 hash_del(&mi->node); in mapping_add() 78 kfree(mi); in mapping_add() 89 kfree_rcu(mi, rcu); in mapping_remove_and_free() 117 if (!mi) in mapping_remove() 121 if (--mi->cnt > 0) in mapping_remove() [all …]
|
/linux-6.3-rc2/fs/ntfs3/ |
A D | record.c | 91 *mi = m; in mi_get() 97 mi_clear(mi); in mi_put() 98 kfree(mi); in mi_put() 103 mi->sbi = sbi; in mi_init() 104 mi->rno = rno; in mi_init() 106 if (!mi->mrec) in mi_init() 334 if (!mi->dirty) in mi_write() 337 sbi = mi->sbi; in mi_write() 338 rec = mi->mrec; in mi_write() 364 rec = mi->mrec; in mi_format_new() [all …]
|
A D | frecord.c | 36 return mi; in ni_ins_mi() 60 ni_ins_mi(ni, &ni->mi_tree, mi->rno, &mi->node); in ni_add_mi() 155 if (mi) in ni_load_mi_ex() 169 *mi = &ni->mi; in ni_load_mi() 175 *mi = &ni->mi; in ni_load_mi() 198 if (mi) in ni_find_attr() 199 *mi = &ni->mi; in ni_find_attr() 234 if (mi) in ni_find_attr() 256 if (mi) in ni_enum_attr_ex() 257 *mi = &ni->mi; in ni_enum_attr_ex() [all …]
|
A D | attrib.c | 81 err = run_unpack_ex(run, ni->mi.sbi, ni->mi.rno, svcn, evcn, in attr_load_runs() 245 sbi = mi->sbi; in attr_make_nonresident() 476 mi = mi_b; in attr_set_size() 483 &mi); in attr_set_size() 772 mi = mi_b; in attr_set_size() 844 mi = mi_b; in attr_set_size() 951 mi = mi_b; in attr_data_get_block() 955 &mi); in attr_data_get_block() 1646 mi = mi_b; in attr_allocate_frame() 1917 mi = mi_b; in attr_collapse_range() [all …]
|
A D | ntfs_fs.h | 515 struct mft_inode **mi); 520 struct mft_inode **mi); 523 struct mft_inode **mi); 549 struct mft_inode **mi, 552 struct mft_inode **mi, 765 if (ref->seq != mi->mrec->seq) in mi_is_ref() 777 ref->low = cpu_to_le32(mi->rno); in mi_get_ref() 783 ref->seq = mi->mrec->seq; in mi_get_ref() 1117 nb_put(&mi->nb); in mi_clear() 1118 kfree(mi->mrec); in mi_clear() [all …]
|
/linux-6.3-rc2/arch/x86/mm/ |
A D | numa.c | 144 mi->blk[mi->nr_blks].start = start; in numa_add_memblk_to() 145 mi->blk[mi->nr_blks].end = end; in numa_add_memblk_to() 146 mi->blk[mi->nr_blks].nid = nid; in numa_add_memblk_to() 147 mi->nr_blks++; in numa_add_memblk_to() 161 mi->nr_blks--; in numa_remove_memblk_from() 162 memmove(&mi->blk[idx], &mi->blk[idx + 1], in numa_remove_memblk_from() 163 (mi->nr_blks - idx) * sizeof(mi->blk[0])); in numa_remove_memblk_from() 324 for (i = mi->nr_blks; i < ARRAY_SIZE(mi->blk); i++) { in numa_cleanup_meminfo() 325 mi->blk[i].start = mi->blk[i].end = 0; in numa_cleanup_meminfo() 341 if (mi->blk[i].start != mi->blk[i].end && in numa_nodemask_from_meminfo() [all …]
|
/linux-6.3-rc2/arch/x86/boot/ |
A D | video-mode.c | 55 struct mode_info *mi; in mode_defined() local 59 mi = card->modes; in mode_defined() 60 for (i = 0; i < card->nmodes; i++, mi++) { in mode_defined() 61 if (mi->mode == mode) in mode_defined() 74 struct mode_info *mi; in raw_set_mode() local 82 mi = card->modes; in raw_set_mode() 84 int visible = mi->x || mi->y; in raw_set_mode() 87 mode == mi->mode || in raw_set_mode() 88 mode == (mi->y << 8)+mi->x) { in raw_set_mode() 89 *real_mode = mi->mode; in raw_set_mode() [all …]
|
A D | video-bios.c | 24 static int bios_set_mode(struct mode_info *mi) in bios_set_mode() argument 26 return set_bios_mode(mi->mode - VIDEO_FIRST_BIOS); in bios_set_mode() 70 struct mode_info *mi; in bios_probe() local 105 mi = GET_HEAP(struct mode_info, 1); in bios_probe() 106 mi->mode = VIDEO_FIRST_BIOS+mode; in bios_probe() 107 mi->depth = 0; /* text */ in bios_probe() 108 mi->x = rdfs16(0x44a); in bios_probe() 109 mi->y = rdfs8(0x484)+1; in bios_probe()
|
A D | video.c | 140 struct mode_info *mi; in display_menu() local 162 mi = card->modes; in display_menu() 163 for (i = 0; i < card->nmodes; i++, mi++) { in display_menu() 165 int visible = mi->x && mi->y; in display_menu() 166 u16 mode_id = mi->mode ? mi->mode : in display_menu() 167 (mi->y << 8)+mi->x; in display_menu() 172 if (mi->depth) in display_menu() 173 sprintf(resbuf, "%dx%d", mi->y, mi->depth); in display_menu() 175 sprintf(resbuf, "%d", mi->y); in display_menu() 178 ch, mode_id, mi->x, resbuf, card->card_name); in display_menu()
|
A D | video-vesa.c | 36 struct mode_info *mi; in vesa_probe() local 76 mi = GET_HEAP(struct mode_info, 1); in vesa_probe() 77 mi->mode = mode + VIDEO_FIRST_VESA; in vesa_probe() 78 mi->depth = 0; /* text */ in vesa_probe() 79 mi->x = vminfo.h_res; in vesa_probe() 80 mi->y = vminfo.v_res; in vesa_probe() 91 mi = GET_HEAP(struct mode_info, 1); in vesa_probe() 92 mi->mode = mode + VIDEO_FIRST_VESA; in vesa_probe() 93 mi->depth = vminfo.bpp; in vesa_probe() 94 mi->x = vminfo.h_res; in vesa_probe() [all …]
|
/linux-6.3-rc2/include/net/tc_act/ |
A D | tc_ife.h | 44 int (*get)(struct sk_buff *skb, struct tcf_meta_info *mi); 53 int ife_get_meta_u32(struct sk_buff *skb, struct tcf_meta_info *mi); 54 int ife_get_meta_u16(struct sk_buff *skb, struct tcf_meta_info *mi); 55 int ife_alloc_meta_u32(struct tcf_meta_info *mi, void *metaval, gfp_t gfp); 56 int ife_alloc_meta_u16(struct tcf_meta_info *mi, void *metaval, gfp_t gfp); 57 int ife_check_meta_u32(u32 metaval, struct tcf_meta_info *mi); 58 int ife_check_meta_u16(u16 metaval, struct tcf_meta_info *mi); 59 int ife_encode_meta_u32(u32 metaval, void *skbdata, struct tcf_meta_info *mi); 62 int ife_encode_meta_u16(u16 metaval, void *skbdata, struct tcf_meta_info *mi); 63 void ife_release_meta_gen(struct tcf_meta_info *mi);
|
/linux-6.3-rc2/net/sched/ |
A D | act_ife.c | 48 if (mi->metaval) in ife_encode_meta_u16() 63 if (mi->metaval) in ife_get_meta_u32() 64 return nla_put_u32(skb, mi->metaid, *(u32 *)mi->metaval); in ife_get_meta_u32() 92 if (mi->metaval) in ife_encode_meta_u32() 107 if (mi->metaval) in ife_get_meta_u16() 108 return nla_put_u16(skb, mi->metaid, *(u16 *)mi->metaval); in ife_get_meta_u16() 117 if (!mi->metaval) in ife_alloc_meta_u32() 302 mi = kzalloc(sizeof(*mi), atomic ? GFP_ATOMIC : GFP_KERNEL); in __add_metainfo() 303 if (!mi) in __add_metainfo() 307 mi->ops = ops; in __add_metainfo() [all …]
|
/linux-6.3-rc2/fs/nilfs2/ |
A D | mdt.c | 449 struct nilfs_mdt_info *mi; in nilfs_mdt_init() local 451 mi = kzalloc(max(sizeof(*mi), objsz), GFP_NOFS); in nilfs_mdt_init() 452 if (!mi) in nilfs_mdt_init() 455 init_rwsem(&mi->mi_sem); in nilfs_mdt_init() 456 inode->i_private = mi; in nilfs_mdt_init() 529 mi->mi_shadow = shadow; in nilfs_mdt_setup_shadow_map() 633 down_write(&mi->mi_sem); in nilfs_mdt_restore_from_shadow_map() 635 if (mi->mi_palloc_cache) in nilfs_mdt_restore_from_shadow_map() 647 up_write(&mi->mi_sem); in nilfs_mdt_restore_from_shadow_map() 660 down_write(&mi->mi_sem); in nilfs_mdt_clear_shadow_map() [all …]
|
/linux-6.3-rc2/drivers/crypto/allwinner/sun4i-ss/ |
A D | sun4i-ss-hash.c | 199 struct sg_mapping_iter mi; in sun4i_hash() local 274 sg_miter_next(&mi); in sun4i_hash() 283 if (op->len || (mi.length - in_i) < 4) { in sun4i_hash() 297 if (in_i == mi.length) { in sun4i_hash() 298 sg_miter_next(&mi); in sun4i_hash() 310 if (mi.length - in_i > 3 && i < end) { in sun4i_hash() 325 if (in_i == mi.length) { in sun4i_hash() 326 sg_miter_next(&mi); in sun4i_hash() 345 if (in_i == mi.length) { in sun4i_hash() 346 sg_miter_next(&mi); in sun4i_hash() [all …]
|
A D | sun4i-ss-cipher.c | 35 struct sg_mapping_iter mi, mo; in sun4i_ss_opti_poll() local 83 sg_miter_skip(&mi, pi); in sun4i_ss_opti_poll() 85 if (!miter_err || !mi.addr) { in sun4i_ss_opti_poll() 97 if (oi == mi.length) { in sun4i_ss_opti_poll() 98 pi += mi.length; in sun4i_ss_opti_poll() 101 sg_miter_stop(&mi); in sun4i_ss_opti_poll() 199 struct sg_mapping_iter mi, mo; in sun4i_ss_cipher_poll() local 275 sg_miter_skip(&mi, pi); in sun4i_ss_cipher_poll() 313 if (oi == mi.length) { in sun4i_ss_cipher_poll() 314 pi += mi.length; in sun4i_ss_cipher_poll() [all …]
|
/linux-6.3-rc2/drivers/cxl/core/ |
A D | regs.c | 215 struct mapinfo *mi = &mapinfo[i]; in cxl_map_component_regs() local 219 if (!mi->rmap->valid) in cxl_map_component_regs() 221 if (!test_bit(mi->rmap->id, &map_mask)) in cxl_map_component_regs() 223 phys_addr = map->resource + mi->rmap->offset; in cxl_map_component_regs() 224 length = mi->rmap->size; in cxl_map_component_regs() 226 if (!*(mi->addr)) in cxl_map_component_regs() 250 struct mapinfo *mi = &mapinfo[i]; in cxl_map_device_regs() local 254 if (!mi->rmap->valid) in cxl_map_device_regs() 257 addr = phys_addr + mi->rmap->offset; in cxl_map_device_regs() 258 length = mi->rmap->size; in cxl_map_device_regs() [all …]
|
/linux-6.3-rc2/arch/loongarch/kernel/ |
A D | numa.c | 184 struct numa_meminfo *mi) in numa_add_memblk_to() argument 197 if (mi->nr_blks >= NR_NODE_MEMBLKS) { in numa_add_memblk_to() 202 mi->blk[mi->nr_blks].start = PFN_ALIGN(start); in numa_add_memblk_to() 203 mi->blk[mi->nr_blks].end = PFN_ALIGN(end - PAGE_SIZE + 1); in numa_add_memblk_to() 204 mi->blk[mi->nr_blks].nid = nid; in numa_add_memblk_to() 205 mi->nr_blks++; in numa_add_memblk_to() 265 static bool __init numa_meminfo_cover_memory(const struct numa_meminfo *mi) in numa_meminfo_cover_memory() argument 271 for (i = 0; i < mi->nr_blks; i++) { in numa_meminfo_cover_memory() 272 u64 s = mi->blk[i].start >> PAGE_SHIFT; in numa_meminfo_cover_memory() 273 u64 e = mi->blk[i].end >> PAGE_SHIFT; in numa_meminfo_cover_memory() [all …]
|
/linux-6.3-rc2/drivers/uio/ |
A D | uio.c | 287 int mi, pi; in uio_dev_add_attributes() local 295 for (mi = 0; mi < MAX_UIO_MAPS; mi++) { in uio_dev_add_attributes() 296 mem = &idev->info->mem[mi]; in uio_dev_add_attributes() 366 mi--; in uio_dev_add_attributes() 368 for (; mi >= 0; mi--) { in uio_dev_add_attributes() 369 mem = &idev->info->mem[mi]; in uio_dev_add_attributes() 676 int mi; in uio_vma_fault() local 685 if (mi < 0) { in uio_vma_fault() 733 if (mi < 0) in uio_mmap_physical() 766 int mi; in uio_mmap() local [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce/ |
A D | dce_mem_input.c | 134 struct mem_input *mi, in dce_mi_program_pte_vm() argument 139 struct dce_mem_input *dce_mi = TO_DCE_MEM_INPUT(mi); in dce_mi_program_pte_vm() 313 struct mem_input *mi, in dce_mi_program_display_marks() argument 320 struct dce_mem_input *dce_mi = TO_DCE_MEM_INPUT(mi); in dce_mi_program_display_marks() 340 struct mem_input *mi, in dce60_mi_program_display_marks() argument 347 struct dce_mem_input *dce_mi = TO_DCE_MEM_INPUT(mi); in dce60_mi_program_display_marks() 373 struct dce_mem_input *dce_mi = TO_DCE_MEM_INPUT(mi); in dce112_mi_program_display_marks() 631 struct mem_input *mi, in dce_mi_program_surface_config() argument 652 struct mem_input *mi, in dce60_mi_program_surface_config() argument 719 struct mem_input *mi, in dce_mi_allocate_dmif() argument [all …]
|
/linux-6.3-rc2/drivers/video/fbdev/mmp/panel/ |
A D | tpo_tj032md01bw.c | 128 struct mmp_mach_panel_info *mi; in tpohvga_probe() local 133 mi = spi->dev.platform_data; in tpohvga_probe() 134 if (mi == NULL) { in tpohvga_probe() 152 plat_data->plat_onoff = mi->plat_set_onoff; in tpohvga_probe() 154 panel_tpohvga.plat_path_name = mi->plat_path_name; in tpohvga_probe()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce60/ |
A D | dce60_hw_sequencer.c | 273 struct mem_input *mi = pipe_ctx->plane_res.mi; in dce60_program_front_end_for_pipe() local 286 dce_enable_fe_clock(dc->hwseq, mi->inst, true); in dce60_program_front_end_for_pipe() 316 mi->funcs->mem_input_program_surface_config( in dce60_program_front_end_for_pipe() 317 mi, in dce60_program_front_end_for_pipe() 324 if (mi->funcs->set_blank) in dce60_program_front_end_for_pipe() 325 mi->funcs->set_blank(mi, pipe_ctx->plane_state->visible); in dce60_program_front_end_for_pipe() 328 mi->funcs->mem_input_program_pte_vm( in dce60_program_front_end_for_pipe() 329 pipe_ctx->plane_res.mi, in dce60_program_front_end_for_pipe() 402 pipe_ctx->plane_res.mi->funcs->allocate_mem_input( in dce60_apply_ctx_for_surface() 403 pipe_ctx->plane_res.mi, in dce60_apply_ctx_for_surface()
|
/linux-6.3-rc2/drivers/video/fbdev/ |
A D | pxa168fb.c | 372 x |= mi->gpio_output_data << 20; in set_dumb_panel_control() 373 x |= mi->gpio_output_mask << 12; in set_dumb_panel_control() 595 struct pxa168fb_mach_info *mi; in pxa168fb_probe() local 602 mi = dev_get_platdata(&pdev->dev); in pxa168fb_probe() 603 if (mi == NULL) { in pxa168fb_probe() 633 fbi->panel_rbswap = mi->panel_rbswap; in pxa168fb_probe() 635 fbi->active = mi->active; in pxa168fb_probe() 643 strscpy(info->fix.id, mi->id, 16); in pxa168fb_probe() 683 set_mode(fbi, &info->var, mi->modes, mi->pix_fmt, 1); in pxa168fb_probe() 685 fb_videomode_to_modelist(mi->modes, mi->num_modes, &info->modelist); in pxa168fb_probe() [all …]
|