Home
last modified time | relevance | path

Searched defs:part (Results 1 – 25 of 278) sorted by relevance

12345678910>>...12

/kernel/linux/linux-4.19/drivers/mtd/
Dmtdpart.c73 struct mtd_part *part = mtd_to_part(mtd); in part_read() local
92 struct mtd_part *part = mtd_to_part(mtd); in part_point() local
100 struct mtd_part *part = mtd_to_part(mtd); in part_unpoint() local
108 struct mtd_part *part = mtd_to_part(mtd); in part_read_oob() local
126 struct mtd_part *part = mtd_to_part(mtd); in part_read_user_prot_reg() local
134 struct mtd_part *part = mtd_to_part(mtd); in part_get_user_prot_info() local
142 struct mtd_part *part = mtd_to_part(mtd); in part_read_fact_prot_reg() local
150 struct mtd_part *part = mtd_to_part(mtd); in part_get_fact_prot_info() local
158 struct mtd_part *part = mtd_to_part(mtd); in part_write() local
166 struct mtd_part *part = mtd_to_part(mtd); in part_panic_write() local
[all …]
Drfd_ftl.c92 static int build_block_map(struct partition *part, int block_no) in build_block_map()
150 static int scan_header(struct partition *part) in scan_header()
244 struct partition *part = (struct partition*)dev; in rfd_ftl_readsect() local
270 static int erase_block(struct partition *part, int block) in erase_block()
321 static int move_block_contents(struct partition *part, int block_no, u_long *old_sector) in move_block_contents()
409 static int reclaim_block(struct partition *part, u_long *old_sector) in reclaim_block()
481 static int find_free_block(struct partition *part) in find_free_block()
505 static int find_writable_block(struct partition *part, u_long *old_sector) in find_writable_block()
547 static int mark_sector_deleted(struct partition *part, u_long old_addr) in mark_sector_deleted()
584 static int find_free_sector(const struct partition *part, const struct block *block) in find_free_sector()
[all …]
Dftl.c151 static int scan_header(partition_t *part) in scan_header()
192 static int build_maps(partition_t *part) in build_maps()
328 static int erase_xfer(partition_t *part, in erase_xfer()
370 static int prepare_xfer(partition_t *part, int i) in prepare_xfer()
428 static int copy_erase_unit(partition_t *part, uint16_t srcunit, in copy_erase_unit()
568 static int reclaim_block(partition_t *part) in reclaim_block()
675 static void dump_lists(partition_t *part) in dump_lists()
687 static uint32_t find_free(partition_t *part) in find_free()
748 static int ftl_read(partition_t *part, caddr_t buffer, in ftl_read()
794 static int set_bam_entry(partition_t *part, uint32_t log_addr, in set_bam_entry()
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-omap2/
Dcminst44xx.c88 static u32 _clkctrl_idlest(u8 part, u16 inst, u16 clkctrl_offs) in _clkctrl_idlest()
105 static bool _is_module_ready(u8 part, u16 inst, u16 clkctrl_offs) in _is_module_ready()
116 static u32 omap4_cminst_read_inst_reg(u8 part, u16 inst, u16 idx) in omap4_cminst_read_inst_reg()
125 static void omap4_cminst_write_inst_reg(u32 val, u8 part, u16 inst, u16 idx) in omap4_cminst_write_inst_reg()
134 static u32 omap4_cminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part, u16 inst, in omap4_cminst_rmw_inst_reg_bits()
147 static u32 omap4_cminst_set_inst_reg_bits(u32 bits, u8 part, u16 inst, s16 idx) in omap4_cminst_set_inst_reg_bits()
152 static u32 omap4_cminst_clear_inst_reg_bits(u32 bits, u8 part, u16 inst, in omap4_cminst_clear_inst_reg_bits()
158 static u32 omap4_cminst_read_inst_reg_bits(u8 part, u16 inst, s16 idx, u32 mask) in omap4_cminst_read_inst_reg_bits()
183 static void _clktrctrl_write(u8 c, u8 part, u16 inst, u16 cdoffs) in _clktrctrl_write()
202 static bool omap4_cminst_is_clkdm_in_hwsup(u8 part, u16 inst, u16 cdoffs) in omap4_cminst_is_clkdm_in_hwsup()
[all …]
Dprminst44xx.c61 u32 omap4_prminst_read_inst_reg(u8 part, s16 inst, u16 idx) in omap4_prminst_read_inst_reg()
70 void omap4_prminst_write_inst_reg(u32 val, u8 part, s16 inst, u16 idx) in omap4_prminst_write_inst_reg()
79 u32 omap4_prminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part, s16 inst, in omap4_prminst_rmw_inst_reg_bits()
102 int omap4_prminst_is_hardreset_asserted(u8 shift, u8 part, s16 inst, in omap4_prminst_is_hardreset_asserted()
126 int omap4_prminst_assert_hardreset(u8 shift, u8 part, s16 inst, in omap4_prminst_assert_hardreset()
155 int omap4_prminst_deassert_hardreset(u8 shift, u8 st_shift, u8 part, s16 inst, in omap4_prminst_deassert_hardreset()
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Dcminst44xx.c85 static u32 _clkctrl_idlest(u8 part, u16 inst, u16 clkctrl_offs) in _clkctrl_idlest()
102 static bool _is_module_ready(u8 part, u16 inst, u16 clkctrl_offs) in _is_module_ready()
113 static u32 omap4_cminst_read_inst_reg(u8 part, u16 inst, u16 idx) in omap4_cminst_read_inst_reg()
122 static void omap4_cminst_write_inst_reg(u32 val, u8 part, u16 inst, u16 idx) in omap4_cminst_write_inst_reg()
131 static u32 omap4_cminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part, u16 inst, in omap4_cminst_rmw_inst_reg_bits()
144 static u32 omap4_cminst_set_inst_reg_bits(u32 bits, u8 part, u16 inst, s16 idx) in omap4_cminst_set_inst_reg_bits()
149 static u32 omap4_cminst_clear_inst_reg_bits(u32 bits, u8 part, u16 inst, in omap4_cminst_clear_inst_reg_bits()
155 static u32 omap4_cminst_read_inst_reg_bits(u8 part, u16 inst, s16 idx, u32 mask) in omap4_cminst_read_inst_reg_bits()
180 static void _clktrctrl_write(u8 c, u8 part, u16 inst, u16 cdoffs) in _clktrctrl_write()
199 static bool omap4_cminst_is_clkdm_in_hwsup(u8 part, u16 inst, u16 cdoffs) in omap4_cminst_is_clkdm_in_hwsup()
[all …]
Dprminst44xx.c58 u32 omap4_prminst_read_inst_reg(u8 part, s16 inst, u16 idx) in omap4_prminst_read_inst_reg()
67 void omap4_prminst_write_inst_reg(u32 val, u8 part, s16 inst, u16 idx) in omap4_prminst_write_inst_reg()
76 u32 omap4_prminst_rmw_inst_reg_bits(u32 mask, u32 bits, u8 part, s16 inst, in omap4_prminst_rmw_inst_reg_bits()
99 int omap4_prminst_is_hardreset_asserted(u8 shift, u8 part, s16 inst, in omap4_prminst_is_hardreset_asserted()
123 int omap4_prminst_assert_hardreset(u8 shift, u8 part, s16 inst, in omap4_prminst_assert_hardreset()
152 int omap4_prminst_deassert_hardreset(u8 shift, u8 st_shift, u8 part, s16 inst, in omap4_prminst_deassert_hardreset()
/kernel/linux/linux-5.10/drivers/misc/sgi-xp/
Dxpc_main.c178 struct xpc_partition *part = from_timer(part, t, disengage_timer); in xpc_timeout_partition_disengage() local
227 struct xpc_partition *part; in xpc_check_remote_hb() local
340 xpc_channel_mgr(struct xpc_partition *part) in xpc_channel_mgr()
401 xpc_setup_ch_structures(struct xpc_partition *part) in xpc_setup_ch_structures()
493 xpc_teardown_ch_structures(struct xpc_partition *part) in xpc_teardown_ch_structures()
535 struct xpc_partition *part = &xpc_partitions[partid]; in xpc_activating() local
585 xpc_activate_partition(struct xpc_partition *part) in xpc_activate_partition()
649 xpc_kthread_waitmsgs(struct xpc_partition *part, struct xpc_channel *ch) in xpc_kthread_waitmsgs()
686 struct xpc_partition *part = &xpc_partitions[partid]; in xpc_kthread_start() local
778 struct xpc_partition *part = &xpc_partitions[ch->partid]; in xpc_create_kthreads() local
[all …]
Dxpc_channel.c82 struct xpc_partition *part = &xpc_partitions[ch->partid]; in xpc_process_disconnect() local
183 xpc_process_openclose_chctl_flags(struct xpc_partition *part, int ch_number, in xpc_process_openclose_chctl_flags()
546 xpc_process_sent_chctl_flags(struct xpc_partition *part) in xpc_process_sent_chctl_flags()
617 xpc_partition_going_down(struct xpc_partition *part, enum xp_retval reason) in xpc_partition_going_down()
658 struct xpc_partition *part; in xpc_initiate_connect() local
711 struct xpc_partition *part; in xpc_initiate_disconnect() local
875 struct xpc_partition *part = &xpc_partitions[partid]; in xpc_initiate_send() local
926 struct xpc_partition *part = &xpc_partitions[partid]; in xpc_initiate_send_notify() local
1000 struct xpc_partition *part = &xpc_partitions[partid]; in xpc_initiate_received() local
/kernel/linux/linux-4.19/drivers/misc/sgi-xp/
Dxpc_main.c177 struct xpc_partition *part = from_timer(part, t, disengage_timer); in xpc_timeout_partition_disengage() local
226 struct xpc_partition *part; in xpc_check_remote_hb() local
346 xpc_channel_mgr(struct xpc_partition *part) in xpc_channel_mgr()
407 xpc_setup_ch_structures(struct xpc_partition *part) in xpc_setup_ch_structures()
499 xpc_teardown_ch_structures(struct xpc_partition *part) in xpc_teardown_ch_structures()
541 struct xpc_partition *part = &xpc_partitions[partid]; in xpc_activating() local
591 xpc_activate_partition(struct xpc_partition *part) in xpc_activate_partition()
655 xpc_kthread_waitmsgs(struct xpc_partition *part, struct xpc_channel *ch) in xpc_kthread_waitmsgs()
692 struct xpc_partition *part = &xpc_partitions[partid]; in xpc_kthread_start() local
784 struct xpc_partition *part = &xpc_partitions[ch->partid]; in xpc_create_kthreads() local
[all …]
Dxpc_channel.c82 struct xpc_partition *part = &xpc_partitions[ch->partid]; in xpc_process_disconnect() local
183 xpc_process_openclose_chctl_flags(struct xpc_partition *part, int ch_number, in xpc_process_openclose_chctl_flags()
546 xpc_process_sent_chctl_flags(struct xpc_partition *part) in xpc_process_sent_chctl_flags()
617 xpc_partition_going_down(struct xpc_partition *part, enum xp_retval reason) in xpc_partition_going_down()
658 struct xpc_partition *part; in xpc_initiate_connect() local
711 struct xpc_partition *part; in xpc_initiate_disconnect() local
875 struct xpc_partition *part = &xpc_partitions[partid]; in xpc_initiate_send() local
926 struct xpc_partition *part = &xpc_partitions[partid]; in xpc_initiate_send_notify() local
1000 struct xpc_partition *part = &xpc_partitions[partid]; in xpc_initiate_received() local
Dxpc_uv.c373 struct xpc_partition *part; in xpc_process_activate_IRQ_rcvd_uv() local
420 xpc_handle_activate_mq_msg_uv(struct xpc_partition *part, in xpc_handle_activate_mq_msg_uv()
623 struct xpc_partition *part; in xpc_handle_activate_IRQ_uv() local
672 xpc_send_activate_IRQ_uv(struct xpc_partition *part, void *msg, size_t msg_size, in xpc_send_activate_IRQ_uv()
728 xpc_send_activate_IRQ_part_uv(struct xpc_partition *part, void *msg, in xpc_send_activate_IRQ_part_uv()
742 struct xpc_partition *part = &xpc_partitions[ch->partid]; in xpc_send_activate_IRQ_ch_uv() local
758 xpc_send_local_activate_IRQ_uv(struct xpc_partition *part, int act_state_req) in xpc_send_local_activate_IRQ_uv()
871 xpc_get_remote_heartbeat_uv(struct xpc_partition *part) in xpc_get_remote_heartbeat_uv()
897 struct xpc_partition *part = &xpc_partitions[partid]; in xpc_request_partition_activation_uv() local
924 xpc_request_partition_reactivation_uv(struct xpc_partition *part) in xpc_request_partition_reactivation_uv()
[all …]
/kernel/linux/linux-4.19/drivers/irqchip/
Dirq-partition-percpu.c36 static bool partition_check_cpu(struct partition_desc *part, in partition_check_cpu()
44 struct partition_desc *part = irq_data_get_irq_chip_data(d); in partition_irq_mask() local
55 struct partition_desc *part = irq_data_get_irq_chip_data(d); in partition_irq_unmask() local
68 struct partition_desc *part = irq_data_get_irq_chip_data(d); in partition_irq_set_irqchip_state() local
83 struct partition_desc *part = irq_data_get_irq_chip_data(d); in partition_irq_get_irqchip_state() local
96 struct partition_desc *part = irq_data_get_irq_chip_data(d); in partition_irq_set_type() local
108 struct partition_desc *part = irq_data_get_irq_chip_data(d); in partition_irq_print_chip() local
126 struct partition_desc *part = irq_desc_get_handler_data(desc); in partition_handle_irq() local
156 struct partition_desc *part; in partition_domain_alloc() local
190 struct partition_affinity *part = NULL; in partition_translate_id() local
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-partition-percpu.c25 static bool partition_check_cpu(struct partition_desc *part, in partition_check_cpu()
33 struct partition_desc *part = irq_data_get_irq_chip_data(d); in partition_irq_mask() local
44 struct partition_desc *part = irq_data_get_irq_chip_data(d); in partition_irq_unmask() local
57 struct partition_desc *part = irq_data_get_irq_chip_data(d); in partition_irq_set_irqchip_state() local
72 struct partition_desc *part = irq_data_get_irq_chip_data(d); in partition_irq_get_irqchip_state() local
85 struct partition_desc *part = irq_data_get_irq_chip_data(d); in partition_irq_set_type() local
97 struct partition_desc *part = irq_data_get_irq_chip_data(d); in partition_irq_print_chip() local
115 struct partition_desc *part = irq_desc_get_handler_data(desc); in partition_handle_irq() local
145 struct partition_desc *part; in partition_domain_alloc() local
179 struct partition_affinity *part = NULL; in partition_translate_id() local
/kernel/linux/linux-4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum1_kvdl.c74 struct mlxsw_sp1_kvdl_part *part, *min_part = NULL; in mlxsw_sp1_kvdl_alloc_size_part() local
91 struct mlxsw_sp1_kvdl_part *part; in mlxsw_sp1_kvdl_index_part() local
118 static int mlxsw_sp1_kvdl_part_alloc(struct mlxsw_sp1_kvdl_part *part, in mlxsw_sp1_kvdl_part_alloc()
136 static void mlxsw_sp1_kvdl_part_free(struct mlxsw_sp1_kvdl_part *part, in mlxsw_sp1_kvdl_part_free()
152 struct mlxsw_sp1_kvdl_part *part; in mlxsw_sp1_kvdl_alloc() local
169 struct mlxsw_sp1_kvdl_part *part; in mlxsw_sp1_kvdl_free() local
184 struct mlxsw_sp1_kvdl_part *part; in mlxsw_sp1_kvdl_alloc_size_query() local
195 static void mlxsw_sp1_kvdl_part_update(struct mlxsw_sp1_kvdl_part *part, in mlxsw_sp1_kvdl_part_update()
213 struct mlxsw_sp1_kvdl_part *part; in mlxsw_sp1_kvdl_part_init() local
240 static void mlxsw_sp1_kvdl_part_fini(struct mlxsw_sp1_kvdl_part *part) in mlxsw_sp1_kvdl_part_fini()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum1_kvdl.c74 struct mlxsw_sp1_kvdl_part *part, *min_part = NULL; in mlxsw_sp1_kvdl_alloc_size_part() local
91 struct mlxsw_sp1_kvdl_part *part; in mlxsw_sp1_kvdl_index_part() local
118 static int mlxsw_sp1_kvdl_part_alloc(struct mlxsw_sp1_kvdl_part *part, in mlxsw_sp1_kvdl_part_alloc()
136 static void mlxsw_sp1_kvdl_part_free(struct mlxsw_sp1_kvdl_part *part, in mlxsw_sp1_kvdl_part_free()
152 struct mlxsw_sp1_kvdl_part *part; in mlxsw_sp1_kvdl_alloc() local
169 struct mlxsw_sp1_kvdl_part *part; in mlxsw_sp1_kvdl_free() local
184 struct mlxsw_sp1_kvdl_part *part; in mlxsw_sp1_kvdl_alloc_size_query() local
195 static void mlxsw_sp1_kvdl_part_update(struct mlxsw_sp1_kvdl_part *part, in mlxsw_sp1_kvdl_part_update()
213 struct mlxsw_sp1_kvdl_part *part; in mlxsw_sp1_kvdl_part_init() local
240 static void mlxsw_sp1_kvdl_part_fini(struct mlxsw_sp1_kvdl_part *part) in mlxsw_sp1_kvdl_part_fini()
[all …]
/kernel/linux/linux-5.10/drivers/mtd/
Drfd_ftl.c93 static int build_block_map(struct partition *part, int block_no) in build_block_map()
151 static int scan_header(struct partition *part) in scan_header()
245 struct partition *part = (struct partition*)dev; in rfd_ftl_readsect() local
271 static int erase_block(struct partition *part, int block) in erase_block()
322 static int move_block_contents(struct partition *part, int block_no, u_long *old_sector) in move_block_contents()
410 static int reclaim_block(struct partition *part, u_long *old_sector) in reclaim_block()
482 static int find_free_block(struct partition *part) in find_free_block()
506 static int find_writable_block(struct partition *part, u_long *old_sector) in find_writable_block()
548 static int mark_sector_deleted(struct partition *part, u_long old_addr) in mark_sector_deleted()
585 static int find_free_sector(const struct partition *part, const struct block *block) in find_free_sector()
[all …]
Dftl.c151 static int scan_header(partition_t *part) in scan_header()
192 static int build_maps(partition_t *part) in build_maps()
328 static int erase_xfer(partition_t *part, in erase_xfer()
370 static int prepare_xfer(partition_t *part, int i) in prepare_xfer()
428 static int copy_erase_unit(partition_t *part, uint16_t srcunit, in copy_erase_unit()
568 static int reclaim_block(partition_t *part) in reclaim_block()
675 static void dump_lists(partition_t *part) in dump_lists()
687 static uint32_t find_free(partition_t *part) in find_free()
748 static int ftl_read(partition_t *part, caddr_t buffer, in ftl_read()
794 static int set_bam_entry(partition_t *part, uint32_t log_addr, in set_bam_entry()
[all …]
/kernel/linux/linux-4.19/drivers/net/ethernet/sfc/falcon/
Dmtd.c33 struct ef4_mtd_partition *part = to_ef4_mtd_partition(mtd); in ef4_mtd_sync() local
43 static void ef4_mtd_remove_partition(struct ef4_mtd_partition *part) in ef4_mtd_remove_partition()
60 struct ef4_mtd_partition *part; in ef4_mtd_add() local
100 struct ef4_mtd_partition *parts, *part, *next; in ef4_mtd_remove() local
118 struct ef4_mtd_partition *part; in ef4_mtd_rename() local
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
Dmtd.c30 struct efx_mtd_partition *part = to_efx_mtd_partition(mtd); in efx_mtd_sync() local
40 static void efx_mtd_remove_partition(struct efx_mtd_partition *part) in efx_mtd_remove_partition()
57 struct efx_mtd_partition *part; in efx_mtd_add() local
100 struct efx_mtd_partition *parts, *part, *next; in efx_mtd_remove() local
118 struct efx_mtd_partition *part; in efx_mtd_rename() local
/kernel/linux/linux-4.19/drivers/net/ethernet/sfc/
Dmtd.c33 struct efx_mtd_partition *part = to_efx_mtd_partition(mtd); in efx_mtd_sync() local
43 static void efx_mtd_remove_partition(struct efx_mtd_partition *part) in efx_mtd_remove_partition()
60 struct efx_mtd_partition *part; in efx_mtd_add() local
100 struct efx_mtd_partition *parts, *part, *next; in efx_mtd_remove() local
118 struct efx_mtd_partition *part; in efx_mtd_rename() local
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/falcon/
Dmtd.c30 struct ef4_mtd_partition *part = to_ef4_mtd_partition(mtd); in ef4_mtd_sync() local
40 static void ef4_mtd_remove_partition(struct ef4_mtd_partition *part) in ef4_mtd_remove_partition()
57 struct ef4_mtd_partition *part; in ef4_mtd_add() local
97 struct ef4_mtd_partition *parts, *part, *next; in ef4_mtd_remove() local
115 struct ef4_mtd_partition *part; in ef4_mtd_rename() local
/kernel/linux/linux-5.10/include/linux/
Dpart_stat.h27 #define part_stat_get_cpu(part, field, cpu) \ argument
30 #define part_stat_get(part, field) \ argument
33 #define part_stat_read(part, field) \ argument
42 static inline void part_stat_set_all(struct hd_struct *part, int value) in part_stat_set_all()
51 #define part_stat_read_accum(part, field) \ argument
56 #define __part_stat_add(part, field, addnd) \ argument
59 #define part_stat_add(part, field, addnd) do { \ argument
/kernel/linux/linux-5.10/block/partitions/
Dcore.c268 struct hd_struct *part = dev_to_part(dev); in part_uevent() local
285 struct hd_struct *part = in hd_struct_free_work() local
305 struct hd_struct *part = container_of(ref, struct hd_struct, ref); in hd_struct_free() local
316 int hd_ref_init(struct hd_struct *part) in hd_ref_init()
327 void delete_partition(struct hd_struct *part) in delete_partition()
501 struct hd_struct *part; in partition_overlaps() local
521 struct hd_struct *part; in bdev_add_partition() local
547 struct hd_struct *part = NULL; in bdev_del_partition() local
584 struct hd_struct *part; in bdev_resize_partition() local
639 struct hd_struct *part; in blk_drop_partitions() local
[all …]
/kernel/linux/linux-4.19/lib/
Dflex_array.c168 struct flex_array_part *part = fa->parts[part_nr]; in __fa_get_part() local
202 struct flex_array_part *part; in flex_array_put() local
233 struct flex_array_part *part; in flex_array_clear() local
275 struct flex_array_part *part; in flex_array_prealloc() local
318 struct flex_array_part *part; in flex_array_get() local
357 static int part_is_free(struct flex_array_part *part) in part_is_free()
378 struct flex_array_part *part; in flex_array_shrink() local

12345678910>>...12