| /linux/tools/perf/arch/x86/util/ |
| H A D | machine.c | 25 static int add_extra_kernel_map(struct extra_kernel_map_info *mi, u64 start, in add_extra_kernel_map() argument 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() 33 sz = sizeof(struct extra_kernel_map) * mi->max_cnt; 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() [all …]
|
| /linux/net/mac80211/ |
| H A D | rc80211_minstrel_ht.c | 279 minstrel_ht_update_rates(struct minstrel_priv *mp, struct minstrel_ht_sta *mi); 371 minstrel_ht_get_stats(struct minstrel_priv *mp, struct minstrel_ht_sta *mi, in minstrel_ht_get_stats() argument 390 if (!(mi->supported[group] & BIT(idx))) in minstrel_ht_get_stats() 397 if ((mi->supported[group] & BIT(idx + 4)) && in minstrel_ht_get_stats() 405 if (rate->idx == mp->ofdm_rates[mi->band][idx]) in minstrel_ht_get_stats() 410 return &mi->groups[group].rates[idx]; in minstrel_ht_get_stats() 417 minstrel_ht_ri_get_stats(struct minstrel_priv *mp, struct minstrel_ht_sta *mi, in minstrel_ht_ri_get_stats() argument 441 if ((mi->supported[group] & BIT(idx + 4)) && in minstrel_ht_ri_get_stats() 442 mi->use_short_preamble) in minstrel_ht_ri_get_stats() 449 if (rate->legacy == minstrel_ofdm_bitrates[ mp->ofdm_rates[mi->band][idx] ]) in minstrel_ht_ri_get_stats() [all …]
|
| H A D | rc80211_minstrel_ht_debugfs.c | 36 minstrel_ht_is_sample_rate(struct minstrel_ht_sta *mi, int idx) in minstrel_ht_is_sample_rate() argument 40 for (type = 0; type < ARRAY_SIZE(mi->sample); type++) in minstrel_ht_is_sample_rate() 42 if (mi->sample[type].cur_sample_rates[i] == idx) in minstrel_ht_is_sample_rate() 48 minstrel_ht_stats_dump(struct minstrel_ht_sta *mi, int i, char *p) in minstrel_ht_stats_dump() argument 56 if (!mi->supported[i]) in minstrel_ht_stats_dump() 70 struct minstrel_rate_stats *mrs = &mi->groups[i].rates[j]; in minstrel_ht_stats_dump() 74 if (!(mi->supported[i] & BIT(j))) in minstrel_ht_stats_dump() 94 *(p++) = (idx == mi->max_tp_rate[0]) ? 'A' : ' '; in minstrel_ht_stats_dump() 95 *(p++) = (idx == mi->max_tp_rate[1]) ? 'B' : ' '; in minstrel_ht_stats_dump() 96 *(p++) = (idx == mi->max_tp_rate[2]) ? 'C' : ' '; in minstrel_ht_stats_dump() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | mapping.c | 47 struct mapping_item *mi; in mapping_add() local 54 hash_for_each_possible(ctx->ht, mi, node, hash_key) { in mapping_add() 55 if (!memcmp(data, mi->data, ctx->data_size)) in mapping_add() 59 mi = kzalloc(sizeof(*mi) + ctx->data_size, GFP_KERNEL); in mapping_add() 60 if (!mi) in mapping_add() 63 memcpy(mi->data, data, ctx->data_size); in mapping_add() 64 hash_add(ctx->ht, &mi->node, hash_key); in mapping_add() 66 err = xa_alloc(&ctx->xarray, &mi->id, mi, XA_LIMIT(1, ctx->max_id), in mapping_add() 71 ++mi->cnt; in mapping_add() 72 *id = mi->id; in mapping_add() [all …]
|
| /linux/tools/perf/util/ |
| H A D | mem-info.h | 18 struct mem_info *mem_info__clone(struct mem_info *mi); 19 struct mem_info *mem_info__get(struct mem_info *mi); 20 void mem_info__put(struct mem_info *mi); 22 static inline void __mem_info__zput(struct mem_info **mi) in __mem_info__zput() argument 24 mem_info__put(*mi); in __mem_info__zput() 25 *mi = NULL; in __mem_info__zput() 28 #define mem_info__zput(mi) __mem_info__zput(&mi) argument 30 static inline struct addr_map_symbol *mem_info__iaddr(struct mem_info *mi) in mem_info__iaddr() argument 32 return &RC_CHK_ACCESS(mi)->iaddr; in mem_info__iaddr() 35 static inline struct addr_map_symbol *mem_info__daddr(struct mem_info *mi) in mem_info__daddr() argument [all …]
|
| H A D | mem-info.c | 5 struct mem_info *mem_info__get(struct mem_info *mi) in mem_info__get() argument 9 if (RC_CHK_GET(result, mi)) in mem_info__get() 10 refcount_inc(mem_info__refcnt(mi)); in mem_info__get() 15 void mem_info__put(struct mem_info *mi) in mem_info__put() argument 17 if (mi && refcount_dec_and_test(mem_info__refcnt(mi))) { in mem_info__put() 18 addr_map_symbol__exit(mem_info__iaddr(mi)); in mem_info__put() 19 addr_map_symbol__exit(mem_info__daddr(mi)); in mem_info__put() 20 RC_CHK_FREE(mi); in mem_info__put() 22 RC_CHK_PUT(mi); in mem_info__put() 29 RC_STRUCT(mem_info) *mi = zalloc(sizeof(*mi)); in mem_info__new() [all …]
|
| /linux/drivers/net/mctp/ |
| H A D | mctp-i3c.c | 100 static int mctp_i3c_read(struct mctp_i3c_device *mi) in mctp_i3c_read() argument 102 struct i3c_xfer xfer = { .rnw = 1, .len = mi->mrl }; in mctp_i3c_read() 103 struct net_device_stats *stats = &mi->mbus->ndev->stats; in mctp_i3c_read() 110 skb = netdev_alloc_skb(mi->mbus->ndev, in mctp_i3c_read() 111 mi->mrl + sizeof(struct mctp_i3c_internal_hdr)); in mctp_i3c_read() 121 put_unaligned_be48(mi->pid, ihdr->source); in mctp_i3c_read() 122 put_unaligned_be48(mi->mbus->pid, ihdr->dest); in mctp_i3c_read() 125 xfer.data.in = skb_put(skb, mi->mrl); in mctp_i3c_read() 128 mutex_lock(&mi->lock); in mctp_i3c_read() 129 rc = i3c_device_do_xfers(mi in mctp_i3c_read() 182 struct mctp_i3c_device *mi = i3cdev_get_drvdata(i3c); mctp_i3c_ibi_handler() local 204 mctp_i3c_setup(struct mctp_i3c_device * mi) mctp_i3c_setup() argument 259 struct mctp_i3c_device *mi = NULL; mctp_i3c_add_device() local 312 mctp_i3c_remove_device(struct mctp_i3c_device * mi) mctp_i3c_remove_device() argument 333 struct mctp_i3c_device *mi = i3cdev_get_drvdata(i3c); mctp_i3c_remove() local 350 struct mctp_i3c_device *mi = NULL, *ret = NULL; mctp_i3c_lookup() local 368 struct mctp_i3c_device *mi = NULL; mctp_i3c_xmit() local 483 struct mctp_i3c_device *mi = NULL, *tmp = NULL; mctp_i3c_bus_free() local [all...] |
| /linux/fs/ntfs3/ |
| H A D | record.c | 34 static __le16 mi_new_attt_id(struct ntfs_inode *ni, struct mft_inode *mi) in mi_new_attt_id() argument 37 struct MFT_REC *rec = mi->mrec; in mi_new_attt_id() 55 attr = mi_enum_attr(ni, mi, attr); in mi_new_attt_id() 58 mi->dirty = true; in mi_new_attt_id() 71 int mi_get(struct ntfs_sb_info *sbi, CLST rno, struct mft_inode **mi) in mi_get() argument 91 *mi = m; in mi_get() 95 void mi_put(struct mft_inode *mi) in mi_put() argument 97 mi_clear(mi); in mi_put() 98 kfree(mi); in mi_put() 101 int mi_init(struct mft_inode *mi, struc argument 115 mi_read(struct mft_inode * mi,bool is_mft) mi_read() argument 198 mi_enum_attr(struct ntfs_inode * ni,struct mft_inode * mi,struct ATTRIB * attr) mi_enum_attr() argument 387 mi_find_attr(struct ntfs_inode * ni,struct mft_inode * mi,struct ATTRIB * attr,enum ATTR_TYPE type,const __le16 * name,u8 name_len,const __le16 * id) mi_find_attr() argument 418 mi_write(struct mft_inode * mi,int wait) mi_write() argument 442 mi_format_new(struct mft_inode * mi,struct ntfs_sb_info * sbi,CLST rno,__le16 flags,bool is_mft) mi_format_new() argument 503 mi_insert_attr(struct ntfs_inode * ni,struct mft_inode * mi,enum ATTR_TYPE type,const __le16 * name,u8 name_len,u32 asize,u16 name_off) mi_insert_attr() argument 568 mi_remove_attr(struct ntfs_inode * ni,struct mft_inode * mi,struct ATTRIB * attr) mi_remove_attr() argument 598 mi_resize_attr(struct mft_inode * mi,struct ATTRIB * attr,int bytes) mi_resize_attr() argument 651 mi_pack_runs(struct mft_inode * mi,struct ATTRIB * attr,const struct runs_tree * run,CLST len) mi_pack_runs() argument [all...] |
| H A D | frecord.c | 27 struct mft_inode *mi; in ni_ins_mi() local 30 mi = rb_entry(pr, struct mft_inode, node); in ni_ins_mi() 31 if (mi->rno > ino) in ni_ins_mi() 33 else if (mi->rno < ino) in ni_ins_mi() 36 return mi; in ni_ins_mi() 58 static void ni_add_mi(struct ntfs_inode *ni, struct mft_inode *mi) in ni_add_mi() argument 60 ni_ins_mi(ni, &ni->mi_tree, mi->rno, &mi->node); in ni_add_mi() 66 void ni_remove_mi(struct ntfs_inode *ni, struct mft_inode *mi) in ni_remove_mi() argument 68 rb_erase(&mi in ni_remove_mi() 114 struct mft_inode *mi = rb_entry(node, struct mft_inode, node); ni_clear() local 150 ni_load_mi_ex(struct ntfs_inode * ni,CLST rno,struct mft_inode ** mi) ni_load_mi_ex() argument 178 ni_load_mi(struct ntfs_inode * ni,const struct ATTR_LIST_ENTRY * le,struct mft_inode ** mi) ni_load_mi() argument 204 ni_find_attr(struct ntfs_inode * ni,struct ATTRIB * attr,struct ATTR_LIST_ENTRY ** le_o,enum ATTR_TYPE type,const __le16 * name,u8 name_len,const CLST * vcn,struct mft_inode ** mi) ni_find_attr() argument 265 ni_enum_attr_ex(struct ntfs_inode * ni,struct ATTRIB * attr,struct ATTR_LIST_ENTRY ** le,struct mft_inode ** mi) ni_enum_attr_ex() argument 327 ni_add_subrecord(struct ntfs_inode * ni,CLST rno,struct mft_inode ** mi) ni_add_subrecord() argument 360 struct mft_inode *mi; ni_remove_attr() local 424 ni_ins_new_attr(struct ntfs_inode * ni,struct mft_inode * mi,struct ATTR_LIST_ENTRY * le,enum ATTR_TYPE type,const __le16 * name,u8 name_len,u32 asize,u16 name_off,CLST svcn,struct ATTR_LIST_ENTRY ** ins_le) ni_ins_new_attr() argument 630 struct mft_inode *mi; ni_try_remove_attr_list() local 778 struct mft_inode *mi; ni_create_attr_list() local 929 struct mft_inode *mi; ni_ins_attr_ext() local 1234 struct mft_inode *mi, *mi_min, *mi_new; ni_expand_mft_list() local 1430 ni_insert_nonresident(struct ntfs_inode * ni,enum ATTR_TYPE type,const __le16 * name,u8 name_len,const struct runs_tree * run,CLST svcn,CLST len,__le16 flags,struct ATTRIB ** new_attr,struct mft_inode ** mi,struct ATTR_LIST_ENTRY ** le) ni_insert_nonresident() argument 1505 ni_insert_resident(struct ntfs_inode * ni,u32 data_size,enum ATTR_TYPE type,const __le16 * name,u8 name_len,struct ATTRIB ** new_attr,struct mft_inode ** mi,struct ATTR_LIST_ENTRY ** le) ni_insert_resident() argument 1543 ni_remove_attr_le(struct ntfs_inode * ni,struct ATTRIB * attr,struct mft_inode * mi,struct ATTR_LIST_ENTRY * le) ni_remove_attr_le() argument 1613 struct mft_inode *mi = rb_entry(node, struct mft_inode, node); ni_delete_all() local 1642 ni_fname_name(struct ntfs_inode * ni,const struct le_str * uni,const struct MFT_REF * home_dir,struct mft_inode ** mi,struct ATTR_LIST_ENTRY ** le) ni_fname_name() argument 1683 ni_fname_type(struct ntfs_inode * ni,u8 name_type,struct mft_inode ** mi,struct ATTR_LIST_ENTRY ** le) ni_fname_type() argument 1717 struct mft_inode *mi; ni_new_attr_flags() local 2029 struct mft_inode *mi; ni_decompress_file() local 2549 struct mft_inode *mi; ni_write_frame() local 2675 struct mft_inode *mi; ni_remove_name() local 2788 struct mft_inode *mi; ni_add_name() local 3049 struct mft_inode *mi; ni_update_parent() local 3276 struct mft_inode *mi = rb_entry(node, struct mft_inode, node); ni_write_inode() local [all...] |
| H A D | attrib.c | 87 err = run_unpack_ex(run, ni->mi.sbi, ni->mi.rno, svcn, evcn, in attr_load_runs() 263 struct ATTR_LIST_ENTRY *le, struct mft_inode *mi, in attr_make_nonresident() 281 sbi = mi->sbi; in attr_make_nonresident() 282 rec = mi->mrec; in attr_make_nonresident() 349 mi->dirty = true; in attr_make_nonresident() 376 mi->dirty = true; in attr_make_nonresident() 391 struct ATTR_LIST_ENTRY *le, struct mft_inode *mi, in attr_set_size_res() 395 struct ntfs_sb_info *sbi = mi->sbi; in attr_set_size_res() 396 struct MFT_REC *rec = mi in attr_set_size_res() 255 attr_make_nonresident(struct ntfs_inode * ni,struct ATTRIB * attr,struct ATTR_LIST_ENTRY * le,struct mft_inode * mi,u64 new_size,struct runs_tree * run,struct ATTRIB ** ins_attr,struct page * page) attr_make_nonresident() argument 383 attr_set_size_res(struct ntfs_inode * ni,struct ATTRIB * attr,struct ATTR_LIST_ENTRY * le,struct mft_inode * mi,u64 new_size,struct runs_tree * run,struct ATTRIB ** ins_attr) attr_set_size_res() argument 445 struct mft_inode *mi, *mi_b; attr_set_size_ex() local 1003 struct mft_inode *mi, *mi_b; attr_data_get_block_locked() local 1408 struct mft_inode *mi; attr_data_write_resident() local 1784 struct mft_inode *mi, *mi_b; attr_allocate_frame() local 2016 struct mft_inode *mi, *mi_b; attr_collapse_range() local 2311 struct mft_inode *mi, *mi_b; attr_punch_hole() local 2534 struct mft_inode *mi, *mi_b; attr_insert_range() local 2791 struct mft_inode *mi; attr_force_nonresident() local [all...] |
| H A D | ntfs_fs.h | 366 struct mft_inode mi; // base record 471 struct ATTR_LIST_ENTRY *le, struct mft_inode *mi, 576 void ni_remove_mi(struct ntfs_inode *ni, struct mft_inode *mi); 580 int ni_load_mi_ex(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi); 582 struct mft_inode **mi); 587 struct mft_inode **mi); 590 struct mft_inode **mi); 592 bool ni_add_subrecord(struct ntfs_inode *ni, CLST rno, struct mft_inode **mi); 602 struct mft_inode **mi, struct ATTR_LIST_ENTRY **le); 605 struct ATTRIB **new_attr, struct mft_inode **mi, 364 struct mft_inode mi; // base record global() member 860 mi_is_ref(const struct mft_inode * mi,const struct MFT_REF * ref) mi_is_ref() argument 875 mi_get_ref(const struct mft_inode * mi,struct MFT_REF * ref) mi_get_ref() argument 1241 mi_clear(struct mft_inode * mi) mi_clear() argument [all...] |
| H A D | xattr.c | 77 struct ntfs_sb_info *sbi = ni->mi.sbi; in ntfs_read_ea() 229 ntfs_set_state(ni->mi.sbi, NTFS_DIRTY_ERROR); in ntfs_list_ea() 325 struct ntfs_sb_info *sbi = ni->mi.sbi; in ntfs_set_ea() 336 struct mft_inode *mi; in ntfs_set_ea() 474 attr = ni_find_attr(ni, NULL, &le, ATTR_EA_INFO, NULL, 0, NULL, &mi); in ntfs_set_ea() 482 ni_remove_attr_le(ni, attr, mi, le); in ntfs_set_ea() 490 mi->dirty = true; in ntfs_set_ea() 494 attr = ni_find_attr(ni, NULL, &le, ATTR_EA, NULL, 0, NULL, &mi); in ntfs_set_ea() 502 ni_remove_attr_le(ni, attr, mi, le); in ntfs_set_ea() 519 mi in ntfs_set_ea() 333 struct mft_inode *mi; ntfs_set_ea() local [all...] |
| H A D | index.c | 197 struct mft_inode *mi; 210 struct ntfs_sb_info *sbi = ni->mi.sbi; in bmp_buf_get() 221 &vcn, &bbuf->mi); in bmp_buf_get() 292 bbuf->mi->dirty = true; in bmp_buf_put() 301 bbuf->mi->dirty = true; in bmp_buf_put() 365 struct ntfs_sb_info *sbi = ni->mi.sbi; in scan_nres_bitmap() 989 err = ntfs_get_bh(ni->mi.sbi, &indx->alloc_run, vbo, bytes, &r->nb); in indx_new() 1029 struct ATTRIB **attr, struct mft_inode **mi) in indx_get_root() 1037 mi); in indx_get_root() 1061 return ntfs_write_bh(ni->mi 196 struct mft_inode *mi; global() member 1026 indx_get_root(struct ntfs_index * indx,struct ntfs_inode * ni,struct ATTRIB ** attr,struct mft_inode ** mi) indx_get_root() argument 1540 struct mft_inode *mi; indx_add_allocate() local 1636 struct mft_inode *mi; indx_insert_into_root() local 2382 struct mft_inode *mi; indx_delete_entry() local 2773 struct mft_inode *mi; indx_update_dup() local [all...] |
| H A D | attrlist.c | 89 err = run_unpack_ex(&ni->attr_list.run, ni->mi.sbi, ni->mi.rno, in ntfs_load_attr_list() 112 err = ntfs_read_run_nb(ni->mi.sbi, &ni->attr_list.run, 0, le, in ntfs_load_attr_list() 226 name_len, ni->mi.sbi->upcase, in al_find_ex() 279 name_len, ni->mi.sbi->upcase, in al_find_le_to_insert() 366 err = ntfs_sb_write_run(ni->mi.sbi, &al->run, 0, al->le, in al_add_le() 426 err = ntfs_sb_write_run(ni->mi.sbi, &al->run, 0, al->le, in al_update() 434 ni->mi.dirty = true; in al_update()
|
| /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() 83 for (i = 0; i < card->nmodes; i++, mi++) { 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() [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-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/include/net/tc_act/ |
| H A D | tc_ife.h | 42 int (*get)(struct sk_buff *skb, struct tcf_meta_info *mi); 51 int ife_get_meta_u32(struct sk_buff *skb, struct tcf_meta_info *mi); 52 int ife_get_meta_u16(struct sk_buff *skb, struct tcf_meta_info *mi); 53 int ife_alloc_meta_u32(struct tcf_meta_info *mi, void *metaval, gfp_t gfp); 54 int ife_alloc_meta_u16(struct tcf_meta_info *mi, void *metaval, gfp_t gfp); 55 int ife_check_meta_u32(u32 metaval, struct tcf_meta_info *mi); 56 int ife_check_meta_u16(u16 metaval, struct tcf_meta_info *mi); 57 int ife_encode_meta_u32(u32 metaval, void *skbdata, struct tcf_meta_info *mi); 60 int ife_encode_meta_u16(u16 metaval, void *skbdata, struct tcf_meta_info *mi); 61 void ife_release_meta_gen(struct tcf_meta_info *mi);
|
| /linux/net/sched/ |
| H A D | act_ife.c | 45 int ife_encode_meta_u16(u16 metaval, void *skbdata, struct tcf_meta_info *mi) in ife_encode_meta_u16() argument 49 if (mi->metaval) in ife_encode_meta_u16() 50 edata = *(u16 *)mi->metaval; in ife_encode_meta_u16() 57 return ife_tlv_meta_encode(skbdata, mi->metaid, 2, &edata); in ife_encode_meta_u16() 61 int ife_get_meta_u32(struct sk_buff *skb, struct tcf_meta_info *mi) 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() 66 return nla_put(skb, mi->metaid, 0, NULL); in ife_get_meta_u32() 70 int ife_check_meta_u32(u32 metaval, struct tcf_meta_info *mi) 62 ife_get_meta_u32(struct sk_buff * skb,struct tcf_meta_info * mi) ife_get_meta_u32() argument 71 ife_check_meta_u32(u32 metaval,struct tcf_meta_info * mi) ife_check_meta_u32() argument 80 ife_check_meta_u16(u16 metaval,struct tcf_meta_info * mi) ife_check_meta_u16() argument 89 ife_encode_meta_u32(u32 metaval,void * skbdata,struct tcf_meta_info * mi) ife_encode_meta_u32() argument 106 ife_get_meta_u16(struct sk_buff * skb,struct tcf_meta_info * mi) ife_get_meta_u16() argument 115 ife_alloc_meta_u32(struct tcf_meta_info * mi,void * metaval,gfp_t gfp) ife_alloc_meta_u32() argument 125 ife_alloc_meta_u16(struct tcf_meta_info * mi,void * metaval,gfp_t gfp) ife_alloc_meta_u16() argument 135 ife_release_meta_gen(struct tcf_meta_info * mi) ife_release_meta_gen() argument 300 struct tcf_meta_info *mi = NULL; __add_metainfo() local [all...] |
| /linux/drivers/crypto/allwinner/sun4i-ss/ |
| H A D | sun4i-ss-hash.c | 199 struct sg_mapping_iter mi; in sun4i_hash() local 272 sg_miter_start(&mi, areq->src, sg_nents(areq->src), in sun4i_hash() 274 sg_miter_next(&mi); in sun4i_hash() 283 if (op->len || (mi.length - in_i) < 4) { in sun4i_hash() 292 in_r = min_t(size_t, mi.length - in_i, in_r); in sun4i_hash() 293 memcpy(op->buf + op->len, mi.addr + in_i, in_r); 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() 312 in_r = min_t(size_t, mi.length - in_i, areq->nbytes - i); in sun4i_hash() [all …]
|
| H A D | sun4i-ss-cipher.c | 35 struct sg_mapping_iter mi, mo; in sun4i_ss_opti_poll() local 80 sg_miter_start(&mi, areq->src, sg_nents(areq->src), in sun4i_ss_opti_poll() 83 sg_miter_skip(&mi, pi); in sun4i_ss_opti_poll() 84 miter_err = sg_miter_next(&mi); in sun4i_ss_opti_poll() 85 if (!miter_err || !mi.addr) { in sun4i_ss_opti_poll() 91 todo = min_t(size_t, todo, (mi.length - oi) / 4); in sun4i_ss_opti_poll() 94 writesl(ss->base + SS_RXFIFO, mi.addr + oi, todo); 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() [all …]
|
| /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()
|
| /linux/lib/ |
| H A D | decompress_unlzma.c | 353 int mi = 1; in process_bit0() local 369 prob_lit = prob + 0x100 + bit + mi; in process_bit0() 370 if (rc_get_bit(rc, prob_lit, &mi)) { in process_bit0() 377 } while (mi < 0x100); in process_bit0() 379 while (mi < 0x100) { in process_bit0() 380 uint16_t *prob_lit = prob + mi; in process_bit0() 381 rc_get_bit(rc, prob_lit, &mi); in process_bit0() 390 return write_byte(wr, mi); in process_bit0() 500 int i, mi; in process_bit1() local 517 mi = 1; in process_bit1() [all …]
|
| /linux/drivers/cxl/core/ |
| H A D | regs.c | 219 struct mapinfo *mi = &mapinfo[i]; in cxl_map_component_regs() local 223 if (!mi->rmap->valid) in cxl_map_component_regs() 225 if (!test_bit(mi->rmap->id, &map_mask)) in cxl_map_component_regs() 227 addr = map->resource + mi->rmap->offset; in cxl_map_component_regs() 228 length = mi->rmap->size; in cxl_map_component_regs() 229 *(mi->addr) = devm_cxl_iomap_block(host, addr, length); in cxl_map_component_regs() 230 if (!*(mi->addr)) in cxl_map_component_regs() 254 struct mapinfo *mi = &mapinfo[i]; in cxl_map_device_regs() local 258 if (!mi->rmap->valid) in cxl_map_device_regs() 261 addr = phys_addr + mi in cxl_map_device_regs() [all...] |
| /linux/tools/perf/tests/ |
| H A D | mem.c | 16 struct mem_info *mi = mem_info__new(); in check() 19 TEST_ASSERT_VAL("Memory allocation failed", mi); in check() 20 *mem_info__data_src(mi) = data_src; in check() 21 n = perf_mem__snp_scnprintf(out, sizeof out, mi); in check() 22 n += perf_mem__lvl_scnprintf(out + n, sizeof out - n, mi); in check() 23 mem_info__put(mi); in check() 15 struct mem_info mi = { .data_src = data_src }; check() local
|