| /linux/drivers/net/ethernet/marvell/prestera/ |
| H A D | prestera_flow.c | 16 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 D | prestera_counter.c | 45 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 D | prestera_flower.c | 24 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 D | prestera_matchall.c | 14 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 D | industrialio-buffer-dma.c | 100 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/fs/lockd/ |
| H A D | svclock.c | 89 nlmsvc_insert_block_locked(struct nlm_block *block, unsigned long when) in nlmsvc_insert_block_locked() 119 static void nlmsvc_insert_block(struct nlm_block *block, unsigned long when) in nlmsvc_insert_block() 130 nlmsvc_remove_block(struct nlm_block *block) in nlmsvc_remove_block() 148 struct nlm_block *block; in nlmsvc_lookup_block() local 190 struct nlm_block *block; in nlmsvc_find_block() local 228 struct nlm_block *block; in nlmsvc_create_block() local 281 static int nlmsvc_unlink_block(struct nlm_block *block) in nlmsvc_unlink_block() 294 struct nlm_block *block = container_of(kref, struct nlm_block, b_count); in nlmsvc_free_block() local 309 static void nlmsvc_release_block(struct nlm_block *block) in nlmsvc_release_block() 323 struct nlm_block *block, *next; in nlmsvc_traverse_blocks() local [all …]
|
| H A D | clntlock.c | 88 void nlmclnt_prepare_block(struct nlm_wait *block, struct nlm_host *host, struct file_lock *fl) in nlmclnt_prepare_block() 105 void nlmclnt_queue_block(struct nlm_wait *block) in nlmclnt_queue_block() 115 __be32 nlmclnt_dequeue_block(struct nlm_wait *block) in nlmclnt_dequeue_block() 129 int nlmclnt_wait(struct nlm_wait *block, struct nlm_rqst *req, long timeout) in nlmclnt_wait() 165 struct nlm_wait *block; in nlmclnt_grant() local 230 struct nlm_wait *block; in reclaimer() local
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_buddy.c | 32 struct drm_buddy_block *block; in drm_block_alloc() local 51 struct drm_buddy_block *block) in drm_block_free() 57 get_block_tree(struct drm_buddy_block *block) in get_block_tree() 80 static bool drm_buddy_block_offset_less(const struct drm_buddy_block *block, in drm_buddy_block_offset_less() 86 static bool rbtree_block_offset_less(struct rb_node *block, in rbtree_block_offset_less() 94 struct drm_buddy_block *block, in rbtree_insert() 103 struct drm_buddy_block *block) in rbtree_remove() 116 static void clear_reset(struct drm_buddy_block *block) in clear_reset() 121 static void mark_cleared(struct drm_buddy_block *block) in mark_cleared() 127 struct drm_buddy_block *block) in mark_allocated() [all …]
|
| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-switch-flower.c | 160 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 D | gus_mem.c | 19 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 D | dasd_ioctl.c | 91 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 D | core_acl_flex_actions.c | 385 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 …]
|
| /linux/drivers/md/dm-vdo/ |
| H A D | recovery-journal.c | 202 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() 282 struct recovery_journal_block *block = get_journal_block(&journal->active_tail_blocks); in has_block_waiters() local 659 struct recovery_journal_block *block) in initialize_recovery_block() 740 struct recovery_journal_block *block = &journal->blocks[i]; in vdo_decode_recovery_journal() local 813 struct recovery_journal_block *block = &journal->blocks[i]; in vdo_free_recovery_journal() local 919 get_block_header(const struct recovery_journal_block *block) in get_block_header() 929 static void set_active_sector(struct recovery_journal_block *block, void *sector) in set_active_sector() [all …]
|
| /linux/net/sched/ |
| H A D | cls_api.c | 181 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 D | gve_utils.c | 13 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 D | xfs_rtrmap_btree.h | 38 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 D | xfs_rtrefcount_btree.h | 37 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 D | xfs_bmap_btree.h | 76 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 D | xfs_rmap_btree.h | 23 #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 D | rfd_ftl.c | 57 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 D | nftlmount.c | 28 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
|
| /linux/drivers/gpio/ |
| H A D | gpio-sch311x.c | 134 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 D | dir_edit.c | 24 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 D | fbmon.c | 101 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/include/linux/ |
| H A D | buffer_head.h | 344 sb_bread(struct super_block *sb, sector_t block) in sb_bread() 350 sb_bread_unmovable(struct super_block *sb, sector_t block) in sb_bread_unmovable() 356 sb_breadahead(struct super_block *sb, sector_t block) in sb_breadahead() 362 sector_t block, unsigned size) in getblk_unmovable() 373 sector_t block, unsigned size) in __getblk() 384 sector_t block) in sb_getblk() 390 sector_t block, gfp_t gfp) in sb_getblk_gfp() 396 sb_find_get_block(struct super_block *sb, sector_t block) in sb_find_get_block() 402 sb_find_get_block_nonatomic(struct super_block *sb, sector_t block) in sb_find_get_block_nonatomic() 408 map_bh(struct buffer_head *bh, struct super_block *sb, sector_t block) in map_bh() [all …]
|