/openbmc/linux/tools/perf/arch/x86/util/ |
H 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 …]
|
/openbmc/linux/net/mac80211/ |
H 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() 1722 memset(mi, 0, sizeof(*mi)); in minstrel_ht_update_caps() 1724 mi->sta = sta; in minstrel_ht_update_caps() [all …]
|
H 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 …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H 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 …]
|
/openbmc/linux/drivers/net/mctp/ |
H A D | mctp-i3c.c | 197 mctp_i3c_read(mi); in mctp_i3c_ibi_handler() 258 mi = kzalloc(sizeof(*mi), GFP_KERNEL); in mctp_i3c_add_device() 259 if (!mi) { in mctp_i3c_add_device() 263 mi->mbus = mbus; in mctp_i3c_add_device() 264 mi->i3c = i3c; in mctp_i3c_add_device() 277 kfree(mi); in mctp_i3c_add_device() 321 kfree(mi); in mctp_i3c_remove_device() 331 if (!mi) in mctp_i3c_remove() 348 ret = mi; in mctp_i3c_lookup() 375 if (!mi) { in mctp_i3c_xmit() [all …]
|
/openbmc/linux/fs/ntfs3/ |
H 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() 381 if (!mi->dirty) in mi_write() 384 sbi = mi->sbi; in mi_write() 385 rec = mi->mrec; in mi_write() 411 rec = mi->mrec; in mi_format_new() [all …]
|
H 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() 157 if (mi) in ni_load_mi_ex() 171 *mi = &ni->mi; in ni_load_mi() 177 *mi = &ni->mi; in ni_load_mi() 200 if (mi) in ni_find_attr() 201 *mi = &ni->mi; in ni_find_attr() 236 if (mi) in ni_find_attr() 259 if (mi) in ni_enum_attr_ex() 260 *mi = &ni->mi; in ni_enum_attr_ex() [all …]
|
H 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() 479 mi = mi_b; in attr_set_size() 486 &mi); in attr_set_size() 775 mi = mi_b; in attr_set_size() 847 mi = mi_b; in attr_set_size() 961 mi = mi_b; in attr_data_get_block() 965 &mi); in attr_data_get_block() 1669 mi = mi_b; in attr_allocate_frame() 1943 mi = mi_b; in attr_collapse_range() [all …]
|
H A D | ntfs_fs.h | 516 struct mft_inode **mi); 521 struct mft_inode **mi); 524 struct mft_inode **mi); 550 struct mft_inode **mi, 553 struct mft_inode **mi, 769 if (ref->seq != mi->mrec->seq) in mi_is_ref() 781 ref->low = cpu_to_le32(mi->rno); in mi_get_ref() 787 ref->seq = mi->mrec->seq; in mi_get_ref() 1112 nb_put(&mi->nb); in mi_clear() 1113 kfree(mi->mrec); in mi_clear() [all …]
|
/openbmc/linux/arch/x86/mm/ |
H A D | numa.c | 145 mi->blk[mi->nr_blks].start = start; in numa_add_memblk_to() 146 mi->blk[mi->nr_blks].end = end; in numa_add_memblk_to() 147 mi->blk[mi->nr_blks].nid = nid; in numa_add_memblk_to() 148 mi->nr_blks++; in numa_add_memblk_to() 162 mi->nr_blks--; in numa_remove_memblk_from() 163 memmove(&mi->blk[idx], &mi->blk[idx + 1], in numa_remove_memblk_from() 164 (mi->nr_blks - idx) * sizeof(mi->blk[0])); in numa_remove_memblk_from() 325 for (i = mi->nr_blks; i < ARRAY_SIZE(mi->blk); i++) { in numa_cleanup_meminfo() 326 mi->blk[i].start = mi->blk[i].end = 0; in numa_cleanup_meminfo() 342 if (mi->blk[i].start != mi->blk[i].end && in numa_nodemask_from_meminfo() [all …]
|
/openbmc/linux/arch/x86/boot/ |
H 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 …]
|
H 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()
|
H 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()
|
H 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 …]
|
/openbmc/linux/include/net/tc_act/ |
H 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);
|
/openbmc/linux/net/sched/ |
H 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 …]
|
/openbmc/linux/fs/nilfs2/ |
H 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 …]
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | numa.c | 152 struct numa_meminfo *mi) in numa_add_memblk_to() argument 165 if (mi->nr_blks >= NR_NODE_MEMBLKS) { in numa_add_memblk_to() 170 mi->blk[mi->nr_blks].start = PFN_ALIGN(start); in numa_add_memblk_to() 171 mi->blk[mi->nr_blks].end = PFN_ALIGN(end - PAGE_SIZE + 1); in numa_add_memblk_to() 172 mi->blk[mi->nr_blks].nid = nid; in numa_add_memblk_to() 173 mi->nr_blks++; in numa_add_memblk_to() 233 static bool __init numa_meminfo_cover_memory(const struct numa_meminfo *mi) in numa_meminfo_cover_memory() argument 239 for (i = 0; i < mi->nr_blks; i++) { in numa_meminfo_cover_memory() 240 u64 s = mi->blk[i].start >> PAGE_SHIFT; in numa_meminfo_cover_memory() 241 u64 e = mi->blk[i].end >> PAGE_SHIFT; in numa_meminfo_cover_memory() [all …]
|
/openbmc/linux/drivers/crypto/allwinner/sun4i-ss/ |
H 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 …]
|
H 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 …]
|
/openbmc/linux/drivers/uio/ |
H 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 …]
|
/openbmc/linux/drivers/video/fbdev/mmp/panel/ |
H 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()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/ |
H 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 …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce60/ |
H 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()
|
/openbmc/openbmc/meta-openembedded/meta-multimedia/recipes-multimedia/musicpd/libmpd/ |
H A D | 0001-fix-return-makes-integer-from-pointer-without-a-cast.patch | 16 @@ -780,7 +780,7 @@ int mpd_playlist_load(MpdObj *mi, const char *path) 17 if(mpd_lock_conn(mi)) 23 mpd_sendLoadCommand(mi->connection,path); 24 mpd_finishCommand(mi->connection);
|