Home
last modified time | relevance | path

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

1234567891011

/drivers/iio/buffer/
Dindustrialio-buffer-dma.c96 struct iio_dma_buffer_block *block = container_of(kref, in iio_buffer_block_release() local
108 static void iio_buffer_block_get(struct iio_dma_buffer_block *block) in iio_buffer_block_get()
113 static void iio_buffer_block_put(struct iio_dma_buffer_block *block) in iio_buffer_block_put()
127 struct iio_dma_buffer_block *block, *_block; in iio_dma_buffer_cleanup_worker() local
141 struct iio_dma_buffer_block *block; in iio_buffer_block_release_atomic() local
156 static void iio_buffer_block_put_atomic(struct iio_dma_buffer_block *block) in iio_buffer_block_put_atomic()
169 struct iio_dma_buffer_block *block; in iio_dma_buffer_alloc_block() local
193 static void _iio_dma_buffer_block_done(struct iio_dma_buffer_block *block) in _iio_dma_buffer_block_done()
214 void iio_dma_buffer_block_done(struct iio_dma_buffer_block *block) in iio_dma_buffer_block_done()
241 struct iio_dma_buffer_block *block, *_block; in iio_dma_buffer_block_list_abort() local
[all …]
/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_actions.c293 static void mlxsw_afa_resource_add(struct mlxsw_afa_block *block, in mlxsw_afa_resource_add()
304 static void mlxsw_afa_resources_destroy(struct mlxsw_afa_block *block) in mlxsw_afa_resources_destroy()
315 struct mlxsw_afa_block *block; in mlxsw_afa_block_create() local
351 void mlxsw_afa_block_destroy(struct mlxsw_afa_block *block) in mlxsw_afa_block_destroy()
366 int mlxsw_afa_block_commit(struct mlxsw_afa_block *block) in mlxsw_afa_block_commit()
400 char *mlxsw_afa_block_first_set(struct mlxsw_afa_block *block) in mlxsw_afa_block_first_set()
406 char *mlxsw_afa_block_cur_set(struct mlxsw_afa_block *block) in mlxsw_afa_block_cur_set()
412 u32 mlxsw_afa_block_first_kvdl_index(struct mlxsw_afa_block *block) in mlxsw_afa_block_first_kvdl_index()
423 int mlxsw_afa_block_activity_get(struct mlxsw_afa_block *block, bool *activity) in mlxsw_afa_block_activity_get()
432 int mlxsw_afa_block_continue(struct mlxsw_afa_block *block) in mlxsw_afa_block_continue()
[all …]
Dspectrum_acl.c51 struct mlxsw_sp_acl_block *block; member
97 struct mlxsw_sp *mlxsw_sp_acl_block_mlxsw_sp(struct mlxsw_sp_acl_block *block) in mlxsw_sp_acl_block_mlxsw_sp()
102 unsigned int mlxsw_sp_acl_block_rule_count(struct mlxsw_sp_acl_block *block) in mlxsw_sp_acl_block_rule_count()
107 void mlxsw_sp_acl_block_disable_inc(struct mlxsw_sp_acl_block *block) in mlxsw_sp_acl_block_disable_inc()
113 void mlxsw_sp_acl_block_disable_dec(struct mlxsw_sp_acl_block *block) in mlxsw_sp_acl_block_disable_dec()
119 bool mlxsw_sp_acl_block_disabled(struct mlxsw_sp_acl_block *block) in mlxsw_sp_acl_block_disabled()
124 bool mlxsw_sp_acl_block_is_egress_bound(struct mlxsw_sp_acl_block *block) in mlxsw_sp_acl_block_is_egress_bound()
144 struct mlxsw_sp_acl_block *block, in mlxsw_sp_acl_ruleset_bind()
156 struct mlxsw_sp_acl_block *block, in mlxsw_sp_acl_ruleset_unbind()
166 static bool mlxsw_sp_acl_ruleset_block_bound(struct mlxsw_sp_acl_block *block) in mlxsw_sp_acl_ruleset_block_bound()
[all …]
Dspectrum_flower.c18 struct mlxsw_sp_acl_block *block, in mlxsw_sp_flower_parse_actions()
141 struct mlxsw_sp_acl_block *block) in mlxsw_sp_flower_parse_meta()
322 struct mlxsw_sp_acl_block *block, in mlxsw_sp_flower_parse()
456 struct mlxsw_sp_acl_block *block, in mlxsw_sp_flower_replace()
503 struct mlxsw_sp_acl_block *block, in mlxsw_sp_flower_destroy()
525 struct mlxsw_sp_acl_block *block, in mlxsw_sp_flower_stats()
561 struct mlxsw_sp_acl_block *block, in mlxsw_sp_flower_tmplt_create()
582 struct mlxsw_sp_acl_block *block, in mlxsw_sp_flower_tmplt_destroy()
/drivers/gpu/drm/i915/
Di915_buddy.c48 struct i915_buddy_block *block; in i915_block_alloc() local
61 static void i915_block_free(struct i915_buddy_block *block) in i915_block_free()
66 static void mark_allocated(struct i915_buddy_block *block) in mark_allocated()
75 struct i915_buddy_block *block) in mark_free()
84 static void mark_split(struct i915_buddy_block *block) in mark_split()
187 struct i915_buddy_block *block) in split_block()
215 get_buddy(struct i915_buddy_block *block) in get_buddy()
230 struct i915_buddy_block *block) in __i915_buddy_free()
254 struct i915_buddy_block *block) in i915_buddy_free()
262 struct i915_buddy_block *block, *on; in i915_buddy_free_list() local
[all …]
Di915_buddy.h71 i915_buddy_block_offset(struct i915_buddy_block *block) in i915_buddy_block_offset()
77 i915_buddy_block_order(struct i915_buddy_block *block) in i915_buddy_block_order()
83 i915_buddy_block_state(struct i915_buddy_block *block) in i915_buddy_block_state()
89 i915_buddy_block_is_allocated(struct i915_buddy_block *block) in i915_buddy_block_is_allocated()
95 i915_buddy_block_is_free(struct i915_buddy_block *block) in i915_buddy_block_is_free()
101 i915_buddy_block_is_split(struct i915_buddy_block *block) in i915_buddy_block_is_split()
108 struct i915_buddy_block *block) in i915_buddy_block_size()
/drivers/s390/block/
Ddasd_ioctl.c103 static int dasd_ioctl_quiesce(struct dasd_block *block) in dasd_ioctl_quiesce()
124 static int dasd_ioctl_resume(struct dasd_block *block) in dasd_ioctl_resume()
146 static int dasd_ioctl_abortio(struct dasd_block *block) in dasd_ioctl_abortio()
182 static int dasd_ioctl_allowio(struct dasd_block *block) in dasd_ioctl_allowio()
203 dasd_format(struct dasd_block *block, struct format_data_t *fdata) in dasd_format()
241 static int dasd_check_format(struct dasd_block *block, in dasd_check_format()
393 static int dasd_ioctl_reset_profile(struct dasd_block *block) in dasd_ioctl_reset_profile()
402 static int dasd_ioctl_read_profile(struct dasd_block *block, void __user *argp) in dasd_ioctl_read_profile()
446 static int dasd_ioctl_reset_profile(struct dasd_block *block) in dasd_ioctl_reset_profile()
451 static int dasd_ioctl_read_profile(struct dasd_block *block, void __user *argp) in dasd_ioctl_read_profile()
[all …]
Ddasd_genhd.c30 int dasd_gendisk_alloc(struct dasd_block *block) in dasd_gendisk_alloc()
86 void dasd_gendisk_free(struct dasd_block *block) in dasd_gendisk_free()
99 int dasd_scan_partitions(struct dasd_block *block) in dasd_scan_partitions()
142 void dasd_destroy_partitions(struct dasd_block *block) in dasd_destroy_partitions()
Ddasd.c168 struct dasd_block *block; in dasd_alloc_block() local
191 void dasd_free_block(struct dasd_block *block) in dasd_free_block()
256 struct dasd_block *block = device->block; in dasd_state_known_to_basic() local
341 struct dasd_block *block; in dasd_state_basic_to_ready() local
400 struct dasd_block *block = device->block; in dasd_state_ready_to_basic() local
701 static void dasd_profile_start(struct dasd_block *block, in dasd_profile_start()
811 static void dasd_profile_end(struct dasd_block *block, in dasd_profile_end()
1153 #define dasd_profile_start(block, cqr, req) do {} while (0) argument
1154 #define dasd_profile_end(block, cqr, req) do {} while (0) argument
1640 static int dasd_ese_needs_format(struct dasd_block *block, struct irb *irb) in dasd_ese_needs_format()
[all …]
Ddasd_fba.c131 struct dasd_block *block; in dasd_fba_check_characteristics() local
195 static int dasd_fba_do_analysis(struct dasd_block *block) in dasd_fba_do_analysis()
214 static int dasd_fba_fill_geometry(struct dasd_block *block, in dasd_fba_fill_geometry()
326 struct dasd_block *block, in dasd_fba_build_cp_discard()
439 struct dasd_block *block, in dasd_fba_build_cp_regular()
565 struct dasd_block *block, in dasd_fba_build_cp()
775 static void dasd_fba_setup_blk_queue(struct dasd_block *block) in dasd_fba_setup_blk_queue()
/drivers/gpu/drm/i915/selftests/
Di915_buddy.c14 struct i915_buddy_block *block, in __igt_dump_block()
28 struct i915_buddy_block *block) in igt_dump_block()
40 struct i915_buddy_block *block) in igt_check_block()
118 struct i915_buddy_block *block; in igt_check_blocks() local
203 struct i915_buddy_block *block; in igt_check_mm() local
317 struct i915_buddy_block *block; in igt_buddy_alloc_smoke() local
391 struct i915_buddy_block *block, *bn; in igt_buddy_alloc_pessimistic() local
483 struct i915_buddy_block *block; in igt_buddy_alloc_optimistic() local
533 struct i915_buddy_block *block; in igt_buddy_alloc_pathological() local
644 struct i915_buddy_block *block; in igt_buddy_alloc_range() local
/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
271 static int erase_block(struct partition *part, int block) in erase_block()
412 int block, best_block, score, old_sector_block; in reclaim_block() local
484 int block, stop; in find_free_block() local
508 int rc, block; in find_writable_block() local
550 int block, offset, rc; in mark_sector_deleted() local
585 static int find_free_sector(const struct partition *part, const struct block *block) in find_free_sector()
607 struct block *block; in do_writesect() local
Dnftlmount.c28 unsigned int block, boot_record_count = 0; in find_boot_record() local
305 int NFTL_formatblock(struct NFTLrecord *nftl, int block) in NFTL_formatblock()
375 unsigned int block, i, status; in check_sectors_in_chain() local
428 unsigned int length = 0, block = first_block; in calc_chain_length() local
460 unsigned int block = first_block, block1; in format_chain() local
491 static int check_and_mark_free_block(struct NFTLrecord *nftl, int block) in check_and_mark_free_block()
552 static int get_fold_mark(struct NFTLrecord *nftl, unsigned int block) in get_fold_mark()
569 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()
239 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()
432 static void sm_mark_block_bad(struct sm_ftl *ftl, int zone, int block) in sm_mark_block_bad()
459 static int sm_erase_block(struct sm_ftl *ftl, int zone_num, uint16_t block, in sm_erase_block()
496 static int sm_check_block(struct sm_ftl *ftl, int zone, int block) in sm_check_block()
675 int block, boffset; in sm_find_cis() local
748 uint16_t block; in sm_init_zone() local
[all …]
Dinftlmount.c35 unsigned int i, block; in find_boot_record() local
368 int INFTL_formatblock(struct INFTLrecord *inftl, int block) in INFTL_formatblock()
436 unsigned int block = first_block, block1; in format_chain() local
509 int logical, block, i; in INFTL_dumpVUchains() local
536 unsigned int block, first_block, prev_block, last_block; in INFTL_mount() 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/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
237 struct sch311x_gpio_block *block = gpiochip_get_data(chip); in sch311x_gpio_set_config() local
266 struct sch311x_gpio_block *block; in sch311x_gpio_probe() local
/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()
82 static void w1_reply_make_space(struct w1_cb_block *block, u16 space) in w1_reply_make_space()
95 static void w1_netlink_check_send(struct w1_cb_block *block) in w1_netlink_check_send()
110 static void w1_netlink_setup_msg(struct w1_cb_block *block, u32 ack) in w1_netlink_setup_msg()
133 static void w1_netlink_queue_cmd(struct w1_cb_block *block, in w1_netlink_queue_cmd()
160 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
/drivers/md/persistent-data/
Ddm-array.c154 struct dm_block **block, struct array_block **ab) in alloc_ablock()
221 struct dm_block **block, struct array_block **ab) in get_ablock()
236 static void unlock_ablock(struct dm_array_info *info, struct dm_block *block) in unlock_ablock()
254 unsigned index, struct dm_block **block, in lookup_ablock()
272 struct dm_block *block, dm_block_t *root) in insert_ablock()
283 struct dm_block **block, struct array_block **ab) in __shadow_ablock()
303 struct dm_block *block, dm_block_t b, in __reinsert_ablock()
328 unsigned index, struct dm_block **block, in shadow_ablock()
357 struct dm_block *block; in insert_new_ablock() local
469 struct dm_block *block; in shrink() local
[all …]
/drivers/net/ethernet/google/gve/
Dgve_main.c91 struct gve_notify_block *block = arg; in gve_intr() local
101 struct gve_notify_block *block; in gve_napi_poll() local
200 struct gve_notify_block *block = &priv->ntfy_blocks[i]; in gve_alloc_notify_blocks() local
219 struct gve_notify_block *block = &priv->ntfy_blocks[j]; in gve_alloc_notify_blocks() local
246 struct gve_notify_block *block = &priv->ntfy_blocks[i]; in gve_free_notify_blocks() local
316 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_add_napi() local
324 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_remove_napi() local
805 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_turndown() local
811 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_turndown() local
832 struct gve_notify_block *block = &priv->ntfy_blocks[ntfy_idx]; in gve_turnup() local
[all …]
/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npa.c18 static int npa_aq_enqueue_wait(struct rvu *rvu, struct rvu_block *block, in npa_aq_enqueue_wait()
62 struct rvu_block *block; in rvu_npa_aq_enq_inst() local
283 struct rvu_block *block; in rvu_mbox_handler_npa_lf_alloc() local
380 struct rvu_block *block; in rvu_mbox_handler_npa_lf_free() local
407 static int npa_aq_init(struct rvu *rvu, struct rvu_block *block) in npa_aq_init()
463 struct rvu_block *block; in rvu_npa_freemem() local
Drvu.c62 int rvu_poll_reg(struct rvu *rvu, u64 block, u64 offset, u64 mask, bool zero) in rvu_poll_reg()
165 int rvu_get_lf(struct rvu *rvu, struct rvu_block *block, u16 pcifunc, u16 slot) in rvu_get_lf()
260 struct rvu_block *block, u16 pcifunc, in rvu_update_rsrc_map()
378 struct rvu_block *block; in is_block_implemented() local
390 struct rvu_block *block; in rvu_check_block_implemented() local
403 int rvu_lf_reset(struct rvu *rvu, struct rvu_block *block, int lf) in rvu_lf_reset()
418 struct rvu_block *block = &rvu->hw->block[blkaddr]; in rvu_block_reset() local
441 static void rvu_scan_block(struct rvu *rvu, struct rvu_block *block) in rvu_scan_block()
602 struct rvu_block *block; in rvu_free_hw_resources() local
643 struct rvu_block *block; in rvu_setup_hw_resources() local
[all …]
/drivers/media/cec/
Dcec-api.c122 bool block, __u16 __user *parg) in cec_adap_s_phys_addr()
162 bool block, struct cec_log_addrs __user *parg) in cec_adap_s_log_addrs()
191 bool block, struct cec_msg __user *parg) in cec_transmit()
219 static int cec_receive_msg(struct cec_fh *fh, struct cec_msg *msg, bool block) in cec_receive_msg()
270 bool block, struct cec_msg __user *parg) in cec_receive()
288 bool block, struct cec_event __user *parg) in cec_dqevent()
487 bool block = !(filp->f_flags & O_NONBLOCK); in cec_ioctl() local
/drivers/mfd/
Dqcom-pm8xxx.c123 static int pm8xxx_irq_block_handler(struct pm_irq_chip *chip, int block) in pm8xxx_irq_block_handler()
200 int master, int block) in pm8821_irq_block_handler()
228 int block; in pm8821_irq_master_handler() local
275 u8 block, config; in pm8xxx_irq_mask_ack() local
287 u8 block, config; in pm8xxx_irq_unmask() local
300 u8 block, config; in pm8xxx_irq_set_type() local
333 u8 block; in pm8xxx_irq_get_irqchip_state() local
409 u8 block, master; in pm8821_irq_mask_ack() local
437 u8 block, master; in pm8821_irq_unmask() local
458 u8 block, irq_bit, master; in pm8821_irq_get_irqchip_state() local
/drivers/net/dsa/b53/
Db53_serdes.c20 static void b53_serdes_write_blk(struct b53_device *dev, u8 offset, u16 block, in b53_serdes_write_blk()
27 static u16 b53_serdes_read_blk(struct b53_device *dev, u8 offset, u16 block) in b53_serdes_read_blk()
50 u8 offset, u16 block, u16 value) in b53_serdes_write()
57 u8 offset, u16 block) in b53_serdes_read()

1234567891011