Home
last modified time | relevance | path

Searched refs:blk (Results 1 – 25 of 137) sorted by relevance

123456

/linux/sound/pci/ctxfi/
H A Dcthardware.h89 int (*src_rsc_put_ctrl_blk)(void *blk);
90 int (*src_set_state)(void *blk, unsigned int state);
91 int (*src_set_bm)(void *blk, unsigned int bm);
92 int (*src_set_rsr)(void *blk, unsigned int rsr);
93 int (*src_set_sf)(void *blk, unsigned int sf);
94 int (*src_set_wr)(void *blk, unsigned int wr);
95 int (*src_set_pm)(void *blk, unsigned int pm);
96 int (*src_set_rom)(void *blk, unsigned int rom);
97 int (*src_set_vo)(void *blk, unsigned int vo);
98 int (*src_set_st)(void *blk, unsigne
[all...]
H A Dcthw20k1.c157 struct src_rsc_ctrl_blk *blk; in src_get_rsc_ctrl_blk() local
160 blk = kzalloc_obj(*blk); in src_get_rsc_ctrl_blk()
161 if (!blk) in src_get_rsc_ctrl_blk()
164 *rblk = blk; in src_get_rsc_ctrl_blk()
169 static int src_put_rsc_ctrl_blk(void *blk) in src_put_rsc_ctrl_blk() argument
171 kfree(blk); in src_put_rsc_ctrl_blk()
176 static int src_set_state(void *blk, unsigned int state) in src_set_state() argument
178 struct src_rsc_ctrl_blk *ctl = blk; in src_set_state()
185 static int src_set_bm(void *blk, unsigned int bm) in src_set_bm() argument
187 struct src_rsc_ctrl_blk *ctl = blk; in src_set_bm()
[all …]
H A Dcthw20k2.c157 struct src_rsc_ctrl_blk *blk; in src_get_rsc_ctrl_blk() local
160 blk = kzalloc_obj(*blk); in src_get_rsc_ctrl_blk()
161 if (!blk) in src_get_rsc_ctrl_blk()
164 *rblk = blk; in src_get_rsc_ctrl_blk()
169 static int src_put_rsc_ctrl_blk(void *blk) in src_put_rsc_ctrl_blk() argument
171 kfree(blk); in src_put_rsc_ctrl_blk()
176 static int src_set_state(void *blk, unsigned int state) in src_set_state() argument
178 struct src_rsc_ctrl_blk *ctl = blk; in src_set_state()
185 static int src_set_bm(void *blk, unsigned int bm) in src_set_bm() argument
187 struct src_rsc_ctrl_blk *ctl = blk; in src_set_bm()
[all …]
/linux/arch/powerpc/lib/
H A Drheap.c47 rh_block_t *block, *blk; in grow() local
73 for (i = 0, blk = block; i < info->max_blocks; i++, blk++) in grow()
74 fixup(blks, blke, delta, &blk->list); in grow()
91 blk = block + info->max_blocks - new_blocks; in grow()
92 for (i = 0; i < new_blocks; i++, blk++) in grow()
93 list_add(&blk->list, &info->empty_list); in grow()
123 rh_block_t *blk; in get_slot() local
133 blk = list_entry(info->empty_list.next, rh_block_t, list); in get_slot()
134 list_del_init(&blk->list); in get_slot()
138 blk->start = 0; in get_slot()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_mem_input.h158 #define MI_GFX6_TILE_MASK_SH_LIST(mask_sh, blk)\ argument
159 SFB(blk, GRPH_CONTROL, GRPH_NUM_BANKS, mask_sh),\
160 SFB(blk, GRPH_CONTROL, GRPH_BANK_WIDTH, mask_sh),\
161 SFB(blk, GRPH_CONTROL, GRPH_BANK_HEIGHT, mask_sh),\
162 SFB(blk, GRPH_CONTROL, GRPH_MACRO_TILE_ASPECT, mask_sh),\
163 SFB(blk, GRPH_CONTROL, GRPH_TILE_SPLIT, mask_sh),\
164 SFB(blk, GRPH_CONTROL, GRPH_PIPE_CONFIG, mask_sh),\
165 SFB(blk, GRPH_CONTROL, GRPH_ARRAY_MODE, mask_sh),\
166 SFB(blk, GRPH_CONTROL, GRPH_COLOR_EXPANSION_MODE, mask_sh)
169 #define MI_GFX8_TILE_MASK_SH_LIST(mask_sh, blk)\ argument
180 MI_DCP_MASK_SH_LIST(mask_sh,blk) global() argument
206 MI_DCP_MASK_SH_LIST_DCE6(mask_sh,blk) global() argument
230 MI_DCP_DCE11_MASK_SH_LIST(mask_sh,blk) global() argument
233 MI_DCP_PTE_MASK_SH_LIST(mask_sh,blk) global() argument
241 MI_DMIF_PG_MASK_SH_LIST_DCE6(mask_sh,blk) global() argument
250 MI_DMIF_PG_MASK_SH_DCE6(mask_sh,blk) global() argument
267 MI_DMIF_PG_MASK_SH_LIST(mask_sh,blk) global() argument
278 MI_DMIF_PG_MASK_SH_DCE(mask_sh,blk) global() argument
300 MI_GFX9_TILE_MASK_SH_LIST(mask_sh,blk) global() argument
308 MI_DCE12_DMIF_PG_MASK_SH_LIST(mask_sh,blk) global() argument
[all...]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_flex_pipe.c78 * @blk: block type
84 static u32 ice_sect_id(enum ice_block blk, enum ice_sect sect) in ice_sect_id() argument
86 return ice_sect_lkup[blk][sect]; in ice_sect_id()
619 * @blk: hardware block
626 ice_find_prot_off(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 fv_idx, in ice_find_prot_off() argument
631 if (prof >= hw->blk[blk].es.count) in ice_find_prot_off()
634 if (fv_idx >= hw->blk[blk].es.fvw) in ice_find_prot_off()
637 fv_ext = hw->blk[bl in ice_find_prot_off()
659 ice_ptg_find_ptype(struct ice_hw * hw,enum ice_block blk,u16 ptype,u8 * ptg) ice_ptg_find_ptype() argument
677 ice_ptg_alloc_val(struct ice_hw * hw,enum ice_block blk,u8 ptg) ice_ptg_alloc_val() argument
693 ice_ptg_remove_ptype(struct ice_hw * hw,enum ice_block blk,u16 ptype,u8 ptg) ice_ptg_remove_ptype() argument
740 ice_ptg_add_mv_ptype(struct ice_hw * hw,enum ice_block blk,u16 ptype,u8 ptg) ice_ptg_add_mv_ptype() argument
884 ice_vsig_find_vsi(struct ice_hw * hw,enum ice_block blk,u16 vsi,u16 * vsig) ice_vsig_find_vsi() argument
906 ice_vsig_alloc_val(struct ice_hw * hw,enum ice_block blk,u16 vsig) ice_vsig_alloc_val() argument
926 ice_vsig_alloc(struct ice_hw * hw,enum ice_block blk) ice_vsig_alloc() argument
953 ice_find_dup_props_vsig(struct ice_hw * hw,enum ice_block blk,struct list_head * chs,u16 * vsig) ice_find_dup_props_vsig() argument
978 ice_vsig_free(struct ice_hw * hw,enum ice_block blk,u16 vsig) ice_vsig_free() argument
1039 ice_vsig_remove_vsi(struct ice_hw * hw,enum ice_block blk,u16 vsi,u16 vsig) ice_vsig_remove_vsi() argument
1097 ice_vsig_add_mv_vsi(struct ice_hw * hw,enum ice_block blk,u16 vsi,u16 vsig) ice_vsig_add_mv_vsi() argument
1156 ice_prof_has_mask_idx(struct ice_hw * hw,enum ice_block blk,u8 prof,u16 idx,u16 mask) ice_prof_has_mask_idx() argument
1199 ice_prof_has_mask(struct ice_hw * hw,enum ice_block blk,u8 prof,u16 * masks) ice_prof_has_mask() argument
1221 ice_find_prof_id_with_mask(struct ice_hw * hw,enum ice_block blk,struct ice_fv_word * fv,u16 * masks,bool symm,u8 * prof_id) ice_find_prof_id_with_mask() argument
1259 ice_prof_id_rsrc_type(enum ice_block blk,u16 * rsrc_type) ice_prof_id_rsrc_type() argument
1279 ice_tcam_ent_rsrc_type(enum ice_block blk,u16 * rsrc_type) ice_tcam_ent_rsrc_type() argument
1305 ice_alloc_tcam_ent(struct ice_hw * hw,enum ice_block blk,bool btm,u16 * tcam_idx) ice_alloc_tcam_ent() argument
1325 ice_free_tcam_ent(struct ice_hw * hw,enum ice_block blk,u16 tcam_idx) ice_free_tcam_ent() argument
1344 ice_alloc_prof_id(struct ice_hw * hw,enum ice_block blk,u8 * prof_id) ice_alloc_prof_id() argument
1368 ice_free_prof_id(struct ice_hw * hw,enum ice_block blk,u8 prof_id) ice_free_prof_id() argument
1385 ice_prof_inc_ref(struct ice_hw * hw,enum ice_block blk,u8 prof_id) ice_prof_inc_ref() argument
1404 ice_write_prof_mask_reg(struct ice_hw * hw,enum ice_block blk,u16 mask_idx,u16 idx,u16 mask) ice_write_prof_mask_reg() argument
1440 ice_write_prof_mask_enable_res(struct ice_hw * hw,enum ice_block blk,u16 prof_id,u32 enable_mask) ice_write_prof_mask_enable_res() argument
1468 ice_init_prof_masks(struct ice_hw * hw,enum ice_block blk) ice_init_prof_masks() argument
1506 ice_alloc_prof_mask(struct ice_hw * hw,enum ice_block blk,u16 idx,u16 mask,u16 * mask_idx) ice_alloc_prof_mask() argument
1574 ice_free_prof_mask(struct ice_hw * hw,enum ice_block blk,u16 mask_idx) ice_free_prof_mask() argument
1616 ice_free_prof_masks(struct ice_hw * hw,enum ice_block blk,u16 prof_id) ice_free_prof_masks() argument
1639 ice_shutdown_prof_masks(struct ice_hw * hw,enum ice_block blk) ice_shutdown_prof_masks() argument
1678 ice_update_prof_masking(struct ice_hw * hw,enum ice_block blk,u16 prof_id,u16 * masks) ice_update_prof_masking() argument
1728 ice_write_es(struct ice_hw * hw,enum ice_block blk,u8 prof_id,struct ice_fv_word * fv,bool symm) ice_write_es() argument
1754 ice_prof_dec_ref(struct ice_hw * hw,enum ice_block blk,u8 prof_id) ice_prof_dec_ref() argument
1818 ice_init_sw_xlt1_db(struct ice_hw * hw,enum ice_block blk) ice_init_sw_xlt1_db() argument
1838 ice_init_sw_xlt2_db(struct ice_hw * hw,enum ice_block blk) ice_init_sw_xlt2_db() argument
2080 ice_free_vsig_tbl(struct ice_hw * hw,enum ice_block blk) ice_free_vsig_tbl() argument
2349 ice_prof_gen_key(struct ice_hw * hw,enum ice_block blk,u8 ptg,u16 vsig,u8 cdid,u16 flags,u8 vl_msk[ICE_TCAM_KEY_VAL_SZ],u8 dc_msk[ICE_TCAM_KEY_VAL_SZ],u8 nm_msk[ICE_TCAM_KEY_VAL_SZ],u8 key[ICE_TCAM_KEY_SZ]) ice_prof_gen_key() argument
2405 ice_tcam_write_entry(struct ice_hw * hw,enum ice_block blk,u16 idx,u8 prof_id,u8 ptg,u16 vsig,u8 cdid,u16 flags,u8 vl_msk[ICE_TCAM_KEY_VAL_SZ],u8 dc_msk[ICE_TCAM_KEY_VAL_SZ],u8 nm_msk[ICE_TCAM_KEY_VAL_SZ]) ice_tcam_write_entry() argument
2432 ice_vsig_get_ref(struct ice_hw * hw,enum ice_block blk,u16 vsig,u16 * refs) ice_vsig_get_ref() argument
2459 ice_has_prof_vsig(struct ice_hw * hw,enum ice_block blk,u16 vsig,u64 hdl) ice_has_prof_vsig() argument
2482 ice_prof_bld_es(struct ice_hw * hw,enum ice_block blk,struct ice_buf_build * bld,struct list_head * chgs) ice_prof_bld_es() argument
2520 ice_prof_bld_tcam(struct ice_hw * hw,enum ice_block blk,struct ice_buf_build * bld,struct list_head * chgs) ice_prof_bld_tcam() argument
2556 ice_prof_bld_xlt1(enum ice_block blk,struct ice_buf_build * bld,struct list_head * chgs) ice_prof_bld_xlt1() argument
2588 ice_prof_bld_xlt2(enum ice_block blk,struct ice_buf_build * bld,struct list_head * chgs) ice_prof_bld_xlt2() argument
2627 ice_upd_prof_hw(struct ice_hw * hw,enum ice_block blk,struct list_head * chgs) ice_upd_prof_hw() argument
3042 ice_add_prof(struct ice_hw * hw,enum ice_block blk,u64 id,unsigned long * ptypes,const struct ice_ptype_attributes * attr,u16 attr_cnt,struct ice_fv_word * es,u16 * masks,bool symm,bool fd_swap) ice_add_prof() argument
3150 ice_search_prof_id(struct ice_hw * hw,enum ice_block blk,u64 id) ice_search_prof_id() argument
3171 ice_vsig_prof_id_count(struct ice_hw * hw,enum ice_block blk,u16 vsig) ice_vsig_prof_id_count() argument
3189 ice_rel_tcam_idx(struct ice_hw * hw,enum ice_block blk,u16 idx) ice_rel_tcam_idx() argument
3216 ice_rem_prof_id(struct ice_hw * hw,enum ice_block blk,struct ice_vsig_prof * prof) ice_rem_prof_id() argument
3242 ice_rem_vsig(struct ice_hw * hw,enum ice_block blk,u16 vsig,struct list_head * chg) ice_rem_vsig() argument
3300 ice_rem_prof_id_vsig(struct ice_hw * hw,enum ice_block blk,u16 vsig,u64 hdl,struct list_head * chg) ice_rem_prof_id_vsig() argument
3333 ice_rem_flow_all(struct ice_hw * hw,enum ice_block blk,u64 id) ice_rem_flow_all() argument
3373 ice_rem_prof(struct ice_hw * hw,enum ice_block blk,u64 id) ice_rem_prof() argument
3410 ice_get_prof(struct ice_hw * hw,enum ice_block blk,u64 hdl,struct list_head * chg) ice_get_prof() argument
3465 ice_get_profs_vsig(struct ice_hw * hw,enum ice_block blk,u16 vsig,struct list_head * lst) ice_get_profs_vsig() argument
3503 ice_add_prof_to_lst(struct ice_hw * hw,enum ice_block blk,struct list_head * lst,u64 hdl) ice_add_prof_to_lst() argument
3550 ice_move_vsi(struct ice_hw * hw,enum ice_block blk,u16 vsi,u16 vsig,struct list_head * chg) ice_move_vsi() argument
3623 ice_prof_tcam_ena_dis(struct ice_hw * hw,enum ice_block blk,bool enable,u16 vsig,struct ice_tcam_inf * tcam,struct list_head * chg) ice_prof_tcam_ena_dis() argument
3727 ice_adj_prof_priorities(struct ice_hw * hw,enum ice_block blk,u16 vsig,struct list_head * chg) ice_adj_prof_priorities() argument
3813 ice_add_prof_id_vsig(struct ice_hw * hw,enum ice_block blk,u16 vsig,u64 hdl,bool rev,struct list_head * chg) ice_add_prof_id_vsig() argument
3929 ice_create_prof_id_vsig(struct ice_hw * hw,enum ice_block blk,u16 vsi,u64 hdl,struct list_head * chg) ice_create_prof_id_vsig() argument
3979 ice_create_vsig_from_lst(struct ice_hw * hw,enum ice_block blk,u16 vsi,struct list_head * lst,u16 * new_vsig,struct list_head * chg) ice_create_vsig_from_lst() argument
4016 ice_find_prof_vsig(struct ice_hw * hw,enum ice_block blk,u64 hdl,u16 * vsig) ice_find_prof_vsig() argument
4051 ice_add_prof_id_flow(struct ice_hw * hw,enum ice_block blk,u16 vsi,u64 hdl) ice_add_prof_id_flow() argument
4199 ice_flow_assoc_fdir_prof(struct ice_hw * hw,enum ice_block blk,u16 dest_vsi,u16 fdir_vsi,u64 hdl) ice_flow_assoc_fdir_prof() argument
4266 ice_rem_prof_id_flow(struct ice_hw * hw,enum ice_block blk,u16 vsi,u64 hdl) ice_rem_prof_id_flow() argument
[all...]
H A Dice_flow.c695 enum ice_block blk; member
1010 u8 fv_words = hw->blk[params->blk].es.fvw; in ice_flow_xtract_fld()
1182 if (hw->blk[params->blk].es.reverse) in ice_flow_xtract_fld()
1225 fv_words = hw->blk[params->blk].es.fvw; in ice_flow_xtract_raws()
1254 if (params->es_cnt >= hw->blk[params->blk].es.count || in ice_flow_xtract_raws()
1259 if (hw->blk[param in ice_flow_xtract_raws()
1358 ice_flow_find_prof_conds(struct ice_hw * hw,enum ice_block blk,enum ice_flow_dir dir,struct ice_flow_seg_info * segs,u8 segs_cnt,bool symm,u16 vsi_handle,u32 conds) ice_flow_find_prof_conds() argument
1408 ice_flow_find_prof_id(struct ice_hw * hw,enum ice_block blk,u64 prof_id) ice_flow_find_prof_id() argument
1426 ice_flow_rem_entry_sync(struct ice_hw * hw,enum ice_block __always_unused blk,struct ice_flow_entry * entry) ice_flow_rem_entry_sync() argument
1452 ice_flow_add_prof_sync(struct ice_hw * hw,enum ice_block blk,enum ice_flow_dir dir,struct ice_flow_seg_info * segs,u8 segs_cnt,bool symm,struct ice_flow_prof ** prof) ice_flow_add_prof_sync() argument
1538 ice_flow_rem_prof_sync(struct ice_hw * hw,enum ice_block blk,struct ice_flow_prof * prof) ice_flow_rem_prof_sync() argument
1581 ice_flow_assoc_prof(struct ice_hw * hw,enum ice_block blk,struct ice_flow_prof * prof,u16 vsi_handle) ice_flow_assoc_prof() argument
1612 ice_flow_disassoc_prof(struct ice_hw * hw,enum ice_block blk,struct ice_flow_prof * prof,u16 vsi_handle) ice_flow_disassoc_prof() argument
1656 ice_flow_set_parser_prof(struct ice_hw * hw,u16 dest_vsi,u16 fdir_vsi,struct ice_parser_profile * prof,enum ice_block blk) ice_flow_set_parser_prof() argument
1727 ice_flow_add_prof(struct ice_hw * hw,enum ice_block blk,enum ice_flow_dir dir,struct ice_flow_seg_info * segs,u8 segs_cnt,bool symm,struct ice_flow_prof ** prof) ice_flow_add_prof() argument
1764 ice_flow_rem_prof(struct ice_hw * hw,enum ice_block blk,u64 prof_id) ice_flow_rem_prof() argument
1798 ice_flow_add_entry(struct ice_hw * hw,enum ice_block blk,u64 prof_id,u64 entry_id,u16 vsi_handle,enum ice_flow_priority prio,void * data,u64 * entry_h) ice_flow_add_entry() argument
1866 ice_flow_rem_entry(struct ice_hw * hw,enum ice_block blk,u64 entry_h) ice_flow_rem_entry() argument
2149 const enum ice_block blk = ICE_BLK_RSS; ice_rem_vsi_rss_cfg() local
2546 const enum ice_block blk = ICE_BLK_RSS; ice_add_rss_cfg_sync() local
2694 const enum ice_block blk = ICE_BLK_RSS; ice_rem_rss_cfg_sync() local
[all...]
H A Dice_flex_pipe.h15 ice_find_prot_off(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 fv_idx,
42 ice_add_prof(struct ice_hw *hw, enum ice_block blk, u64 id,
47 ice_search_prof_id(struct ice_hw *hw, enum ice_block blk, u64 id);
49 ice_add_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl);
51 ice_rem_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl);
53 ice_flow_assoc_fdir_prof(struct ice_hw *hw, enum ice_block blk,
64 int ice_rem_prof(struct ice_hw *hw, enum ice_block blk, u64 id);
/linux/sound/synth/
H A Dutil_mem.c62 struct snd_util_memblk *blk; in __snd_util_mem_alloc() local
79 blk = get_memblk(p); in __snd_util_mem_alloc()
80 if (blk->offset - prev_offset >= units) in __snd_util_mem_alloc()
82 prev_offset = blk->offset + blk->size; in __snd_util_mem_alloc()
100 struct snd_util_memblk *blk; in __snd_util_memblk_new() local
102 blk = kmalloc(sizeof(struct snd_util_memblk) + hdr->block_extra_size, in __snd_util_memblk_new()
104 if (blk == NULL) in __snd_util_memblk_new()
108 blk->offset = 0; in __snd_util_memblk_new()
111 blk->offset = p->offset + p->size; in __snd_util_memblk_new()
113 blk->size = units; in __snd_util_memblk_new()
[all …]
/linux/fs/quota/
H A Dquota_tree.c56 static ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in read_blk() argument
62 info->dqi_usable_bs, (loff_t)blk << info->dqi_blocksize_bits); in read_blk()
65 static ssize_t write_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf) in write_blk() argument
71 info->dqi_usable_bs, (loff_t)blk << info->dqi_blocksize_bits); in write_blk()
119 int ret, blk; in get_free_dqblk() local
124 blk = info->dqi_free_blk; in get_free_dqblk()
125 ret = read_blk(info, blk, buf); in get_free_dqblk()
139 blk = info->dqi_blocks++; in get_free_dqblk()
142 ret = blk; in get_free_dqblk()
149 static int put_free_dqblk(struct qtree_mem_dqinfo *info, char *buf, uint blk) in put_free_dqblk() argument
[all …]
/linux/sound/soc/intel/catpt/
H A Dloader.c272 struct catpt_fw_block_hdr *blk) in catpt_restore_fwimage()
278 blk, sizeof(*blk), false); in catpt_restore_fwimage()
280 resource_set_range(&r1, cdev->dram.start + blk->ram_offset, blk->size); in catpt_restore_fwimage()
282 paddr += sizeof(*blk); in catpt_restore_fwimage()
321 struct catpt_fw_block_hdr *blk, bool alloc) in catpt_load_block()
328 blk, sizeof(*blk), false); in catpt_restore_basefw()
330 switch (blk in catpt_restore_basefw()
240 catpt_restore_fwimage(struct catpt_dev * cdev,struct dma_chan * chan,dma_addr_t paddr,struct catpt_fw_block_hdr * blk) catpt_restore_fwimage() argument
291 catpt_load_block(struct catpt_dev * cdev,struct dma_chan * chan,dma_addr_t paddr,struct catpt_fw_block_hdr * blk,bool alloc) catpt_load_block() argument
340 struct catpt_fw_block_hdr *blk; catpt_restore_basefw() local
382 struct catpt_fw_block_hdr *blk; catpt_restore_module() local
426 struct catpt_fw_block_hdr *blk; catpt_load_module() local
[all...]
/linux/drivers/soc/samsung/
H A Dgs101-pmu.c77 #define SUBBLK_RANGE(blk) \ argument
78 regmap_reg_range(GS101_SUBBLK_CONFIGURATION(blk), \
79 GS101_SUBBLK_CTRL(blk)), \
80 regmap_reg_range(GS101_SUBBLK_OUT(blk), GS101_SUBBLK_IN(blk)), \
81 regmap_reg_range(GS101_SUBBLK_INT_IN(blk), \
82 GS101_SUBBLK_INT_DIR(blk)), \
83 regmap_reg_range(GS101_SUBBLK_MEMORY_OUT(blk), \
84 GS101_SUBBLK_MEMORY_IN(blk))
129 #define SUBBLK_CPU_RANGE(blk) \ argument
130 regmap_reg_range(GS101_SUBBLK_CPU_CONFIGURATION(blk), \
[all …]
/linux/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim_blk.c62 MODULE_PARM_DESC(shared_backend, "Enable the shared backend between virtio-blk devices");
68 static void vdpasim_blk_buffer_lock(struct vdpasim_blk *blk) in vdpasim_blk_buffer_lock()
70 if (blk->shared_backend) in vdpasim_blk_buffer_lock()
74 static void vdpasim_blk_buffer_unlock(struct vdpasim_blk *blk) in vdpasim_blk_buffer_unlock()
76 if (blk->shared_backend) in vdpasim_blk_buffer_unlock()
114 struct vdpasim_blk *blk = sim_to_blk(vdpasim); in vdpasim_blk_handle_req()
180 vdpasim_blk_buffer_lock(blk); in vdpasim_blk_handle_req()
182 blk->buffer + offset, to_push); in vdpasim_blk_handle_req()
183 vdpasim_blk_buffer_unlock(blk); in vdpasim_blk_handle_req()
203 vdpasim_blk_buffer_lock(blk); in vdpasim_blk_handle_req()
67 vdpasim_blk_buffer_lock(struct vdpasim_blk * blk) vdpasim_blk_buffer_lock() argument
73 vdpasim_blk_buffer_unlock(struct vdpasim_blk * blk) vdpasim_blk_buffer_unlock() argument
113 struct vdpasim_blk *blk = sim_to_blk(vdpasim); vdpasim_blk_handle_req() local
395 struct vdpasim_blk *blk = sim_to_blk(vdpasim); vdpasim_blk_free() local
407 struct vdpasim_blk *blk; vdpasim_blk_dev_add() local
[all...]
/linux/Documentation/translations/zh_CN/block/
H A Dblk-mq.rst4 :Original: Documentation/block/blk-mq.rst
15 多队列块设备 I/O 排队机制 (blk-mq)
40 的拥塞问题。为了解决这些问题,blk-mq API 引入了多个队列,每个队列在本地 CPU
47 当用户空间执行对块设备的 I/O(例如读写文件)时,blk-mq 便会介入:它将存储和
51 blk-mq 由两组队列组成:软件暂存队列和硬件派发队列。当请求到达块层时,它会尝
57 多请求,blk-mq 会将请求放置在临时队列中,待硬件资源充足时再发送。
117 - `Linux 块 I/O:多队列 SSD 并发访问简介 <http://kernel.dk/blk-mq.pdf>`_
128 include/linux/blk-mq.h
130 block/blk-mq.c
/linux/fs/xfs/libxfs/
H A Dxfs_da_btree.c105 state->altpath.blk[i].bp = NULL; in xfs_da_state_kill_altpath()
579 ASSERT(state->path.blk[max].magic == XFS_ATTR_LEAF_MAGIC || in xfs_da3_split()
580 state->path.blk[max].magic == XFS_DIR2_LEAFN_MAGIC); in xfs_da3_split()
582 addblk = &state->path.blk[max]; /* initial dummy value */ in xfs_da3_split()
584 oldblk = &state->path.blk[i]; in xfs_da3_split()
585 newblk = &state->altpath.blk[i]; in xfs_da3_split()
661 state->path.blk[max].magic == XFS_DIR2_LEAFN_MAGIC); in xfs_da3_split()
667 oldblk = &state->path.blk[0]; in xfs_da3_split()
1138 drop_blk = &state->path.blk[ state->path.active-1 ]; in xfs_da3_join()
1139 save_blk = &state->altpath.blk[ stat in xfs_da3_join()
1312 struct xfs_da_state_blk *blk; xfs_da3_node_toosmall() local
1461 struct xfs_da_state_blk *blk; xfs_da3_fixhashpath() local
1580 struct xfs_da_state_blk blk = { xfs_attr3_node_entry_remove() local
1681 struct xfs_da_state_blk *blk; xfs_da3_node_lookup_int() local
2136 struct xfs_da_state_blk *blk; xfs_da3_path_shift() local
[all...]
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_ctl.h122 enum dpu_wb blk);
132 enum dpu_cwb blk);
142 enum dpu_intf blk);
152 enum dpu_intf blk);
162 enum dpu_merge_3d blk);
172 enum dpu_sspp blk);
182 enum dpu_lm blk);
193 enum dpu_dspp blk, u32 dspp_sub_blk);
203 enum dpu_dsc blk);
/linux/drivers/net/ethernet/alibaba/eea/
H A Deea_net.c23 struct eea_irq_blk *blk = data; in eea_irq_handler() local
25 napi_schedule_irqoff(&blk->napi); in eea_irq_handler()
32 struct eea_irq_blk *blk; in eea_free_irq_blk() local
42 blk = &enet->irq_blks[i]; in eea_free_irq_blk()
44 if (blk->ready) in eea_free_irq_blk()
45 eea_pci_free_irq(blk); in eea_free_irq_blk()
47 blk->ready = false; in eea_free_irq_blk()
60 struct eea_irq_blk *blk, *irq_blks; in eea_alloc_irq_blks() local
65 irq_blks = kvzalloc_objs(*blk, num); in eea_alloc_irq_blks()
72 blk = &irq_blks[i]; in eea_alloc_irq_blks()
[all …]
/linux/drivers/usb/gadget/function/
H A Df_midi2.c186 int i, blk;
194 for (blk = 0; blk < ep->num_blks; blk++)
195 kfree(ep->blks[blk].info.name);
604 static void reply_ump_stream_fb_info(struct f_midi2_ep *ep, int blk) in reply_ump_stream_fb_name()
606 struct f_midi2_block_info *b = &ep->blks[blk].info;
611 .function_block_id = blk, in process_ump_stream_msg() local
625 static void reply_ump_stream_fb_name(struct f_midi2_ep *ep, unsigned int blk) in process_ump_stream_msg()
627 reply_ump_stream_string(ep, ump_fb_name(&ep->blks[blk] in process_ump_stream_msg()
579 reply_ump_stream_fb_info(struct f_midi2_ep * ep,int blk) reply_ump_stream_fb_info() argument
600 reply_ump_stream_fb_name(struct f_midi2_ep * ep,unsigned int blk) reply_ump_stream_fb_name() argument
1354 int i, blk, len; assign_block_descriptors() local
1534 int i, id, blk, err; f_midi2_create_card() local
1881 int blk; fill_midi2_class_desc() local
1942 int i, blk, status; f_midi2_bind() local
2329 f_midi2_block_opts_create(struct f_midi2_ep_opts * ep_opts,unsigned int blk,struct f_midi2_block_opts ** block_p) f_midi2_block_opts_create() argument
2371 unsigned int blk; f_midi2_opts_block_make() local
2770 fill_midi1_cable_mapping(struct f_midi2 * midi2,struct f_midi2_ep * ep,int blk) fill_midi1_cable_mapping() argument
2814 int i, num_eps, blk; f_midi2_alloc() local
[all...]
/linux/fs/xfs/
H A Dxfs_buf_item_recover.c851 void *blk = bp->b_addr; in xlog_recover_get_buf_lsn() local
869 magic32 = be32_to_cpu(*(__be32 *)blk); in xlog_recover_get_buf_lsn()
873 struct xfs_rtbuf_blkinfo *hdr = blk; in xlog_recover_get_buf_lsn()
889 struct xfs_btree_block *btb = blk; in xlog_recover_get_buf_lsn()
899 struct xfs_btree_block *btb = blk; in xlog_recover_get_buf_lsn()
906 lsn = be64_to_cpu(((struct xfs_agf *)blk)->agf_lsn); in xlog_recover_get_buf_lsn()
907 uuid = &((struct xfs_agf *)blk)->agf_uuid; in xlog_recover_get_buf_lsn()
910 lsn = be64_to_cpu(((struct xfs_agfl *)blk)->agfl_lsn); in xlog_recover_get_buf_lsn()
911 uuid = &((struct xfs_agfl *)blk)->agfl_uuid; in xlog_recover_get_buf_lsn()
914 lsn = be64_to_cpu(((struct xfs_agi *)blk)->agi_lsn); in xlog_recover_get_buf_lsn()
[all …]
/linux/include/sound/
H A Dutil_mem.h21 #define snd_util_memblk_argptr(blk) (void*)((char*)(blk) + sizeof(struct snd_util_memblk)) argument
41 int snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk);
46 void __snd_util_mem_free(struct snd_util_memhdr *hdr, struct snd_util_memblk *blk);
/linux/Documentation/translations/zh_CN/core-api/
H A Dkernel-api.rst294 block/blk-core.c
296 block/blk-core.c
298 block/blk-map.c
300 block/blk-sysfs.c
302 block/blk-settings.c
304 block/blk-flush.c
306 block/blk-lib.c
308 block/blk-integrity.c
/linux/Documentation/admin-guide/
H A Dpstore-blk.rst9 pstore block (pstore/blk) is an oops/panic logger that writes its logs to a
19 pstore/blk provides efficient configuration method for pstore/blk, which
23 Configurations for user determine how pstore/blk works, such as pmsg_size,
46 It's required for pstore/blk. It is also used for MTD device.
48 When pstore/blk is built as a module, "blkdev" accepts the following variants:
56 When pstore/blk is built into the kernel, "blkdev" accepts the following variants:
84 pstore/blk will log to oops/panic chunks one by one, and always overwrite the
97 */sys/fs/pstore/pmsg-pstore-blk-0*.
108 available in */sys/fs/pstore/console-pstore-blk-0*.
121 combined and available in */sys/fs/pstore/ftrace-pstore-blk-0*.
[all …]
/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cpt_common.h19 #define OTX2_CPT_RVU_FUNC_ADDR_S(blk, slot, offs) \ argument
20 (((blk) << 20) | ((slot) << 12) | (offs))
131 static inline void otx2_cpt_write64(void __iomem *reg_base, u64 blk, u64 slot, in otx2_cpt_write64() argument
135 OTX2_CPT_RVU_FUNC_ADDR_S(blk, slot, offs)); in otx2_cpt_write64()
138 static inline u64 otx2_cpt_read64(void __iomem *reg_base, u64 blk, u64 slot, in otx2_cpt_read64() argument
142 OTX2_CPT_RVU_FUNC_ADDR_S(blk, slot, offs)); in otx2_cpt_read64()
/linux/fs/pstore/
H A DKconfig88 The common layer for pstore/blk (and pstore/ram in the future)
101 For more information, see Documentation/admin-guide/pstore-blk.rst
110 Which block device should be used for pstore/blk.
132 pstore/blk, but module parameters have priority over Kconfig.
140 pstore/blk. The size is in KB and must be a multiple of 4.
143 pstore/blk, but module parameters have priority over Kconfig.
155 pstore/blk, but module parameters have priority over Kconfig.
163 This just sets size of pmsg (pmsg_size) for pstore/blk. The size is
167 pstore/blk, but module parameters have priority over Kconfig.
176 pstore/blk. The size is in KB and must be a multiple of 4.
[all …]
/linux/fs/f2fs/
H A Dextent_cache.c35 if (!f2fs_is_valid_blkaddr(sbi, ei.blk, DATA_GENERIC_ENHANCE) || in sanity_check_extent_cache()
36 !f2fs_is_valid_blkaddr(sbi, ei.blk + ei.len - 1, in sanity_check_extent_cache()
40 ei.blk, ei.fofs, ei.len); in sanity_check_extent_cache()
48 if (FDEV(devi).start_blk != ei.blk || in sanity_check_extent_cache()
49 FDEV(devi).end_blk != ei.blk + ei.len - 1) in sanity_check_extent_cache()
63 __func__, inode->i_ino, ei.blk, ei.fofs, ei.len); in sanity_check_extent_cache()
67 if ((GET_SEGOFF_FROM_SEG0(sbi, ei.blk) % BLKS_PER_SEC(sbi)) || in sanity_check_extent_cache()
70 __func__, inode->i_ino, ei.blk, ei.fofs, ei.len, in sanity_check_extent_cache()
79 __func__, inode->i_ino, ei.blk, ei.fofs, ei.len); in sanity_check_extent_cache()
85 block_t blk, boo in __set_extent_info() argument
[all...]

123456