Home
last modified time | relevance | path

Searched refs:mi (Results 1 – 25 of 155) sorted by relevance

1234567

/openbmc/linux/tools/perf/arch/x86/util/
H A Dmachine.c28 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 Drc80211_minstrel_ht.c1071 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 Drc80211_minstrel_ht_debugfs.c56 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 Dmapping.c57 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 Dmctp-i3c.c197 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 Drecord.c91 *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 Dfrecord.c36 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 Dattrib.c81 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 Dntfs_fs.h516 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 Dnuma.c145 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 Dvideo-mode.c55 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 Dvideo-bios.c24 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 Dvideo.c140 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 Dvideo-vesa.c36 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 Dtc_ife.h44 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 Dact_ife.c48 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 Dmdt.c449 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 Dnuma.c152 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 Dsun4i-ss-hash.c199 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 Dsun4i-ss-cipher.c35 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 Duio.c287 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 Dtpo_tj032md01bw.c128 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 Ddce_mem_input.c134 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 Ddce60_hw_sequencer.c273 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 D0001-fix-return-makes-integer-from-pointer-without-a-cast.patch16 @@ -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);

1234567