Home
last modified time | relevance | path

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

123456

/Linux-v4.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 …]
/Linux-v4.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()
Dcm_common.c97 int omap_cm_wait_module_ready(u8 part, s16 prcm_mod, u16 idlest_reg, in omap_cm_wait_module_ready()
123 int omap_cm_wait_module_idle(u8 part, s16 prcm_mod, u16 idlest_reg, in omap_cm_wait_module_idle()
147 int omap_cm_module_enable(u8 mode, u8 part, u16 inst, u16 clkctrl_offs) in omap_cm_module_enable()
169 int omap_cm_module_disable(u8 part, u16 inst, u16 clkctrl_offs) in omap_cm_module_disable()
181 u32 omap_cm_xlate_clkctrl(u8 part, u16 inst, u16 clkctrl_offs) in omap_cm_xlate_clkctrl()
Dcm33xx.c229 static int am33xx_cm_wait_module_ready(u8 part, s16 inst, u16 clkctrl_offs, in am33xx_cm_wait_module_ready()
252 static int am33xx_cm_wait_module_idle(u8 part, s16 inst, u16 clkctrl_offs, in am33xx_cm_wait_module_idle()
273 static void am33xx_cm_module_enable(u8 mode, u8 part, u16 inst, in am33xx_cm_module_enable()
292 static void am33xx_cm_module_disable(u8 part, u16 inst, u16 clkctrl_offs) in am33xx_cm_module_disable()
347 static u32 am33xx_cm_xlate_clkctrl(u8 part, u16 inst, u16 offset) in am33xx_cm_xlate_clkctrl()
/Linux-v4.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 …]
Dxpc_sn2.c268 xpc_check_for_sent_chctl_flags_sn2(struct xpc_partition *part) in xpc_check_for_sent_chctl_flags_sn2()
308 struct xpc_partition *part = &xpc_partitions[partid]; in xpc_handle_notify_IRQ_sn2() local
328 struct xpc_partition *part = in xpc_check_for_dropped_notify_IRQ_sn2() local
348 struct xpc_partition *part = &xpc_partitions[ch->partid]; in xpc_send_notify_IRQ_sn2() local
384 struct xpc_partition *part = &xpc_partitions[ch->partid]; in xpc_send_local_notify_IRQ_sn2() local
467 xpc_indicate_partition_engaged_sn2(struct xpc_partition *part) in xpc_indicate_partition_engaged_sn2()
494 xpc_indicate_partition_disengaged_sn2(struct xpc_partition *part) in xpc_indicate_partition_disengaged_sn2()
768 xpc_get_remote_heartbeat_sn2(struct xpc_partition *part) in xpc_get_remote_heartbeat_sn2()
837 xpc_request_partition_reactivation_sn2(struct xpc_partition *part) in xpc_request_partition_reactivation_sn2()
843 xpc_request_partition_deactivation_sn2(struct xpc_partition *part) in xpc_request_partition_deactivation_sn2()
[all …]
Dxpc_partition.c270 xpc_partition_disengaged(struct xpc_partition *part) in xpc_partition_disengaged()
314 xpc_mark_partition_active(struct xpc_partition *part) in xpc_mark_partition_active()
338 xpc_deactivate_partition(const int line, struct xpc_partition *part, in xpc_deactivate_partition()
386 xpc_mark_partition_inactive(struct xpc_partition *part) in xpc_mark_partition_inactive()
527 struct xpc_partition *part; in xpc_initiate_partid_to_nasids() local
/Linux-v4.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
/Linux-v4.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 …]
Dspectrum2_kvdl.c54 static int mlxsw_sp2_kvdl_part_find_zero_bits(struct mlxsw_sp2_kvdl_part *part, in mlxsw_sp2_kvdl_part_find_zero_bits()
86 static int mlxsw_sp2_kvdl_part_alloc(struct mlxsw_sp2_kvdl_part *part, in mlxsw_sp2_kvdl_part_alloc()
123 struct mlxsw_sp2_kvdl_part *part, in mlxsw_sp2_kvdl_part_free()
150 struct mlxsw_sp2_kvdl_part *part = kvdl->parts[type]; in mlxsw_sp2_kvdl_alloc() local
162 struct mlxsw_sp2_kvdl_part *part = kvdl->parts[type]; in mlxsw_sp2_kvdl_free() local
182 struct mlxsw_sp2_kvdl_part *part; in mlxsw_sp2_kvdl_part_init() local
214 static void mlxsw_sp2_kvdl_part_fini(struct mlxsw_sp2_kvdl_part *part) in mlxsw_sp2_kvdl_part_fini()
/Linux-v4.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
/Linux-v4.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
/Linux-v4.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
/Linux-v4.19/include/linux/
Dgenhd.h26 #define part_to_dev(part) (&((part)->__dev)) argument
156 struct hd_struct __rcu *part[]; member
216 static inline struct gendisk *part_to_disk(struct hd_struct *part) in part_to_disk()
245 static inline dev_t part_devt(struct hd_struct *part) in part_devt()
253 static inline void disk_put_part(struct hd_struct *part) in disk_put_part()
269 struct hd_struct *part; member
298 #define __part_stat_add(cpu, part, field, addnd) \ argument
301 #define part_stat_read(part, field) \ argument
310 static inline void part_stat_set_all(struct hd_struct *part, int value) in part_stat_set_all()
319 static inline int init_part_stats(struct hd_struct *part) in init_part_stats()
[all …]
Dbcm963xx_nvram.h51 #define BCM963XX_NVRAM_NAND_PART_OFFSET(nvram, part) \ argument
56 enum bcm963xx_nvram_nand_part part) in bcm963xx_nvram_nand_part_offset()
61 #define BCM963XX_NVRAM_NAND_PART_SIZE(nvram, part) \ argument
66 enum bcm963xx_nvram_nand_part part) in bcm963xx_nvram_nand_part_size()
/Linux-v4.19/drivers/misc/
Dsram.c42 struct sram_partition *part; in sram_read() local
57 struct sram_partition *part; in sram_write() local
69 phys_addr_t start, struct sram_partition *part) in sram_add_pool()
89 phys_addr_t start, struct sram_partition *part) in sram_add_export()
110 struct sram_partition *part = &sram->partition[sram->partitions]; in sram_add_partition() local
144 struct sram_partition *part; in sram_free_partitions() local
Dsram-exec.c31 struct sram_partition *part) in sram_check_protect_exec()
45 int sram_add_protect_exec(struct sram_partition *part) in sram_add_protect_exec()
84 struct sram_partition *part = NULL, *p; in sram_exec_copy() local
/Linux-v4.19/fs/orangefs/
Ddir.c17 struct orangefs_dir_part *part; member
134 struct orangefs_dir_part *part, *new; in parse_readdir() local
189 static int fill_from_part(struct orangefs_dir_part *part, in fill_from_part()
245 struct orangefs_dir_part *part; in orangefs_dir_fill() local
291 struct orangefs_dir_part *part = od->part; in orangefs_dir_llseek() local
388 struct orangefs_dir_part *part = od->part; in orangefs_dir_release() local
/Linux-v4.19/arch/powerpc/kernel/
Dnvram_64.c190 int nvram_write_os_partition(struct nvram_os_partition *part, in nvram_write_os_partition()
229 int nvram_read_partition(struct nvram_os_partition *part, char *buff, in nvram_read_partition()
284 int __init nvram_init_os_partition(struct nvram_os_partition *part) in nvram_init_os_partition()
435 struct nvram_os_partition *part = NULL; in nvram_pstore_read() local
813 int part, offset; in dev_nvram_ioctl() local
866 static int __init nvram_write_header(struct nvram_partition * part) in nvram_write_header()
900 static int nvram_can_remove_partition(struct nvram_partition *part, in nvram_can_remove_partition()
930 struct nvram_partition *part, *prev, *tmp; in nvram_remove_partition() local
988 struct nvram_partition *part; in nvram_create_partition() local
1092 struct nvram_partition *part; in nvram_get_partition_size() local
/Linux-v4.19/block/
Dgenhd.c48 void part_inc_in_flight(struct request_queue *q, struct hd_struct *part, int rw) in part_inc_in_flight()
58 void part_dec_in_flight(struct request_queue *q, struct hd_struct *part, int rw) in part_dec_in_flight()
68 void part_in_flight(struct request_queue *q, struct hd_struct *part, in part_in_flight()
85 void part_in_flight_rw(struct request_queue *q, struct hd_struct *part, in part_in_flight_rw()
122 struct hd_struct *part; in disk_get_part() local
206 struct hd_struct *part; in disk_part_iter_next() local
245 static inline int sector_in_part(struct hd_struct *part, sector_t sector) in sector_in_part()
269 struct hd_struct *part; in disk_map_sector_rcu() local
474 int blk_alloc_devt(struct hd_struct *part, dev_t *devt) in blk_alloc_devt()
575 struct hd_struct *part; in register_disk() local
[all …]

123456