Home
last modified time | relevance | path

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

12345678910>>...17

/drivers/iio/buffer/
Dindustrialio-buffer-dma.c99 struct iio_dma_buffer_block *block = container_of(kref, in iio_buffer_block_release() local
116 static void iio_buffer_block_get(struct iio_dma_buffer_block *block) in iio_buffer_block_get()
121 static void iio_buffer_block_put(struct iio_dma_buffer_block *block) in iio_buffer_block_put()
135 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
164 static void iio_buffer_block_put_atomic(struct iio_dma_buffer_block *block) in iio_buffer_block_put_atomic()
177 struct iio_dma_buffer_block *block; in iio_dma_buffer_alloc_block() local
207 static void _iio_dma_buffer_block_done(struct iio_dma_buffer_block *block) in _iio_dma_buffer_block_done()
232 void iio_dma_buffer_block_done(struct iio_dma_buffer_block *block) in iio_dma_buffer_block_done()
266 struct iio_dma_buffer_block *block, *_block; in iio_dma_buffer_block_list_abort() local
[all …]
/drivers/net/ethernet/marvell/prestera/
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 …]
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
200 struct prestera_counter_block *block) in prestera_counter_block_put()
226 static int prestera_counter_get_vacant(struct prestera_counter_block *block, in prestera_counter_get_vacant()
[all …]
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 …]
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()
/drivers/gpu/drm/
Ddrm_buddy.c19 struct drm_buddy_block *block; in drm_block_alloc() local
36 struct drm_buddy_block *block) in drm_block_free()
42 struct drm_buddy_block *block) in list_insert_sorted()
60 static void clear_reset(struct drm_buddy_block *block) in clear_reset()
65 static void mark_cleared(struct drm_buddy_block *block) in mark_cleared()
70 static void mark_allocated(struct drm_buddy_block *block) in mark_allocated()
79 struct drm_buddy_block *block) in mark_free()
87 static void mark_split(struct drm_buddy_block *block) in mark_split()
106 __get_buddy(struct drm_buddy_block *block) in __get_buddy()
121 struct drm_buddy_block *block, in __drm_buddy_free()
[all …]
/drivers/net/ethernet/freescale/dpaa2/
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 …]
/drivers/net/ethernet/mellanox/mlxsw/
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 …]
Dspectrum_flower.c59 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_parse_actions()
296 const struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_parse_meta_iif()
339 struct mlxsw_sp_flow_block *block) in mlxsw_sp_flower_parse_meta()
558 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_parse()
702 static int mlxsw_sp_flower_mall_prio_check(struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_mall_prio_check()
731 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_replace()
782 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_destroy()
804 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_stats()
843 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_tmplt_create()
864 struct mlxsw_sp_flow_block *block, in mlxsw_sp_flower_tmplt_destroy()
[all …]
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()
Dspectrum_matchall.c14 mlxsw_sp_mall_entry_find(struct mlxsw_sp_flow_block *block, unsigned long cookie) in mlxsw_sp_mall_entry_find()
184 static void mlxsw_sp_mall_prio_update(struct mlxsw_sp_flow_block *block) in mlxsw_sp_mall_prio_update()
201 struct mlxsw_sp_flow_block *block, in mlxsw_sp_mall_replace()
310 void mlxsw_sp_mall_destroy(struct mlxsw_sp_flow_block *block, in mlxsw_sp_mall_destroy()
334 int mlxsw_sp_mall_port_bind(struct mlxsw_sp_flow_block *block, in mlxsw_sp_mall_port_bind()
356 void mlxsw_sp_mall_port_unbind(struct mlxsw_sp_flow_block *block, in mlxsw_sp_mall_port_unbind()
365 int mlxsw_sp_mall_prio_get(struct mlxsw_sp_flow_block *block, u32 chain_index, in mlxsw_sp_mall_prio_get()
/drivers/s390/block/
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 …]
Ddasd_genhd.c35 int dasd_gendisk_alloc(struct dasd_block *block) in dasd_gendisk_alloc()
118 void dasd_gendisk_free(struct dasd_block *block) in dasd_gendisk_free()
132 int dasd_scan_partitions(struct dasd_block *block) in dasd_scan_partitions()
170 void dasd_destroy_partitions(struct dasd_block *block) in dasd_destroy_partitions()
Ddasd.c149 struct dasd_block *block; in dasd_alloc_block() local
174 void dasd_free_block(struct dasd_block *block) in dasd_free_block()
226 struct dasd_block *block = device->block; in dasd_state_known_to_basic() local
310 struct dasd_block *block = device->block; in dasd_state_basic_to_ready() local
388 struct dasd_block *block = device->block; in dasd_state_ready_to_basic() local
654 static void dasd_profile_start(struct dasd_block *block, in dasd_profile_start()
766 static void dasd_profile_end(struct dasd_block *block, in dasd_profile_end()
1108 #define dasd_profile_start(block, cqr, req) do {} while (0) argument
1109 #define dasd_profile_end(block, cqr, req) do {} while (0) argument
1587 static int dasd_ese_needs_format(struct dasd_block *block, struct irb *irb) in dasd_ese_needs_format()
[all …]
/drivers/md/dm-vdo/
Drecovery-journal.c202 struct recovery_journal_block *block; in pop_free_list() local
222 static inline bool __must_check is_block_dirty(const struct recovery_journal_block *block) in is_block_dirty()
233 static inline bool __must_check is_block_empty(const struct recovery_journal_block *block) in is_block_empty()
244 static inline bool __must_check is_block_full(const struct recovery_journal_block *block) in is_block_full()
280 struct recovery_journal_block *block = get_journal_block(&journal->active_tail_blocks); in has_block_waiters() local
657 struct recovery_journal_block *block) in initialize_recovery_block()
738 struct recovery_journal_block *block = &journal->blocks[i]; in vdo_decode_recovery_journal() local
811 struct recovery_journal_block *block = &journal->blocks[i]; in vdo_free_recovery_journal() local
917 get_block_header(const struct recovery_journal_block *block) in get_block_header()
927 static void set_active_sector(struct recovery_journal_block *block, void *sector) in set_active_sector()
[all …]
/drivers/mtd/
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
268 static int erase_block(struct partition *part, int block) in erase_block()
409 int block, best_block, score, old_sector_block; in reclaim_block() local
481 int block, stop; in find_free_block() local
505 int rc, block; in find_writable_block() local
547 int block, offset, rc; in mark_sector_deleted() local
582 static int find_free_sector(const struct partition *part, const struct block *block) in find_free_sector()
604 struct block *block; in do_writesect() local
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
Dsm_ftl.c192 static loff_t sm_mkoffset(struct sm_ftl *ftl, int zone, int block, int boffset) in sm_mkoffset()
207 int *zone, int *block, int *boffset) in sm_break_offset()
238 int zone, int block, int boffset, in sm_read_sector()
323 int zone, int block, int boffset, in sm_write_sector()
370 int zone, int block, int lba, in sm_write_block()
436 static void sm_mark_block_bad(struct sm_ftl *ftl, int zone, int block) in sm_mark_block_bad()
464 static int sm_erase_block(struct sm_ftl *ftl, int zone_num, uint16_t block, in sm_erase_block()
501 static int sm_check_block(struct sm_ftl *ftl, int zone, int block) in sm_check_block()
683 int block, boffset; in sm_find_cis() local
756 uint16_t block; in sm_init_zone() local
[all …]
/drivers/net/ethernet/google/gve/
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
118 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_remove_napi() local
/drivers/gpio/
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
193 struct sch311x_gpio_block *block = gpiochip_get_data(chip); in sch311x_gpio_direction_in() local
208 struct sch311x_gpio_block *block = gpiochip_get_data(chip); in sch311x_gpio_direction_out() local
224 struct sch311x_gpio_block *block = gpiochip_get_data(chip); in sch311x_gpio_get_direction() local
240 struct sch311x_gpio_block *block = gpiochip_get_data(chip); in sch311x_gpio_set_config() local
269 struct sch311x_gpio_block *block; in sch311x_gpio_probe() local
/drivers/video/fbdev/core/
Dfbmon.c96 static int edid_is_serial_block(unsigned char *block) in edid_is_serial_block()
106 static int edid_is_ascii_block(unsigned char *block) in edid_is_ascii_block()
116 static int edid_is_limits_block(unsigned char *block) in edid_is_limits_block()
126 static int edid_is_monitor_block(unsigned char *block) in edid_is_monitor_block()
136 static int edid_is_timing_block(unsigned char *block) in edid_is_timing_block()
147 unsigned char *block = edid + ID_MANUFACTURER_NAME, manufacturer[4]; in check_edid() local
292 static void parse_vendor_block(unsigned char *block, struct fb_monspecs *specs) in parse_vendor_block()
326 static void get_chroma(unsigned char *block, struct fb_monspecs *specs) in get_chroma()
409 static int get_est_timing(unsigned char *block, struct fb_videomode *mode) in get_est_timing()
494 static int get_std_timing(unsigned char *block, struct fb_videomode *mode, in get_std_timing()
[all …]
/drivers/w1/
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()
238 struct w1_cb_block *block = dev->priv; in w1_send_slave() local
545 struct w1_cb_block *block = NULL; in w1_cn_callback() local
/drivers/gpu/drm/tests/
Ddrm_buddy_test.c29 struct drm_buddy_block *block; in drm_test_buddy_alloc_range_bias() local
266 struct drm_buddy_block *block; in drm_test_buddy_alloc_clear() local
407 struct drm_buddy_block *block; in drm_test_buddy_alloc_contiguous() local
492 struct drm_buddy_block *block; in drm_test_buddy_alloc_pathological() local
573 struct drm_buddy_block *block, *bn; in drm_test_buddy_alloc_pessimistic() local
668 struct drm_buddy_block *block; in drm_test_buddy_alloc_optimistic() local
714 struct drm_buddy_block *block; in drm_test_buddy_alloc_limit() local
/drivers/md/persistent-data/
Ddm-array.c154 struct dm_block **block, struct array_block **ab) in alloc_ablock()
219 struct dm_block **block, struct array_block **ab) in get_ablock()
234 static void unlock_ablock(struct dm_array_info *info, struct dm_block *block) in unlock_ablock()
252 unsigned int index, struct dm_block **block, in lookup_ablock()
270 struct dm_block *block, dm_block_t *root) in insert_ablock()
281 struct dm_block **block, struct array_block **ab) in __shadow_ablock()
301 struct dm_block *block, dm_block_t b, in __reinsert_ablock()
326 unsigned int index, struct dm_block **block, in shadow_ablock()
355 struct dm_block *block; in insert_new_ablock() local
468 struct dm_block *block; in shrink() local
[all …]
/drivers/media/platform/rockchip/rkisp1/
Drkisp1-params.c1625 const union rkisp1_ext_params_config *block) in rkisp1_ext_params_bls()
1645 const union rkisp1_ext_params_config *block) in rkisp1_ext_params_dpcc()
1665 const union rkisp1_ext_params_config *block) in rkisp1_ext_params_sdg()
1685 const union rkisp1_ext_params_config *block) in rkisp1_ext_params_lsc()
1705 const union rkisp1_ext_params_config *block) in rkisp1_ext_params_awbg()
1725 const union rkisp1_ext_params_config *block) in rkisp1_ext_params_flt()
1745 const union rkisp1_ext_params_config *block) in rkisp1_ext_params_bdm()
1765 const union rkisp1_ext_params_config *block) in rkisp1_ext_params_ctk()
1783 const union rkisp1_ext_params_config *block) in rkisp1_ext_params_goc()
1805 const union rkisp1_ext_params_config *block) in rkisp1_ext_params_dpf()
[all …]

12345678910>>...17