Home
last modified time | relevance | path

Searched defs:sm (Results 1 – 25 of 76) sorted by relevance

1234

/Linux-v4.19/drivers/md/persistent-data/
Ddm-space-map.h77 static inline void dm_sm_destroy(struct dm_space_map *sm) in dm_sm_destroy()
82 static inline int dm_sm_extend(struct dm_space_map *sm, dm_block_t extra_blocks) in dm_sm_extend()
87 static inline int dm_sm_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count) in dm_sm_get_nr_blocks()
92 static inline int dm_sm_get_nr_free(struct dm_space_map *sm, dm_block_t *count) in dm_sm_get_nr_free()
97 static inline int dm_sm_get_count(struct dm_space_map *sm, dm_block_t b, in dm_sm_get_count()
103 static inline int dm_sm_count_is_more_than_one(struct dm_space_map *sm, in dm_sm_count_is_more_than_one()
109 static inline int dm_sm_set_count(struct dm_space_map *sm, dm_block_t b, in dm_sm_set_count()
115 static inline int dm_sm_commit(struct dm_space_map *sm) in dm_sm_commit()
120 static inline int dm_sm_inc_block(struct dm_space_map *sm, dm_block_t b) in dm_sm_inc_block()
125 static inline int dm_sm_dec_block(struct dm_space_map *sm, dm_block_t b) in dm_sm_dec_block()
[all …]
Ddm-space-map-disk.c25 struct dm_space_map sm; member
34 static void sm_disk_destroy(struct dm_space_map *sm) in sm_disk_destroy()
41 static int sm_disk_extend(struct dm_space_map *sm, dm_block_t extra_blocks) in sm_disk_extend()
48 static int sm_disk_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count) in sm_disk_get_nr_blocks()
56 static int sm_disk_get_nr_free(struct dm_space_map *sm, dm_block_t *count) in sm_disk_get_nr_free()
64 static int sm_disk_get_count(struct dm_space_map *sm, dm_block_t b, in sm_disk_get_count()
71 static int sm_disk_count_is_more_than_one(struct dm_space_map *sm, dm_block_t b, in sm_disk_count_is_more_than_one()
86 static int sm_disk_set_count(struct dm_space_map *sm, dm_block_t b, in sm_disk_set_count()
126 static int sm_disk_inc_block(struct dm_space_map *sm, dm_block_t b) in sm_disk_inc_block()
143 static int sm_disk_dec_block(struct dm_space_map *sm, dm_block_t b) in sm_disk_dec_block()
[all …]
Ddm-space-map-metadata.c167 struct dm_space_map sm; member
274 static void sm_metadata_destroy(struct dm_space_map *sm) in sm_metadata_destroy()
281 static int sm_metadata_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count) in sm_metadata_get_nr_blocks()
290 static int sm_metadata_get_nr_free(struct dm_space_map *sm, dm_block_t *count) in sm_metadata_get_nr_free()
300 static int sm_metadata_get_count(struct dm_space_map *sm, dm_block_t b, in sm_metadata_get_count()
340 static int sm_metadata_count_is_more_than_one(struct dm_space_map *sm, in sm_metadata_count_is_more_than_one()
392 static int sm_metadata_set_count(struct dm_space_map *sm, dm_block_t b, in sm_metadata_set_count()
411 static int sm_metadata_inc_block(struct dm_space_map *sm, dm_block_t b) in sm_metadata_inc_block()
428 static int sm_metadata_dec_block(struct dm_space_map *sm, dm_block_t b) in sm_metadata_dec_block()
445 static int sm_metadata_new_block_(struct dm_space_map *sm, dm_block_t *b) in sm_metadata_new_block_()
[all …]
Ddm-transaction-manager.c93 struct dm_space_map *sm; member
161 struct dm_space_map *sm) in dm_tm_create()
398 struct dm_space_map **sm, in dm_tm_create_internal()
440 struct dm_space_map **sm) in dm_tm_create_with_sm()
449 struct dm_space_map **sm) in dm_tm_open_with_sm()
/Linux-v4.19/drivers/mfd/
Dsm501.c135 static void sm501_dump_clk(struct sm501_devdata *sm) in sm501_dump_clk()
192 static void sm501_dump_regs(struct sm501_devdata *sm) in sm501_dump_regs()
212 static void sm501_dump_gate(struct sm501_devdata *sm) in sm501_dump_gate()
223 static inline void sm501_dump_gate(struct sm501_devdata *sm) { } in sm501_dump_gate()
224 static inline void sm501_dump_regs(struct sm501_devdata *sm) { } in sm501_dump_regs()
225 static inline void sm501_dump_clk(struct sm501_devdata *sm) { } in sm501_dump_clk()
233 static void sm501_sync_regs(struct sm501_devdata *sm) in sm501_sync_regs()
238 static inline void sm501_mdelay(struct sm501_devdata *sm, unsigned int delay) in sm501_mdelay()
258 struct sm501_devdata *sm = dev_get_drvdata(dev); in sm501_misc_control() local
292 struct sm501_devdata *sm = dev_get_drvdata(dev); in sm501_modify_reg() local
[all …]
/Linux-v4.19/drivers/scsi/isci/
Dremote_device.c340 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_stop() local
396 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_reset() local
426 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_reset_complete() local
442 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_frame_handler() local
537 struct sci_base_state_machine *sm = &idev->sm; in is_remote_device_ready() local
571 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_event_handler() local
657 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_start_io() local
793 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_complete_io() local
875 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_start_task() local
993 static void sci_remote_device_initial_state_enter(struct sci_base_state_machine *sm) in sci_remote_device_initial_state_enter()
[all …]
Dphy.c1065 static void sci_phy_starting_initial_substate_enter(struct sci_base_state_machine *sm) in sci_phy_starting_initial_substate_enter()
1073 static void sci_phy_starting_await_sas_power_substate_enter(struct sci_base_state_machine *sm) in sci_phy_starting_await_sas_power_substate_enter()
1081 static void sci_phy_starting_await_sas_power_substate_exit(struct sci_base_state_machine *sm) in sci_phy_starting_await_sas_power_substate_exit()
1089 static void sci_phy_starting_await_sata_power_substate_enter(struct sci_base_state_machine *sm) in sci_phy_starting_await_sata_power_substate_enter()
1097 static void sci_phy_starting_await_sata_power_substate_exit(struct sci_base_state_machine *sm) in sci_phy_starting_await_sata_power_substate_exit()
1105 static void sci_phy_starting_await_sata_phy_substate_enter(struct sci_base_state_machine *sm) in sci_phy_starting_await_sata_phy_substate_enter()
1112 static void sci_phy_starting_await_sata_phy_substate_exit(struct sci_base_state_machine *sm) in sci_phy_starting_await_sata_phy_substate_exit()
1119 static void sci_phy_starting_await_sata_speed_substate_enter(struct sci_base_state_machine *sm) in sci_phy_starting_await_sata_speed_substate_enter()
1126 static void sci_phy_starting_await_sata_speed_substate_exit(struct sci_base_state_machine *sm) in sci_phy_starting_await_sata_speed_substate_exit()
1133 static void sci_phy_starting_await_sig_fis_uf_substate_enter(struct sci_base_state_machine *sm) in sci_phy_starting_await_sig_fis_uf_substate_enter()
[all …]
Dremote_node_context.c275 static void sci_remote_node_context_initial_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_initial_state_enter()
293 static void sci_remote_node_context_posting_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_posting_state_enter()
300 static void sci_remote_node_context_invalidating_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_invalidating_state_enter()
309 static void sci_remote_node_context_resuming_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_resuming_state_enter()
330 static void sci_remote_node_context_ready_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_ready_state_enter()
352 static void sci_remote_node_context_tx_suspended_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_tx_suspended_state_enter()
359 static void sci_remote_node_context_tx_rx_suspended_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_tx_rx_suspended_state_enter()
380 struct sci_base_state_machine *sm) in sci_remote_node_context_await_suspend_state_exit()
Dport.c297 struct sci_base_state_machine *sm = &iport->sm; in port_state_machine_change() local
706 struct sci_base_state_machine *sm = &iport->sm; in sci_port_general_link_up_handler() local
940 static void sci_port_ready_substate_waiting_enter(struct sci_base_state_machine *sm) in sci_port_ready_substate_waiting_enter()
956 struct sci_base_state_machine *sm) in scic_sds_port_ready_substate_waiting_exit()
962 static void sci_port_ready_substate_operational_enter(struct sci_base_state_machine *sm) in sci_port_ready_substate_operational_enter()
1023 static void sci_port_ready_substate_operational_exit(struct sci_base_state_machine *sm) in sci_port_ready_substate_operational_exit()
1042 static void sci_port_ready_substate_configuring_enter(struct sci_base_state_machine *sm) in sci_port_ready_substate_configuring_enter()
1486 static void sci_port_stopped_state_enter(struct sci_base_state_machine *sm) in sci_port_stopped_state_enter()
1499 static void sci_port_stopped_state_exit(struct sci_base_state_machine *sm) in sci_port_stopped_state_exit()
1507 static void sci_port_ready_state_enter(struct sci_base_state_machine *sm) in sci_port_ready_state_enter()
[all …]
Dhost.c149 void sci_init_sm(struct sci_base_state_machine *sm, in sci_init_sm()
165 void sci_change_state(struct sci_base_state_machine *sm, u32 next_state) in sci_change_state()
1310 static void sci_controller_initial_state_enter(struct sci_base_state_machine *sm) in sci_controller_initial_state_enter()
1317 static inline void sci_controller_starting_state_exit(struct sci_base_state_machine *sm) in sci_controller_starting_state_exit()
1444 static void sci_controller_ready_state_enter(struct sci_base_state_machine *sm) in sci_controller_ready_state_enter()
1461 static void sci_controller_ready_state_exit(struct sci_base_state_machine *sm) in sci_controller_ready_state_exit()
1524 static void sci_controller_stopping_state_enter(struct sci_base_state_machine *sm) in sci_controller_stopping_state_enter()
1535 static void sci_controller_stopping_state_exit(struct sci_base_state_machine *sm) in sci_controller_stopping_state_exit()
1563 static void sci_controller_resetting_state_enter(struct sci_base_state_machine *sm) in sci_controller_resetting_state_enter()
1599 struct sci_base_state_machine *sm = &ihost->sm; in controller_timeout() local
[all …]
/Linux-v4.19/fs/xfs/scrub/
Dscrub.c369 struct xfs_scrub_metadata *sm) in xchk_validate_inputs()
480 struct xfs_scrub_metadata *sm) in xfs_scrub_metadata()
Dxfs_scrub.h10 # define xfs_scrub_metadata(ip, sm) (-ENOTTY) argument
Dcommon.h132 static inline bool xchk_skip_xref(struct xfs_scrub_metadata *sm) in xchk_skip_xref()
/Linux-v4.19/arch/x86/entry/vdso/
Dvma.c42 static int vdso_fault(const struct vm_special_mapping *sm, in vdso_fault()
72 static int vdso_mremap(const struct vm_special_mapping *sm, in vdso_mremap()
87 static int vvar_fault(const struct vm_special_mapping *sm, in vvar_fault()
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dgv100.c28 gv100_gr_trap_sm(struct gf100_gr *gr, int gpc, int tpc, int sm) in gv100_gr_trap_sm()
66 int sm; in gv100_gr_init_shader_exceptions() local
Dctxgf100.c1100 int i, j, sm = 0; in gf100_grctx_generate_r4060a8() local
1315 gf100_grctx_generate_sm_id(struct gf100_gr *gr, int gpc, int tpc, int sm) in gf100_grctx_generate_sm_id()
1329 int gpc, sm, i, j; in gf100_grctx_generate_floorsweep() local
Dctxgm200.c52 u8 sm, i; in gm200_grctx_generate_smid_config() local
Dctxgp100.c101 u8 sm, i; in gp100_grctx_generate_smid_config() local
/Linux-v4.19/drivers/net/fddi/skfp/
Dpmf.c283 struct smt_header *sm ; in smt_pmf_received_pack() local
499 static int smt_authorize(struct s_smc *smc, struct smt_header *sm) in smt_authorize()
534 static int smt_check_set_count(struct s_smc *smc, struct smt_header *sm) in smt_check_set_count()
1560 void dump_smt(struct s_smc *smc, struct smt_header *sm, char *text) in dump_smt()
Dess.c117 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm, in ess_raf_received_pack()
476 static void ess_send_response(struct s_smc *smc, struct smt_header *sm, in ess_send_response()
Dsmt.c471 struct smt_header *sm ; in smt_received_pack() local
836 struct smt_header *sm ; in smt_send_frame() local
862 struct smt_header *sm ; /* header of offending frame */ in smt_send_rdf() local
1649 int smt_check_para(struct s_smc *smc, struct smt_header *sm, in smt_check_para()
1663 void *sm_to_para(struct s_smc *smc, struct smt_header *sm, int para) in sm_to_para()
1825 void smt_swap_para(struct smt_header *sm, int len, int direction) in smt_swap_para()
1923 void smt_swap_para(struct smt_header *sm, int len, int direction) in smt_swap_para()
/Linux-v4.19/drivers/net/ethernet/brocade/bna/
Dbfa_cs.h33 bfa_sm_t sm; /*!< state machine function */ member
61 bfa_sm_to_state(const struct bfa_sm_table *smt, bfa_sm_t sm) in bfa_sm_to_state()
/Linux-v4.19/arch/s390/kernel/
Dvdso.c50 static vm_fault_t vdso_fault(const struct vm_special_mapping *sm, in vdso_fault()
73 static int vdso_mremap(const struct vm_special_mapping *sm, in vdso_mremap()
/Linux-v4.19/drivers/net/ethernet/alacritech/
Dslicoss.c639 struct slic_shmem *sm = &sdev->shmem; in slic_handle_link_irq() local
725 struct slic_shmem *sm = &sdev->shmem; in slic_poll() local
748 struct slic_shmem *sm = &sdev->shmem; in slic_irq() local
1239 struct slic_shmem *sm = &sdev->shmem; in slic_init_shmem() local
1259 struct slic_shmem *sm = &sdev->shmem; in slic_free_shmem() local
1268 struct slic_shmem *sm = &sdev->shmem; in slic_init_iface() local
1613 struct slic_shmem *sm = &sdev->shmem; in slic_read_eeprom() local
/Linux-v4.19/drivers/scsi/bfa/
Dbfa_fcs.h71 bfa_sm_t sm; /* state machine */ member
82 bfa_sm_t sm; /* state machine */ member
91 bfa_sm_t sm; /* state machine */ member
102 bfa_sm_t sm; /* state machine */ member
145 bfa_sm_t sm; /* state machine */ member
185 bfa_sm_t sm; /* state machine */ member
360 bfa_sm_t sm; /* state machine */ member
413 bfa_sm_t sm; /* state machine */ member
444 bfa_sm_t sm; /* state machine */ member
507 bfa_sm_t sm; /* state machine */ member

1234