Home
last modified time | relevance | path

Searched defs:block (Results 1 – 25 of 420) sorted by relevance

12345678910>>...17

/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_flow.c16 static int prestera_flow_block_mall_cb(struct prestera_flow_block *block, in prestera_flow_block_mall_cb()
30 static int prestera_flow_block_flower_cb(struct prestera_flow_block *block, in prestera_flow_block_flower_cb()
54 struct prestera_flow_block *block = cb_priv; in prestera_flow_block_cb() local
68 struct prestera_flow_block *block = cb_priv; in prestera_flow_block_destroy() local
83 struct prestera_flow_block *block; in prestera_flow_block_create() local
103 struct prestera_flow_block *block = cb_priv; in prestera_flow_block_release() local
109 prestera_flow_block_is_bound(const struct prestera_flow_block *block) in prestera_flow_block_is_bound()
115 prestera_flow_block_lookup(struct prestera_flow_block *block, in prestera_flow_block_lookup()
127 static int prestera_flow_block_bind(struct prestera_flow_block *block, in prestera_flow_block_bind()
154 static int prestera_flow_block_unbind(struct prestera_flow_block *block, in prestera_flow_block_unbind()
[all …]
H A Dprestera_counter.c45 prestera_counter_is_ready(struct prestera_counter_block *block, u32 id) in prestera_counter_is_ready()
60 static void prestera_counter_block_lock(struct prestera_counter_block *block) in prestera_counter_block_lock()
65 static void prestera_counter_block_unlock(struct prestera_counter_block *block) in prestera_counter_block_unlock()
70 static bool prestera_counter_block_incref(struct prestera_counter_block *block) in prestera_counter_block_incref()
75 static bool prestera_counter_block_decref(struct prestera_counter_block *block) in prestera_counter_block_decref()
81 static void prestera_counter_stats_clear(struct prestera_counter_block *block, in prestera_counter_stats_clear()
110 struct prestera_counter_block *block) in prestera_counter_block_list_add()
143 struct prestera_counter_block *block; in prestera_counter_block_get() local
199 struct prestera_counter_block *block) in prestera_counter_block_put()
225 static int prestera_counter_get_vacant(struct prestera_counter_block *block, in prestera_counter_get_vacant()
[all …]
H A Dprestera_flower.c24 void prestera_flower_template_cleanup(struct prestera_flow_block *block) in prestera_flower_template_cleanup()
34 prestera_flower_parse_goto_action(struct prestera_flow_block *block, in prestera_flower_parse_goto_action()
61 static int prestera_flower_parse_actions(struct prestera_flow_block *block, in prestera_flower_parse_actions()
141 struct prestera_flow_block *block) in prestera_flower_parse_meta()
191 static int prestera_flower_parse(struct prestera_flow_block *block, in prestera_flower_parse()
374 static int prestera_flower_prio_check(struct prestera_flow_block *block, in prestera_flower_prio_check()
404 int prestera_flower_prio_get(struct prestera_flow_block *block, u32 chain_index, in prestera_flower_prio_get()
417 int prestera_flower_replace(struct prestera_flow_block *block, in prestera_flower_replace()
466 void prestera_flower_destroy(struct prestera_flow_block *block, in prestera_flower_destroy()
485 int prestera_flower_tmplt_create(struct prestera_flow_block *block, in prestera_flower_tmplt_create()
[all …]
H A Dprestera_matchall.c14 static int prestera_mall_prio_check(struct prestera_flow_block *block, in prestera_mall_prio_check()
44 int prestera_mall_prio_get(struct prestera_flow_block *block, in prestera_mall_prio_get()
55 static void prestera_mall_prio_update(struct prestera_flow_block *block, in prestera_mall_prio_update()
62 int prestera_mall_replace(struct prestera_flow_block *block, in prestera_mall_replace()
117 void prestera_mall_destroy(struct prestera_flow_block *block) in prestera_mall_destroy()
/linux/drivers/iio/buffer/
H A Dindustrialio-buffer-dma.c100 struct iio_dma_buffer_block *block = container_of(kref, in iio_buffer_block_release() local
117 static void iio_buffer_block_get(struct iio_dma_buffer_block *block) in iio_buffer_block_get()
122 static void iio_buffer_block_put(struct iio_dma_buffer_block *block) in iio_buffer_block_put()
136 struct iio_dma_buffer_block *block, *_block; in iio_dma_buffer_cleanup_worker() local
149 struct iio_dma_buffer_block *block; in iio_buffer_block_release_atomic() local
162 static void iio_buffer_block_put_atomic(struct iio_dma_buffer_block *block) in iio_buffer_block_put_atomic()
203 static void _iio_dma_buffer_block_done(struct iio_dma_buffer_block *block) in _iio_dma_buffer_block_done()
228 void iio_dma_buffer_block_done(struct iio_dma_buffer_block *block) in iio_dma_buffer_block_done()
260 struct iio_dma_buffer_block *block, *_block; in iio_dma_buffer_block_list_abort() local
286 static bool iio_dma_block_reusable(struct iio_dma_buffer_block *block) in iio_dma_block_reusable()
[all …]
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-switch-flower.c160 dpaa2_switch_acl_entry_remove(struct dpaa2_switch_filter_block *block, in dpaa2_switch_acl_entry_remove()
202 dpaa2_switch_acl_entry_add_to_list(struct dpaa2_switch_filter_block *block, in dpaa2_switch_acl_entry_add_to_list()
225 dpaa2_switch_acl_entry_get_by_index(struct dpaa2_switch_filter_block *block, in dpaa2_switch_acl_entry_get_by_index()
241 dpaa2_switch_acl_entry_set_precedence(struct dpaa2_switch_filter_block *block, in dpaa2_switch_acl_entry_set_precedence()
256 dpaa2_switch_acl_tbl_add_entry(struct dpaa2_switch_filter_block *block, in dpaa2_switch_acl_tbl_add_entry()
289 dpaa2_switch_acl_tbl_find_entry_by_cookie(struct dpaa2_switch_filter_block *block, in dpaa2_switch_acl_tbl_find_entry_by_cookie()
302 dpaa2_switch_acl_entry_get_index(struct dpaa2_switch_filter_block *block, in dpaa2_switch_acl_entry_get_index()
317 dpaa2_switch_mirror_find_entry_by_cookie(struct dpaa2_switch_filter_block *block, in dpaa2_switch_mirror_find_entry_by_cookie()
330 dpaa2_switch_acl_tbl_remove_entry(struct dpaa2_switch_filter_block *block, in dpaa2_switch_acl_tbl_remove_entry()
401 dpaa2_switch_block_add_mirror(struct dpaa2_switch_filter_block *block, in dpaa2_switch_block_add_mirror()
[all …]
/linux/sound/isa/gus/
H A Dgus_mem.c19 snd_gf1_mem_xalloc(struct snd_gf1_mem *alloc, struct snd_gf1_mem_block *block, in snd_gf1_mem_xalloc()
60 int snd_gf1_mem_xfree(struct snd_gf1_mem * alloc, struct snd_gf1_mem_block * block) in snd_gf1_mem_xfree()
92 struct snd_gf1_mem_block *block; in snd_gf1_mem_look() local
105 struct snd_gf1_mem_block *block; in snd_gf1_mem_share() local
118 struct snd_gf1_mem_block * block, in snd_gf1_mem_find()
173 struct snd_gf1_mem_block block, *nblock; in snd_gf1_mem_alloc() local
200 struct snd_gf1_mem_block *block; in snd_gf1_mem_free() local
212 struct snd_gf1_mem_block block; in snd_gf1_mem_init() local
241 struct snd_gf1_mem_block *block, *nblock; in snd_gf1_mem_done() local
259 struct snd_gf1_mem_block *block; in snd_gf1_mem_info_read() local
/linux/drivers/s390/block/
H A Ddasd_ioctl.c91 static int dasd_ioctl_quiesce(struct dasd_block *block) in dasd_ioctl_quiesce()
112 static int dasd_ioctl_resume(struct dasd_block *block) in dasd_ioctl_resume()
135 static int dasd_ioctl_abortio(struct dasd_block *block) in dasd_ioctl_abortio()
171 static int dasd_ioctl_allowio(struct dasd_block *block) in dasd_ioctl_allowio()
192 dasd_format(struct dasd_block *block, struct format_data_t *fdata) in dasd_format()
229 static int dasd_check_format(struct dasd_block *block, in dasd_check_format()
431 static int dasd_ioctl_reset_profile(struct dasd_block *block) in dasd_ioctl_reset_profile()
440 static int dasd_ioctl_read_profile(struct dasd_block *block, void __user *argp) in dasd_ioctl_read_profile()
484 static int dasd_ioctl_reset_profile(struct dasd_block *block) in dasd_ioctl_reset_profile()
489 static int dasd_ioctl_read_profile(struct dasd_block *block, void __user *argp) in dasd_ioctl_read_profile()
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore_acl_flex_actions.c385 static void mlxsw_afa_resource_add(struct mlxsw_afa_block *block, in mlxsw_afa_resource_add()
396 static void mlxsw_afa_resources_destroy(struct mlxsw_afa_block *block) in mlxsw_afa_resources_destroy()
407 struct mlxsw_afa_block *block; in mlxsw_afa_block_create() local
443 void mlxsw_afa_block_destroy(struct mlxsw_afa_block *block) in mlxsw_afa_block_destroy()
458 int mlxsw_afa_block_commit(struct mlxsw_afa_block *block) in mlxsw_afa_block_commit()
492 char *mlxsw_afa_block_first_set(struct mlxsw_afa_block *block) in mlxsw_afa_block_first_set()
498 char *mlxsw_afa_block_cur_set(struct mlxsw_afa_block *block) in mlxsw_afa_block_cur_set()
504 u32 mlxsw_afa_block_first_kvdl_index(struct mlxsw_afa_block *block) in mlxsw_afa_block_first_kvdl_index()
515 int mlxsw_afa_block_activity_get(struct mlxsw_afa_block *block, bool *activity) in mlxsw_afa_block_activity_get()
524 int mlxsw_afa_block_continue(struct mlxsw_afa_block *block) in mlxsw_afa_block_continue()
[all …]
H A Dspectrum_flower.c59 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_parse_actions()
306 const struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_parse_meta_iif()
349 struct mlxsw_sp_flow_block *block) in mlxsw_sp_flower_parse_meta()
568 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_parse()
712 static int mlxsw_sp_flower_mall_prio_check(struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_mall_prio_check()
741 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_replace()
792 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_destroy()
814 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_stats()
855 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_tmplt_create()
876 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_tmplt_destroy()
[all …]
H A Dspectrum_flow.c15 struct mlxsw_sp_flow_block *block; in mlxsw_sp_flow_block_create() local
27 void mlxsw_sp_flow_block_destroy(struct mlxsw_sp_flow_block *block) in mlxsw_sp_flow_block_destroy()
34 mlxsw_sp_flow_block_lookup(struct mlxsw_sp_flow_block *block, in mlxsw_sp_flow_block_lookup()
47 mlxsw_sp_flow_block_ruleset_bound(const struct mlxsw_sp_flow_block *block) in mlxsw_sp_flow_block_ruleset_bound()
53 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flow_block_bind()
108 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flow_block_unbind()
/linux/net/sched/
H A Dcls_api.c181 struct tcf_block *block = chain->block; in tcf_proto_signal_destroying() local
220 struct tcf_block *block = chain->block; in tcf_proto_signal_destroyed() local
417 struct tcf_block *block = tp->chain->block; in tcf_proto_count_usesw() local
489 #define ASSERT_BLOCK_LOCKED(block) \ argument
498 static struct tcf_chain *tcf_chain_create(struct tcf_block *block, in tcf_chain_create()
529 struct tcf_block *block = chain->block; in tcf_chain0_head_change() local
544 struct tcf_block *block = chain->block; in tcf_chain_detach() local
559 static void tcf_block_destroy(struct tcf_block *block) in tcf_block_destroy()
569 struct tcf_block *block = chain->block; in tcf_chain_destroy() local
594 static struct tcf_chain *tcf_chain_lookup(struct tcf_block *block, in tcf_chain_lookup()
[all …]
/linux/drivers/net/ethernet/google/gve/
H A Dgve_utils.c13 struct gve_notify_block *block = in gve_tx_was_added_to_block() local
21 struct gve_notify_block *block = in gve_tx_remove_from_block() local
32 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_tx_add_to_block() local
43 struct gve_notify_block *block = in gve_rx_was_added_to_block() local
51 struct gve_notify_block *block = in gve_rx_remove_from_block() local
60 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_rx_add_to_block() local
111 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_add_napi() local
120 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_remove_napi() local
/linux/fs/xfs/libxfs/
H A Dxfs_rtrmap_btree.h38 struct xfs_btree_block *block, in xfs_rtrmap_rec_addr()
48 struct xfs_btree_block *block, in xfs_rtrmap_key_addr()
58 struct xfs_btree_block *block, in xfs_rtrmap_high_key_addr()
69 struct xfs_btree_block *block, in xfs_rtrmap_ptr_addr()
90 struct xfs_rtrmap_root *block, in xfs_rtrmap_droot_rec_addr()
100 struct xfs_rtrmap_root *block, in xfs_rtrmap_droot_key_addr()
110 struct xfs_rtrmap_root *block, in xfs_rtrmap_droot_ptr_addr()
H A Dxfs_rtrefcount_btree.h37 struct xfs_btree_block *block, in xfs_rtrefcount_rec_addr()
47 struct xfs_btree_block *block, in xfs_rtrefcount_key_addr()
57 struct xfs_btree_block *block, in xfs_rtrefcount_ptr_addr()
79 struct xfs_rtrefcount_root *block, in xfs_rtrefcount_droot_rec_addr()
89 struct xfs_rtrefcount_root *block, in xfs_rtrefcount_droot_key_addr()
99 struct xfs_rtrefcount_root *block, in xfs_rtrefcount_droot_ptr_addr()
H A Dxfs_bmap_btree.h76 struct xfs_btree_block *block, in xfs_bmbt_rec_addr()
87 struct xfs_btree_block *block, in xfs_bmbt_key_addr()
98 struct xfs_btree_block *block, in xfs_bmbt_ptr_addr()
112 struct xfs_bmdr_block *block, in xfs_bmdr_rec_addr()
122 struct xfs_bmdr_block *block, in xfs_bmdr_key_addr()
132 struct xfs_bmdr_block *block, in xfs_bmdr_ptr_addr()
H A Dxfs_rmap_btree.h23 #define XFS_RMAP_REC_ADDR(block, index) \ argument
28 #define XFS_RMAP_KEY_ADDR(block, index) \ argument
33 #define XFS_RMAP_HIGH_KEY_ADDR(block, index) \ argument
39 #define XFS_RMAP_PTR_ADDR(block, index, maxrecs) \ argument
/linux/drivers/mtd/
H A Drfd_ftl.c57 struct block { struct
80 int reserved_block; /* block next up for reclaim */ argument
95 struct block *block = &part->blocks[block_no]; in build_block_map() local
267 static int erase_block(struct partition *part, int block) in erase_block()
408 int block, best_block, score, old_sector_block; in reclaim_block() local
480 int block, stop; in find_free_block() local
504 int rc, block; in find_writable_block() local
546 int block, offset, rc; in mark_sector_deleted() local
581 static int find_free_sector(const struct partition *part, const struct block *block) in find_free_sector()
603 struct block *block; in do_writesect() local
H A Dnftlmount.c28 unsigned int block, boot_record_count = 0; in find_boot_record() local
302 int NFTL_formatblock(struct NFTLrecord *nftl, int block) in NFTL_formatblock()
372 unsigned int block, i, status; in check_sectors_in_chain() local
425 unsigned int length = 0, block = first_block; in calc_chain_length() local
457 unsigned int block = first_block, block1; in format_chain() local
488 static int check_and_mark_free_block(struct NFTLrecord *nftl, int block) in check_and_mark_free_block()
549 static int get_fold_mark(struct NFTLrecord *nftl, unsigned int block) in get_fold_mark()
566 unsigned int block, first_block, is_first_block; in NFTL_mount() local
H A Dsm_ftl.c190 static loff_t sm_mkoffset(struct sm_ftl *ftl, int zone, int block, int boffset) in sm_mkoffset()
205 int *zone, int *block, int *boffset) in sm_break_offset()
236 int zone, int block, int boffset, in sm_read_sector()
321 int zone, int block, int boffset, in sm_write_sector()
368 int zone, int block, int lba, in sm_write_block()
434 static void sm_mark_block_bad(struct sm_ftl *ftl, int zone, int block) in sm_mark_block_bad()
462 static int sm_erase_block(struct sm_ftl *ftl, int zone_num, uint16_t block, in sm_erase_block()
499 static int sm_check_block(struct sm_ftl *ftl, int zone, int block) in sm_check_block()
681 int block, boffset; in sm_find_cis() local
754 uint16_t block; in sm_init_zone() local
[all …]
/linux/drivers/gpio/
H A Dgpio-sch311x.c134 struct sch311x_gpio_block *block = gpiochip_get_data(chip); in sch311x_gpio_request() local
150 struct sch311x_gpio_block *block = gpiochip_get_data(chip); in sch311x_gpio_free() local
160 struct sch311x_gpio_block *block = gpiochip_get_data(chip); in sch311x_gpio_get() local
170 static void __sch311x_gpio_set(struct sch311x_gpio_block *block, in __sch311x_gpio_set()
184 struct sch311x_gpio_block *block = gpiochip_get_data(chip); in sch311x_gpio_set() local
195 struct sch311x_gpio_block *block = gpiochip_get_data(chip); in sch311x_gpio_direction_in() local
210 struct sch311x_gpio_block *block = gpiochip_get_data(chip); in sch311x_gpio_direction_out() local
226 struct sch311x_gpio_block *block = gpiochip_get_data(chip); in sch311x_gpio_get_direction() local
242 struct sch311x_gpio_block *block = gpiochip_get_data(chip); in sch311x_gpio_set_config() local
271 struct sch311x_gpio_block *block; in sch311x_gpio_probe() local
/linux/fs/afs/
H A Ddir_edit.c24 static int afs_find_contig_bits(union afs_xdr_dir_block *block, unsigned int nr_slots) in afs_find_contig_bits()
69 static void afs_set_contig_bits(union afs_xdr_dir_block *block, in afs_set_contig_bits()
90 static void afs_clear_contig_bits(union afs_xdr_dir_block *block, in afs_clear_contig_bits()
111 static union afs_xdr_dir_block *afs_dir_get_block(struct afs_dir_iter *iter, size_t block) in afs_dir_get_block()
165 static int afs_dir_scan_block(const union afs_xdr_dir_block *block, const struct qstr *name, in afs_dir_scan_block()
211 union afs_xdr_dir_block *block, int block_num) in afs_edit_init_block()
245 union afs_xdr_dir_block *meta, *block; in afs_edit_dir_add() local
396 union afs_xdr_dir_block *meta, *block, *pblock; in afs_edit_dir_remove() local
531 union afs_xdr_dir_block *block; in afs_edit_dir_update() local
/linux/drivers/video/fbdev/core/
H A Dfbmon.c101 static int edid_is_serial_block(unsigned char *block) in edid_is_serial_block()
111 static int edid_is_ascii_block(unsigned char *block) in edid_is_ascii_block()
121 static int edid_is_limits_block(unsigned char *block) in edid_is_limits_block()
131 static int edid_is_monitor_block(unsigned char *block) in edid_is_monitor_block()
141 static int edid_is_timing_block(unsigned char *block) in edid_is_timing_block()
152 unsigned char *block = edid + ID_MANUFACTURER_NAME, manufacturer[4]; in check_edid() local
297 static void parse_vendor_block(unsigned char *block, struct fb_monspecs *specs) in parse_vendor_block()
331 static void get_chroma(unsigned char *block, struct fb_monspecs *specs) in get_chroma()
414 static int get_est_timing(unsigned char *block, struct fb_videomode *mode) in get_est_timing()
499 static int get_std_timing(unsigned char *block, struct fb_videomode *mode, in get_std_timing()
[all …]
/linux/drivers/w1/
H A Dw1_netlink.c41 struct w1_cb_block *block; member
55 static u16 w1_reply_len(struct w1_cb_block *block) in w1_reply_len()
62 static void w1_unref_block(struct w1_cb_block *block) in w1_unref_block()
83 static void w1_reply_make_space(struct w1_cb_block *block, u16 space) in w1_reply_make_space()
97 static void w1_netlink_check_send(struct w1_cb_block *block) in w1_netlink_check_send()
112 static void w1_netlink_setup_msg(struct w1_cb_block *block, u32 ack) in w1_netlink_setup_msg()
135 static void w1_netlink_queue_cmd(struct w1_cb_block *block, in w1_netlink_queue_cmd()
162 static void w1_netlink_queue_status(struct w1_cb_block *block, in w1_netlink_queue_status()
236 struct w1_cb_block *block = dev->priv; in w1_send_slave() local
543 struct w1_cb_block *block = NULL; in w1_cn_callback() local
/linux/sound/pci/ctxfi/
H A Dctvmem.c32 struct ct_vm_block *block, *entry; in get_vm_block() local
72 static void put_vm_block(struct ct_vm *vm, struct ct_vm_block *block) in put_vm_block()
122 struct ct_vm_block *block; in ct_vm_map() local
148 static void ct_vm_unmap(struct ct_vm *vm, struct ct_vm_block *block) in ct_vm_unmap()
168 struct ct_vm_block *block; in ct_vm_create() local

12345678910>>...17