/linux/block/ |
H A D | Makefile | 6 obj-y := bdev.o fops.o bio.o elevator.o blk-core.o blk-sysfs.o \ 7 blk-flush.o blk-settings.o blk-ioc.o blk-map.o \ 8 blk-merge.o blk-timeout.o blk-lib.o blk [all...] |
/linux/sound/pci/ctxfi/ |
H A D | cthardware.h | 87 int (*src_rsc_put_ctrl_blk)(void *blk); 88 int (*src_set_state)(void *blk, unsigned int state); 89 int (*src_set_bm)(void *blk, unsigned int bm); 90 int (*src_set_rsr)(void *blk, unsigned int rsr); 91 int (*src_set_sf)(void *blk, unsigned int sf); 92 int (*src_set_wr)(void *blk, unsigned int wr); 93 int (*src_set_pm)(void *blk, unsigned int pm); 94 int (*src_set_rom)(void *blk, unsigned int rom); 95 int (*src_set_vo)(void *blk, unsigned int vo); 96 int (*src_set_st)(void *blk, unsigne [all...] |
H A D | cthw20k1.c | 157 struct src_rsc_ctrl_blk *blk; in src_get_rsc_ctrl_blk() local 160 blk = kzalloc(sizeof(*blk), GFP_KERNEL); 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, unsigne argument 194 src_set_rsr(void * blk,unsigned int rsr) src_set_rsr() argument 203 src_set_sf(void * blk,unsigned int sf) src_set_sf() argument 212 src_set_wr(void * blk,unsigned int wr) src_set_wr() argument 221 src_set_pm(void * blk,unsigned int pm) src_set_pm() argument 230 src_set_rom(void * blk,unsigned int rom) src_set_rom() argument 239 src_set_vo(void * blk,unsigned int vo) src_set_vo() argument 248 src_set_st(void * blk,unsigned int st) src_set_st() argument 257 src_set_ie(void * blk,unsigned int ie) src_set_ie() argument 266 src_set_ilsz(void * blk,unsigned int ilsz) src_set_ilsz() argument 275 src_set_bp(void * blk,unsigned int bp) src_set_bp() argument 284 src_set_cisz(void * blk,unsigned int cisz) src_set_cisz() argument 293 src_set_ca(void * blk,unsigned int ca) src_set_ca() argument 302 src_set_sa(void * blk,unsigned int sa) src_set_sa() argument 311 src_set_la(void * blk,unsigned int la) src_set_la() argument 320 src_set_pitch(void * blk,unsigned int pitch) src_set_pitch() argument 329 src_set_clear_zbufs(void * blk,unsigned int clear) src_set_clear_zbufs() argument 335 src_set_dirty(void * blk,unsigned int flags) src_set_dirty() argument 341 src_set_dirty_all(void * blk) src_set_dirty_all() argument 359 src_commit_write(struct hw * hw,unsigned int idx,void * blk) src_commit_write() argument 416 src_get_ca(struct hw * hw,unsigned int idx,void * blk) src_get_ca() argument 426 src_get_dirty(void * blk) src_get_dirty() argument 436 src_mgr_enbs_src(void * blk,unsigned int idx) src_mgr_enbs_src() argument 444 src_mgr_enb_src(void * blk,unsigned int idx) src_mgr_enb_src() argument 451 src_mgr_dsb_src(void * blk,unsigned int idx) src_mgr_dsb_src() argument 458 src_mgr_commit_write(struct hw * hw,void * blk) src_mgr_commit_write() argument 483 struct src_mgr_ctrl_blk *blk; src_mgr_get_ctrl_blk() local 495 src_mgr_put_ctrl_blk(void * blk) src_mgr_put_ctrl_blk() argument 504 struct srcimp_mgr_ctrl_blk *blk; srcimp_mgr_get_ctrl_blk() local 516 srcimp_mgr_put_ctrl_blk(void * blk) srcimp_mgr_put_ctrl_blk() argument 523 srcimp_mgr_set_imaparc(void * blk,unsigned int slot) srcimp_mgr_set_imaparc() argument 532 srcimp_mgr_set_imapuser(void * blk,unsigned int user) srcimp_mgr_set_imapuser() argument 541 srcimp_mgr_set_imapnxt(void * blk,unsigned int next) srcimp_mgr_set_imapnxt() argument 550 srcimp_mgr_set_imapaddr(void * blk,unsigned int addr) srcimp_mgr_set_imapaddr() argument 559 srcimp_mgr_commit_write(struct hw * hw,void * blk) srcimp_mgr_commit_write() argument 600 amixer_set_mode(void * blk,unsigned int mode) amixer_set_mode() argument 609 amixer_set_iv(void * blk,unsigned int iv) amixer_set_iv() argument 615 amixer_set_x(void * blk,unsigned int x) amixer_set_x() argument 624 amixer_set_y(void * blk,unsigned int y) amixer_set_y() argument 633 amixer_set_sadr(void * blk,unsigned int sadr) amixer_set_sadr() argument 642 amixer_set_se(void * blk,unsigned int se) amixer_set_se() argument 651 amixer_set_dirty(void * blk,unsigned int flags) amixer_set_dirty() argument 657 amixer_set_dirty_all(void * blk) amixer_set_dirty_all() argument 663 amixer_commit_write(struct hw * hw,unsigned int idx,void * blk) amixer_commit_write() argument 677 amixer_get_y(void * blk) amixer_get_y() argument 684 amixer_get_dirty(void * blk) amixer_get_dirty() argument 691 struct amixer_rsc_ctrl_blk *blk; amixer_rsc_get_ctrl_blk() local 703 amixer_rsc_put_ctrl_blk(void * blk) amixer_rsc_put_ctrl_blk() argument 724 amixer_mgr_put_ctrl_blk(void * blk) amixer_mgr_put_ctrl_blk() argument 824 dai_srt_set_srcr(void * blk,unsigned int src) dai_srt_set_srcr() argument 833 dai_srt_set_srcl(void * blk,unsigned int src) dai_srt_set_srcl() argument 842 dai_srt_set_rsr(void * blk,unsigned int rsr) dai_srt_set_rsr() argument 851 dai_srt_set_drat(void * blk,unsigned int drat) dai_srt_set_drat() argument 860 dai_srt_set_ec(void * blk,unsigned int ec) dai_srt_set_ec() argument 869 dai_srt_set_et(void * blk,unsigned int et) dai_srt_set_et() argument 878 dai_commit_write(struct hw * hw,unsigned int idx,void * blk) dai_commit_write() argument 898 struct dai_ctrl_blk *blk; dai_get_ctrl_blk() local 910 dai_put_ctrl_blk(void * blk) dai_put_ctrl_blk() argument 917 dao_set_spos(void * blk,unsigned int spos) dao_set_spos() argument 924 dao_commit_write(struct hw * hw,unsigned int idx,void * blk) dao_commit_write() argument 939 dao_get_spos(void * blk,unsigned int * spos) dao_get_spos() argument 947 struct dao_ctrl_blk *blk; dao_get_ctrl_blk() local 959 dao_put_ctrl_blk(void * blk) dao_put_ctrl_blk() argument 966 daio_mgr_enb_dai(void * blk,unsigned int idx) daio_mgr_enb_dai() argument 983 daio_mgr_dsb_dai(void * blk,unsigned int idx) daio_mgr_dsb_dai() argument 1000 daio_mgr_enb_dao(void * blk,unsigned int idx) daio_mgr_enb_dao() argument 1017 daio_mgr_dsb_dao(void * blk,unsigned int idx) daio_mgr_dsb_dao() argument 1034 daio_mgr_dao_init(void * blk,unsigned int idx,unsigned int conf) daio_mgr_dao_init() argument 1071 daio_mgr_set_imaparc(void * blk,unsigned int slot) daio_mgr_set_imaparc() argument 1080 daio_mgr_set_imapnxt(void * blk,unsigned int next) daio_mgr_set_imapnxt() argument 1089 daio_mgr_set_imapaddr(void * blk,unsigned int addr) daio_mgr_set_imapaddr() argument 1098 daio_mgr_commit_write(struct hw * hw,void * blk) daio_mgr_commit_write() argument 1141 struct daio_mgr_ctrl_blk *blk; daio_mgr_get_ctrl_blk() local 1157 daio_mgr_put_ctrl_blk(void * blk) daio_mgr_put_ctrl_blk() argument [all...] |
H A D | cthw20k2.c | 157 struct src_rsc_ctrl_blk *blk; in src_get_rsc_ctrl_blk() local 160 blk = kzalloc(sizeof(*blk), GFP_KERNEL); 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, unsigne argument 194 src_set_rsr(void * blk,unsigned int rsr) src_set_rsr() argument 203 src_set_sf(void * blk,unsigned int sf) src_set_sf() argument 212 src_set_wr(void * blk,unsigned int wr) src_set_wr() argument 221 src_set_pm(void * blk,unsigned int pm) src_set_pm() argument 230 src_set_rom(void * blk,unsigned int rom) src_set_rom() argument 239 src_set_vo(void * blk,unsigned int vo) src_set_vo() argument 248 src_set_st(void * blk,unsigned int st) src_set_st() argument 257 src_set_ie(void * blk,unsigned int ie) src_set_ie() argument 266 src_set_ilsz(void * blk,unsigned int ilsz) src_set_ilsz() argument 275 src_set_bp(void * blk,unsigned int bp) src_set_bp() argument 284 src_set_cisz(void * blk,unsigned int cisz) src_set_cisz() argument 293 src_set_ca(void * blk,unsigned int ca) src_set_ca() argument 302 src_set_sa(void * blk,unsigned int sa) src_set_sa() argument 311 src_set_la(void * blk,unsigned int la) src_set_la() argument 320 src_set_pitch(void * blk,unsigned int pitch) src_set_pitch() argument 329 src_set_clear_zbufs(void * blk,unsigned int clear) src_set_clear_zbufs() argument 335 src_set_dirty(void * blk,unsigned int flags) src_set_dirty() argument 341 src_set_dirty_all(void * blk) src_set_dirty_all() argument 359 src_commit_write(struct hw * hw,unsigned int idx,void * blk) src_commit_write() argument 416 src_get_ca(struct hw * hw,unsigned int idx,void * blk) src_get_ca() argument 426 src_get_dirty(void * blk) src_get_dirty() argument 436 src_mgr_enbs_src(void * blk,unsigned int idx) src_mgr_enbs_src() argument 444 src_mgr_enb_src(void * blk,unsigned int idx) src_mgr_enb_src() argument 451 src_mgr_dsb_src(void * blk,unsigned int idx) src_mgr_dsb_src() argument 458 src_mgr_commit_write(struct hw * hw,void * blk) src_mgr_commit_write() argument 483 struct src_mgr_ctrl_blk *blk; src_mgr_get_ctrl_blk() local 495 src_mgr_put_ctrl_blk(void * blk) src_mgr_put_ctrl_blk() argument 504 struct srcimp_mgr_ctrl_blk *blk; srcimp_mgr_get_ctrl_blk() local 516 srcimp_mgr_put_ctrl_blk(void * blk) srcimp_mgr_put_ctrl_blk() argument 523 srcimp_mgr_set_imaparc(void * blk,unsigned int slot) srcimp_mgr_set_imaparc() argument 532 srcimp_mgr_set_imapuser(void * blk,unsigned int user) srcimp_mgr_set_imapuser() argument 541 srcimp_mgr_set_imapnxt(void * blk,unsigned int next) srcimp_mgr_set_imapnxt() argument 550 srcimp_mgr_set_imapaddr(void * blk,unsigned int addr) srcimp_mgr_set_imapaddr() argument 557 srcimp_mgr_commit_write(struct hw * hw,void * blk) srcimp_mgr_commit_write() argument 599 amixer_set_mode(void * blk,unsigned int mode) amixer_set_mode() argument 608 amixer_set_iv(void * blk,unsigned int iv) amixer_set_iv() argument 617 amixer_set_x(void * blk,unsigned int x) amixer_set_x() argument 626 amixer_set_y(void * blk,unsigned int y) amixer_set_y() argument 635 amixer_set_sadr(void * blk,unsigned int sadr) amixer_set_sadr() argument 644 amixer_set_se(void * blk,unsigned int se) amixer_set_se() argument 653 amixer_set_dirty(void * blk,unsigned int flags) amixer_set_dirty() argument 659 amixer_set_dirty_all(void * blk) amixer_set_dirty_all() argument 665 amixer_commit_write(struct hw * hw,unsigned int idx,void * blk) amixer_commit_write() argument 679 amixer_get_y(void * blk) amixer_get_y() argument 686 amixer_get_dirty(void * blk) amixer_get_dirty() argument 693 struct amixer_rsc_ctrl_blk *blk; amixer_rsc_get_ctrl_blk() local 705 amixer_rsc_put_ctrl_blk(void * blk) amixer_rsc_put_ctrl_blk() argument 719 amixer_mgr_put_ctrl_blk(void * blk) amixer_mgr_put_ctrl_blk() argument 814 dai_srt_set_srco(void * blk,unsigned int src) dai_srt_set_srco() argument 823 dai_srt_set_srcm(void * blk,unsigned int src) dai_srt_set_srcm() argument 832 dai_srt_set_rsr(void * blk,unsigned int rsr) dai_srt_set_rsr() argument 841 dai_srt_set_drat(void * blk,unsigned int drat) dai_srt_set_drat() argument 850 dai_srt_set_ec(void * blk,unsigned int ec) dai_srt_set_ec() argument 859 dai_srt_set_et(void * blk,unsigned int et) dai_srt_set_et() argument 868 dai_commit_write(struct hw * hw,unsigned int idx,void * blk) dai_commit_write() argument 882 struct dai_ctrl_blk *blk; dai_get_ctrl_blk() local 894 dai_put_ctrl_blk(void * blk) dai_put_ctrl_blk() argument 901 dao_set_spos(void * blk,unsigned int spos) dao_set_spos() argument 908 dao_commit_write(struct hw * hw,unsigned int idx,void * blk) dao_commit_write() argument 924 dao_get_spos(void * blk,unsigned int * spos) dao_get_spos() argument 932 struct dao_ctrl_blk *blk; dao_get_ctrl_blk() local 944 dao_put_ctrl_blk(void * blk) dao_put_ctrl_blk() argument 951 daio_mgr_enb_dai(void * blk,unsigned int idx) daio_mgr_enb_dai() argument 960 daio_mgr_dsb_dai(void * blk,unsigned int idx) daio_mgr_dsb_dai() argument 970 daio_mgr_enb_dao(void * blk,unsigned int idx) daio_mgr_enb_dao() argument 979 daio_mgr_dsb_dao(void * blk,unsigned int idx) daio_mgr_dsb_dao() argument 988 daio_mgr_dao_init(void * blk,unsigned int idx,unsigned int conf) daio_mgr_dao_init() argument 1026 daio_mgr_set_imaparc(void * blk,unsigned int slot) daio_mgr_set_imaparc() argument 1035 daio_mgr_set_imapnxt(void * blk,unsigned int next) daio_mgr_set_imapnxt() argument 1044 daio_mgr_set_imapaddr(void * blk,unsigned int addr) daio_mgr_set_imapaddr() argument 1051 daio_mgr_commit_write(struct hw * hw,void * blk) daio_mgr_commit_write() argument 1082 struct daio_mgr_ctrl_blk *blk; daio_mgr_get_ctrl_blk() local 1100 daio_mgr_put_ctrl_blk(void * blk) daio_mgr_put_ctrl_blk() argument [all...] |
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_flex_pipe.c | 78 * @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() 623 * @blk: hardware block 630 ice_find_prot_off(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 fv_idx, in ice_find_prot_off() argument 635 if (prof >= hw->blk[blk].es.count) in ice_find_prot_off() 638 if (fv_idx >= hw->blk[blk].es.fvw) in ice_find_prot_off() 641 fv_ext = hw->blk[bl in ice_find_prot_off() 663 ice_ptg_find_ptype(struct ice_hw * hw,enum ice_block blk,u16 ptype,u8 * ptg) ice_ptg_find_ptype() argument 681 ice_ptg_alloc_val(struct ice_hw * hw,enum ice_block blk,u8 ptg) ice_ptg_alloc_val() argument 697 ice_ptg_remove_ptype(struct ice_hw * hw,enum ice_block blk,u16 ptype,u8 ptg) ice_ptg_remove_ptype() argument 744 ice_ptg_add_mv_ptype(struct ice_hw * hw,enum ice_block blk,u16 ptype,u8 ptg) ice_ptg_add_mv_ptype() argument 888 ice_vsig_find_vsi(struct ice_hw * hw,enum ice_block blk,u16 vsi,u16 * vsig) ice_vsig_find_vsi() argument 910 ice_vsig_alloc_val(struct ice_hw * hw,enum ice_block blk,u16 vsig) ice_vsig_alloc_val() argument 930 ice_vsig_alloc(struct ice_hw * hw,enum ice_block blk) ice_vsig_alloc() argument 957 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 982 ice_vsig_free(struct ice_hw * hw,enum ice_block blk,u16 vsig) ice_vsig_free() argument 1043 ice_vsig_remove_vsi(struct ice_hw * hw,enum ice_block blk,u16 vsi,u16 vsig) ice_vsig_remove_vsi() argument 1101 ice_vsig_add_mv_vsi(struct ice_hw * hw,enum ice_block blk,u16 vsi,u16 vsig) ice_vsig_add_mv_vsi() argument 1160 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 1203 ice_prof_has_mask(struct ice_hw * hw,enum ice_block blk,u8 prof,u16 * masks) ice_prof_has_mask() argument 1225 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 1263 ice_prof_id_rsrc_type(enum ice_block blk,u16 * rsrc_type) ice_prof_id_rsrc_type() argument 1283 ice_tcam_ent_rsrc_type(enum ice_block blk,u16 * rsrc_type) ice_tcam_ent_rsrc_type() argument 1309 ice_alloc_tcam_ent(struct ice_hw * hw,enum ice_block blk,bool btm,u16 * tcam_idx) ice_alloc_tcam_ent() argument 1329 ice_free_tcam_ent(struct ice_hw * hw,enum ice_block blk,u16 tcam_idx) ice_free_tcam_ent() argument 1348 ice_alloc_prof_id(struct ice_hw * hw,enum ice_block blk,u8 * prof_id) ice_alloc_prof_id() argument 1372 ice_free_prof_id(struct ice_hw * hw,enum ice_block blk,u8 prof_id) ice_free_prof_id() argument 1389 ice_prof_inc_ref(struct ice_hw * hw,enum ice_block blk,u8 prof_id) ice_prof_inc_ref() argument 1408 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 1444 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 1472 ice_init_prof_masks(struct ice_hw * hw,enum ice_block blk) ice_init_prof_masks() argument 1510 ice_alloc_prof_mask(struct ice_hw * hw,enum ice_block blk,u16 idx,u16 mask,u16 * mask_idx) ice_alloc_prof_mask() argument 1578 ice_free_prof_mask(struct ice_hw * hw,enum ice_block blk,u16 mask_idx) ice_free_prof_mask() argument 1620 ice_free_prof_masks(struct ice_hw * hw,enum ice_block blk,u16 prof_id) ice_free_prof_masks() argument 1643 ice_shutdown_prof_masks(struct ice_hw * hw,enum ice_block blk) ice_shutdown_prof_masks() argument 1682 ice_update_prof_masking(struct ice_hw * hw,enum ice_block blk,u16 prof_id,u16 * masks) ice_update_prof_masking() argument 1732 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 1758 ice_prof_dec_ref(struct ice_hw * hw,enum ice_block blk,u8 prof_id) ice_prof_dec_ref() argument 1822 ice_init_sw_xlt1_db(struct ice_hw * hw,enum ice_block blk) ice_init_sw_xlt1_db() argument 1842 ice_init_sw_xlt2_db(struct ice_hw * hw,enum ice_block blk) ice_init_sw_xlt2_db() argument 2084 ice_free_vsig_tbl(struct ice_hw * hw,enum ice_block blk) ice_free_vsig_tbl() argument 2353 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 2409 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 2436 ice_vsig_get_ref(struct ice_hw * hw,enum ice_block blk,u16 vsig,u16 * refs) ice_vsig_get_ref() argument 2463 ice_has_prof_vsig(struct ice_hw * hw,enum ice_block blk,u16 vsig,u64 hdl) ice_has_prof_vsig() argument 2486 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 2524 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 2560 ice_prof_bld_xlt1(enum ice_block blk,struct ice_buf_build * bld,struct list_head * chgs) ice_prof_bld_xlt1() argument 2592 ice_prof_bld_xlt2(enum ice_block blk,struct ice_buf_build * bld,struct list_head * chgs) ice_prof_bld_xlt2() argument 2631 ice_upd_prof_hw(struct ice_hw * hw,enum ice_block blk,struct list_head * chgs) ice_upd_prof_hw() argument 3046 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 3154 ice_search_prof_id(struct ice_hw * hw,enum ice_block blk,u64 id) ice_search_prof_id() argument 3175 ice_vsig_prof_id_count(struct ice_hw * hw,enum ice_block blk,u16 vsig) ice_vsig_prof_id_count() argument 3193 ice_rel_tcam_idx(struct ice_hw * hw,enum ice_block blk,u16 idx) ice_rel_tcam_idx() argument 3220 ice_rem_prof_id(struct ice_hw * hw,enum ice_block blk,struct ice_vsig_prof * prof) ice_rem_prof_id() argument 3246 ice_rem_vsig(struct ice_hw * hw,enum ice_block blk,u16 vsig,struct list_head * chg) ice_rem_vsig() argument 3304 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 3337 ice_rem_flow_all(struct ice_hw * hw,enum ice_block blk,u64 id) ice_rem_flow_all() argument 3377 ice_rem_prof(struct ice_hw * hw,enum ice_block blk,u64 id) ice_rem_prof() argument 3414 ice_get_prof(struct ice_hw * hw,enum ice_block blk,u64 hdl,struct list_head * chg) ice_get_prof() argument 3469 ice_get_profs_vsig(struct ice_hw * hw,enum ice_block blk,u16 vsig,struct list_head * lst) ice_get_profs_vsig() argument 3507 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 3554 ice_move_vsi(struct ice_hw * hw,enum ice_block blk,u16 vsi,u16 vsig,struct list_head * chg) ice_move_vsi() argument 3614 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 3687 ice_adj_prof_priorities(struct ice_hw * hw,enum ice_block blk,u16 vsig,struct list_head * chg) ice_adj_prof_priorities() argument 3758 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 3870 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 3920 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 3957 ice_find_prof_vsig(struct ice_hw * hw,enum ice_block blk,u64 hdl,u16 * vsig) ice_find_prof_vsig() argument 3992 ice_add_prof_id_flow(struct ice_hw * hw,enum ice_block blk,u16 vsi,u64 hdl) ice_add_prof_id_flow() argument 4140 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 4207 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 D | ice_flow.c | 612 enum ice_block blk; member 927 u8 fv_words = hw->blk[params->blk].es.fvw; in ice_flow_xtract_fld() 1099 if (hw->blk[params->blk].es.reverse) in ice_flow_xtract_fld() 1142 fv_words = hw->blk[params->blk].es.fvw; in ice_flow_xtract_raws() 1171 if (params->es_cnt >= hw->blk[params->blk].es.count || in ice_flow_xtract_raws() 1176 if (hw->blk[param in ice_flow_xtract_raws() 1275 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 1325 ice_flow_find_prof_id(struct ice_hw * hw,enum ice_block blk,u64 prof_id) ice_flow_find_prof_id() argument 1343 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 1369 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 1455 ice_flow_rem_prof_sync(struct ice_hw * hw,enum ice_block blk,struct ice_flow_prof * prof) ice_flow_rem_prof_sync() argument 1498 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 1529 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 1573 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 1644 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 1681 ice_flow_rem_prof(struct ice_hw * hw,enum ice_block blk,u64 prof_id) ice_flow_rem_prof() argument 1715 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 1783 ice_flow_rem_entry(struct ice_hw * hw,enum ice_block blk,u64 entry_h) ice_flow_rem_entry() argument 2066 const enum ice_block blk = ICE_BLK_RSS; ice_rem_vsi_rss_cfg() local 2339 const enum ice_block blk = ICE_BLK_RSS; ice_add_rss_cfg_sync() local 2487 const enum ice_block blk = ICE_BLK_RSS; ice_rem_rss_cfg_sync() local [all...] |
H A D | ice_flex_pipe.h | 15 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/arch/powerpc/lib/ |
H A D | rheap.c | 47 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 in get_slot() 145 release_slot(rh_info_t * info,rh_block_t * blk) release_slot() argument 153 rh_block_t *blk; attach_free_block() local 234 rh_block_t *blk; attach_taken_block() local 304 rh_block_t *blk; rh_init() local 331 rh_block_t *blk; rh_attach_region() local 373 rh_block_t *blk, *newblk; rh_detach_region() local 445 rh_block_t *blk; rh_alloc_align() local 530 rh_block_t *blk, *newblk1, *newblk2; rh_alloc_fixed() local 614 rh_block_t *blk, *blk2; rh_free() local 643 rh_block_t *blk; rh_get_stats() local 681 rh_block_t *blk, *blk2; rh_set_owner() local 740 rh_dump_blk(rh_info_t * info,rh_block_t * blk) rh_dump_blk() argument [all...] |
/linux/sound/pci/emu10k1/ |
H A D | memory.c | 69 static int synth_alloc_pages(struct snd_emu10k1 *hw, struct snd_emu10k1_memblk *blk); 70 static int synth_free_pages(struct snd_emu10k1 *hw, struct snd_emu10k1_memblk *blk); 76 static void emu10k1_memblk_init(struct snd_emu10k1_memblk *blk) in emu10k1_memblk_init() argument 78 blk->mapped_page = -1; in emu10k1_memblk_init() 79 INIT_LIST_HEAD(&blk->mapped_link); in emu10k1_memblk_init() 80 INIT_LIST_HEAD(&blk->mapped_order_link); in emu10k1_memblk_init() 81 blk->map_locked = 0; in emu10k1_memblk_init() 83 blk->first_page = get_aligned_page(blk->mem.offset); in emu10k1_memblk_init() 84 blk in emu10k1_memblk_init() 104 struct snd_emu10k1_memblk *blk = get_emu10k1_memblk(pos, mapped_link); search_empty_map_area() local 134 map_memblk(struct snd_emu10k1 * emu,struct snd_emu10k1_memblk * blk) map_memblk() argument 165 unmap_memblk(struct snd_emu10k1 * emu,struct snd_emu10k1_memblk * blk) unmap_memblk() argument 209 struct snd_emu10k1_memblk *blk; search_empty() local 258 snd_emu10k1_memblk_map(struct snd_emu10k1 * emu,struct snd_emu10k1_memblk * blk) snd_emu10k1_memblk_map() argument 306 struct snd_emu10k1_memblk *blk; snd_emu10k1_alloc_pages() local 361 snd_emu10k1_free_pages(struct snd_emu10k1 * emu,struct snd_util_memblk * blk) snd_emu10k1_free_pages() argument 407 struct snd_emu10k1_memblk *blk; snd_emu10k1_synth_alloc() local 435 struct snd_emu10k1_memblk *blk = (struct snd_emu10k1_memblk *)memblk; snd_emu10k1_synth_free() local 453 get_single_page_range(struct snd_util_memhdr * hdr,struct snd_emu10k1_memblk * blk,int * first_page_ret,int * last_page_ret) get_single_page_range() argument 510 synth_alloc_pages(struct snd_emu10k1 * emu,struct snd_emu10k1_memblk * blk) synth_alloc_pages() argument 542 synth_free_pages(struct snd_emu10k1 * emu,struct snd_emu10k1_memblk * blk) synth_free_pages() argument 570 snd_emu10k1_synth_memset(struct snd_emu10k1 * emu,struct snd_util_memblk * blk,int offset,int size,u8 value) snd_emu10k1_synth_memset() argument 630 snd_emu10k1_synth_copy_from_user(struct snd_emu10k1 * emu,struct snd_util_memblk * blk,int offset,const char __user * data,int size,u32 xor) snd_emu10k1_synth_copy_from_user() argument [all...] |
/linux/drivers/i2c/busses/ |
H A D | i2c-qup.c | 245 struct qup_i2c_block blk; member 291 struct qup_i2c_block *blk = &qup->blk; in qup_i2c_interrupt() local 342 blk->tx_fifo_free += qup->out_blk_sz; in qup_i2c_interrupt() 353 if (!blk->is_rx_blk_mode) { in qup_i2c_interrupt() 354 blk->fifo_available += qup->in_fifo_sz; in qup_i2c_interrupt() 357 blk->fifo_available += qup->in_blk_sz; in qup_i2c_interrupt() 363 if (!blk->rx_bytes_read) in qup_i2c_interrupt() 373 if (blk->is_tx_blk_mode && !(opflags & QUP_MX_OUTPUT_DONE)) in qup_i2c_interrupt() 485 struct qup_i2c_block *blk in qup_i2c_write_tx_fifo_v1() local 948 struct qup_i2c_block *blk = &qup->blk; qup_i2c_read_rx_fifo_v1() local 985 struct qup_i2c_block *blk = &qup->blk; qup_i2c_conf_v1() local 1018 qup_i2c_clear_blk_v1(struct qup_i2c_block * blk) qup_i2c_clear_blk_v1() argument 1027 struct qup_i2c_block *blk = &qup->blk; qup_i2c_conf_xfer_v1() local 1071 struct qup_i2c_block *blk = &qup->blk; qup_i2c_write_one() local 1082 struct qup_i2c_block *blk = &qup->blk; qup_i2c_read_one() local 1154 struct qup_i2c_block *blk = &qup->blk; qup_i2c_conf_count_v2() local 1185 struct qup_i2c_block *blk = &qup->blk; qup_i2c_conf_mode_v2() local 1206 qup_i2c_clear_blk_v2(struct qup_i2c_block * blk) qup_i2c_clear_blk_v2() argument 1224 struct qup_i2c_block *blk = &qup->blk; qup_i2c_recv_data() local 1248 struct qup_i2c_block *blk = &qup->blk; qup_i2c_recv_tags() local 1266 struct qup_i2c_block *blk = &qup->blk; qup_i2c_read_rx_fifo_v2() local 1286 struct qup_i2c_block *blk = &qup->blk; qup_i2c_write_blk_data() local 1308 struct qup_i2c_block *blk = &qup->blk; qup_i2c_write_rx_tags_v2() local 1339 struct qup_i2c_block *blk = &qup->blk; qup_i2c_write_tx_fifo_v2() local 1376 struct qup_i2c_block *blk = &qup->blk; qup_i2c_conf_xfer_v2() local 1462 struct qup_i2c_block *blk = &qup->blk; qup_i2c_xfer_v2_msg() local [all...] |
/linux/sound/synth/ |
H A D | util_mem.c | 62 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 in __snd_util_memblk_new() 127 struct snd_util_memblk *blk; snd_util_mem_alloc() local 140 __snd_util_mem_free(struct snd_util_memhdr * hdr,struct snd_util_memblk * blk) __snd_util_mem_free() argument 151 snd_util_mem_free(struct snd_util_memhdr * hdr,struct snd_util_memblk * blk) snd_util_mem_free() argument [all...] |
/linux/fs/xfs/scrub/ |
H A D | dabtree.c | 55 ds->state->path.blk[level].blkno), in xchk_da_process_error() 77 ds->state->path.blk[level].blkno), in xchk_da_set_corrupt() 92 ds->state->path.blk[level].blkno), in xchk_da_set_preen() 102 struct xfs_da_state_blk *blk = &ds->state->path.blk[level]; in xchk_da_btree_node_entry() local 105 ASSERT(blk->magic == XFS_DA_NODE_MAGIC); in xchk_da_btree_node_entry() 107 xfs_da3_node_hdr_from_disk(ds->sc->mp, &hdr, blk->bp->b_addr); in xchk_da_btree_node_entry() 108 return hdr.btree + blk->index; in xchk_da_btree_node_entry() 269 if (altpath->blk[level].bp) in xchk_da_btree_block_check_sibling() 270 xchk_buffer_recheck(ds->sc, altpath->blk[leve in xchk_da_btree_block_check_sibling() 333 struct xfs_da_state_blk *blk; xchk_da_btree_block() local [all...] |
/linux/drivers/net/phy/mscc/ |
H A D | mscc_ptp.c | 63 static u32 vsc85xx_ts_read_csr(struct phy_device *phydev, enum ts_blk blk, in vsc85xx_ts_read_csr() argument 71 switch (blk) { in vsc85xx_ts_read_csr() 107 static void vsc85xx_ts_write_csr(struct phy_device *phydev, enum ts_blk blk, in vsc85xx_ts_write_csr() argument 118 blk == PROCESSOR; in vsc85xx_ts_write_csr() 121 switch (blk) { in vsc85xx_ts_write_csr() 292 static int vsc85xx_ts_disable_flows(struct phy_device *phydev, enum ts_blk blk) in vsc85xx_ts_disable_flows() argument 296 vsc85xx_ts_write_csr(phydev, blk, MSCC_ANA_IP1_NXT_PROT_NXT_COMP, 0); in vsc85xx_ts_disable_flows() 297 vsc85xx_ts_write_csr(phydev, blk, MSCC_ANA_IP1_NXT_PROT_UDP_CHKSUM, in vsc85xx_ts_disable_flows() 299 vsc85xx_ts_write_csr(phydev, blk, MSCC_ANA_IP2_NXT_PROT_NXT_COMP, 0); in vsc85xx_ts_disable_flows() 300 vsc85xx_ts_write_csr(phydev, blk, MSCC_ANA_IP2_NXT_PROT_UDP_CHKSU in vsc85xx_ts_disable_flows() 506 vsc85xx_ptp_cmp_init(struct phy_device * phydev,enum ts_blk blk) vsc85xx_ptp_cmp_init() argument 540 vsc85xx_eth_cmp1_init(struct phy_device * phydev,enum ts_blk blk) vsc85xx_eth_cmp1_init() argument 572 vsc85xx_ip_cmp1_init(struct phy_device * phydev,enum ts_blk blk) vsc85xx_ip_cmp1_init() argument 783 vsc85xx_eth1_next_comp(struct phy_device * phydev,enum ts_blk blk,u32 next_comp,u32 etype) vsc85xx_eth1_next_comp() argument 801 vsc85xx_ip1_next_comp(struct phy_device * phydev,enum ts_blk blk,u32 next_comp,u32 header) vsc85xx_ip1_next_comp() argument 811 vsc85xx_ts_ptp_action_flow(struct phy_device * phydev,enum ts_blk blk,u8 flow,enum ptp_cmd cmd) vsc85xx_ts_ptp_action_flow() argument 850 vsc85xx_ptp_conf(struct phy_device * phydev,enum ts_blk blk,bool one_step,bool enable) vsc85xx_ptp_conf() argument 884 vsc85xx_eth1_conf(struct phy_device * phydev,enum ts_blk blk,bool enable) vsc85xx_eth1_conf() argument 919 vsc85xx_ip1_conf(struct phy_device * phydev,enum ts_blk blk,bool enable) vsc85xx_ip1_conf() argument [all...] |
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce/ |
H A D | dce_hwseq.h | 61 #define HSWEQ_DCN_PIXEL_RATE_REG_LIST(blk, inst) \ argument 62 SRII(PIXEL_RATE_CNTL, blk, inst), \ 63 SRII(PHYPLL_PIXEL_RATE_CNTL, blk, inst) 65 #define HWSEQ_PIXEL_RATE_REG_LIST(blk) \ argument 66 SRII(PIXEL_RATE_CNTL, blk, 0), \ 67 SRII(PIXEL_RATE_CNTL, blk, 1), \ 68 SRII(PIXEL_RATE_CNTL, blk, 2), \ 69 SRII(PIXEL_RATE_CNTL, blk, 3), \ 70 SRII(PIXEL_RATE_CNTL, blk, 4), \ 71 SRII(PIXEL_RATE_CNTL, blk, 73 HWSEQ_PIXEL_RATE_REG_LIST_201(blk) global() argument 77 HWSEQ_PHYPLL_REG_LIST(blk) global() argument 85 HWSEQ_PIXEL_RATE_REG_LIST_3(blk) global() argument 93 HWSEQ_PHYPLL_REG_LIST_3(blk) global() argument 101 HWSEQ_PIXEL_RATE_REG_LIST_302(blk) global() argument 108 HWSEQ_PHYPLL_REG_LIST_302(blk) global() argument 115 HWSEQ_PIXEL_RATE_REG_LIST_303(blk) global() argument 119 HWSEQ_PHYPLL_REG_LIST_303(blk) global() argument 124 HWSEQ_PHYPLL_REG_LIST_201(blk) global() argument 712 HWSEQ_DCEF_MASK_SH_LIST(mask_sh,blk) global() argument 716 HWSEQ_BLND_MASK_SH_LIST(mask_sh,blk) global() argument 727 HWSEQ_PIXEL_RATE_MASK_SH_LIST(mask_sh,blk) global() argument 731 HWSEQ_PHYPLL_MASK_SH_LIST(mask_sh,blk) global() argument [all...] |
/linux/fs/quota/ |
H A D | quota_tree.c | 56 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 167 remove_free_dqentry(struct qtree_mem_dqinfo * info,char * buf,uint blk) remove_free_dqentry() argument 214 insert_free_dqentry(struct qtree_mem_dqinfo * info,char * buf,uint blk) insert_free_dqentry() argument 262 uint blk, i; find_free_dqentry() local 480 free_dqentry(struct qtree_mem_dqinfo * info,struct dquot * dquot,uint blk) free_dqentry() argument 623 find_block_dqentry(struct qtree_mem_dqinfo * info,struct dquot * dquot,uint blk) find_block_dqentry() argument 666 uint blk; find_tree_dqentry() local 793 find_next_id(struct qtree_mem_dqinfo * info,qid_t * id,unsigned int blk,int depth) find_next_id() argument [all...] |
/linux/sound/soc/intel/catpt/ |
H A D | loader.c | 240 struct catpt_fw_block_hdr *blk) in catpt_restore_fwimage() argument 246 blk, sizeof(*blk), false); in catpt_restore_fwimage() 248 r1.start = cdev->dram.start + blk->ram_offset; in catpt_restore_fwimage() 249 r1.end = r1.start + blk->size - 1; in catpt_restore_fwimage() 251 paddr += sizeof(*blk); in catpt_restore_fwimage() 291 struct catpt_fw_block_hdr *blk, bool alloc) in catpt_load_block() argument 298 blk, sizeof(*blk), false); in catpt_load_block() 300 switch (blk in catpt_load_block() 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/mm/ |
H A D | numa_memblks.c | 26 for (i = 0; i < ARRAY_SIZE(mi->blk); i++) in numa_nodemask_from_meminfo() 27 if (mi->blk[i].start != mi->blk[i].end && in numa_nodemask_from_meminfo() 28 mi->blk[i].nid != NUMA_NO_NODE) in numa_nodemask_from_meminfo() 29 node_set(mi->blk[i].nid, *nodemask); in numa_nodemask_from_meminfo() 152 mi->blk[mi->nr_blks].start = start; in numa_add_memblk_to() 153 mi->blk[mi->nr_blks].end = end; in numa_add_memblk_to() 154 mi->blk[mi->nr_blks].nid = nid; in numa_add_memblk_to() 164 * Remove @idx'th numa_memblk from @mi by shifting @mi->blk[] and 170 memmove(&mi->blk[id in numa_remove_memblk_from() 509 struct numa_memblk **blk = &numa_memblk_list[0]; numa_fill_memblks() local [all...] |
/linux/fs/affs/ |
H A D | bitmap.c | 44 u32 blk, bmap, bit, mask, tmp; in affs_free_block() local 52 blk = block - sbi->s_reserved; in affs_free_block() 53 bmap = blk / sbi->s_bmap_bits; in affs_free_block() 54 bit = blk % sbi->s_bmap_bits; in affs_free_block() 122 u32 blk, bmap, bit, mask, mask2, tmp; in affs_alloc_block() local 144 blk = goal - sbi->s_reserved; in affs_alloc_block() 145 bmap = blk / sbi->s_bmap_bits; in affs_alloc_block() 167 blk = bmap * sbi->s_bmap_bits; in affs_alloc_block() 182 bit = blk % sbi->s_bmap_bits; in affs_alloc_block() 186 blk in affs_alloc_block() 249 u32 size, blk, end, offset, mask; affs_init_bitmap() local [all...] |
/linux/block/partitions/ |
H A D | amiga.c | 43 sector_t blk, end_sect; in amiga_partition() local 50 for (blk = 0; ; blk++, put_dev_sector(sect)) { in amiga_partition() 51 if (blk == RDB_ALLOCATION_LIMIT) in amiga_partition() 53 data = read_part_sector(state, blk, §); in amiga_partition() 56 state->disk->disk_name, blk); in amiga_partition() 73 blk); in amiga_partition() 78 state->disk->disk_name, blk); in amiga_partition() 91 blk = be32_to_cpu(rdb->rdb_PartitionList); in amiga_partition() 93 for (part = 1; (s32) blk> in amiga_partition() [all...] |
/linux/drivers/vdpa/vdpa_sim/ |
H A D | vdpa_sim_blk.c | 61 MODULE_PARM_DESC(shared_backend, "Enable the shared backend between virtio-blk devices"); 67 static void vdpasim_blk_buffer_lock(struct vdpasim_blk *blk) in vdpasim_blk_buffer_lock() argument 69 if (blk->shared_backend) in vdpasim_blk_buffer_lock() 73 static void vdpasim_blk_buffer_unlock(struct vdpasim_blk *blk) in vdpasim_blk_buffer_unlock() argument 75 if (blk->shared_backend) in vdpasim_blk_buffer_unlock() 112 struct vdpasim_blk *blk = sim_to_blk(vdpasim); in vdpasim_blk_handle_req() local 178 vdpasim_blk_buffer_lock(blk); in vdpasim_blk_handle_req() 180 blk->buffer + offset, to_push); in vdpasim_blk_handle_req() 181 vdpasim_blk_buffer_unlock(blk); in vdpasim_blk_handle_req() 201 vdpasim_blk_buffer_lock(blk); in vdpasim_blk_handle_req() 394 struct vdpasim_blk *blk = sim_to_blk(vdpasim); vdpasim_blk_free() local 413 struct vdpasim_blk *blk; vdpasim_blk_dev_add() local [all...] |
/linux/fs/pstore/ |
H A D | Kconfig | 88 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 [all...] |
/linux/Documentation/admin-guide/ |
H A D | pstore-blk.rst | 9 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 [all...] |
/linux/fs/xfs/libxfs/ |
H A D | xfs_da_btree.c | 105 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 1650 struct xfs_da_state_blk *blk; xfs_da3_node_lookup_int() local 2105 struct xfs_da_state_blk *blk; xfs_da3_path_shift() local [all...] |
/linux/Documentation/devicetree/bindings/soc/imx/ |
H A D | fsl,imx8mm-vpu-blk-ctrl.yaml | 4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mm-vpu-blk-ctrl.yaml# 7 title: NXP i.MX8MM VPU blk-ctrl 13 The i.MX8MM VPU blk-ctrl is a top-level peripheral providing access to 20 - const: fsl,imx8mm-vpu-blk-ctrl 60 const: fsl,imx8mm-vpu-blk-ctrl 105 const: fsl,imx8mp-vpu-blk-ctrl 153 blk-ctrl@38330000 { 154 compatible = "fsl,imx8mm-vpu-blk-ctrl", "syscon";
|
/linux/rust/kernel/block/mq/ |
H A D | operations.rs | 3 //! This module provides an interface for blk-mq drivers to implement. 5 //! C header: [`include/linux/blk-mq.h`](srctree/include/linux/blk-mq.h) 17 /// Implement this trait to interface blk-mq as block devices. 43 /// A vtable for blk-mq to interact with a block device driver. 50 /// [`include/linux/blk-mq.h`]. 52 /// [`include/linux/blk-mq.h`]: srctree/include/linux/blk-mq.h 113 /// This function may only be called by blk-mq C infrastructure. 123 /// This function may only be called by blk [all...] |