Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/mfd/
Dsm501.c133 static void sm501_dump_clk(struct sm501_devdata *sm) in sm501_dump_clk()
190 static void sm501_dump_regs(struct sm501_devdata *sm) in sm501_dump_regs()
210 static void sm501_dump_gate(struct sm501_devdata *sm) in sm501_dump_gate()
221 static inline void sm501_dump_gate(struct sm501_devdata *sm) { } in sm501_dump_gate()
222 static inline void sm501_dump_regs(struct sm501_devdata *sm) { } in sm501_dump_regs()
223 static inline void sm501_dump_clk(struct sm501_devdata *sm) { } in sm501_dump_clk()
231 static void sm501_sync_regs(struct sm501_devdata *sm) in sm501_sync_regs()
236 static inline void sm501_mdelay(struct sm501_devdata *sm, unsigned int delay) in sm501_mdelay()
256 struct sm501_devdata *sm = dev_get_drvdata(dev); in sm501_misc_control() local
290 struct sm501_devdata *sm = dev_get_drvdata(dev); in sm501_modify_reg() local
[all …]
/kernel/linux/linux-5.10/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.c1066 static void sci_phy_starting_initial_substate_enter(struct sci_base_state_machine *sm) in sci_phy_starting_initial_substate_enter()
1074 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()
1082 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()
1090 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()
1098 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()
1106 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()
1113 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()
1120 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()
1127 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()
1134 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.c298 struct sci_base_state_machine *sm = &iport->sm; in port_state_machine_change() local
707 struct sci_base_state_machine *sm = &iport->sm; in sci_port_general_link_up_handler() local
941 static void sci_port_ready_substate_waiting_enter(struct sci_base_state_machine *sm) in sci_port_ready_substate_waiting_enter()
957 struct sci_base_state_machine *sm) in scic_sds_port_ready_substate_waiting_exit()
963 static void sci_port_ready_substate_operational_enter(struct sci_base_state_machine *sm) in sci_port_ready_substate_operational_enter()
1024 static void sci_port_ready_substate_operational_exit(struct sci_base_state_machine *sm) in sci_port_ready_substate_operational_exit()
1043 static void sci_port_ready_substate_configuring_enter(struct sci_base_state_machine *sm) in sci_port_ready_substate_configuring_enter()
1487 static void sci_port_stopped_state_enter(struct sci_base_state_machine *sm) in sci_port_stopped_state_enter()
1500 static void sci_port_stopped_state_exit(struct sci_base_state_machine *sm) in sci_port_stopped_state_exit()
1508 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 …]
/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_client.c24 static inline void free_sm_outbuf(struct hmdfs_send_command *sm) in free_sm_outbuf()
40 struct hmdfs_send_command sm = { in hmdfs_send_open() local
82 struct hmdfs_send_command sm = { in hmdfs_send_close() local
105 struct hmdfs_send_command sm = { in hmdfs_send_fsync() local
135 struct hmdfs_send_command sm = { in hmdfs_client_readpage() local
426 struct hmdfs_send_command sm = { in hmdfs_client_start_readdir() local
470 struct hmdfs_send_command sm = { in hmdfs_client_start_mkdir() local
519 struct hmdfs_send_command sm = { in hmdfs_client_start_create() local
566 struct hmdfs_send_command sm = { in hmdfs_client_start_rmdir() local
597 struct hmdfs_send_command sm = { in hmdfs_client_start_unlink() local
[all …]
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dvdso.c82 const struct vm_special_mapping *sm, in __vdso_remap()
188 static vm_fault_t vvar_fault(const struct vm_special_mapping *sm, in vvar_fault()
222 static int vvar_mremap(const struct vm_special_mapping *sm, in vvar_mremap()
283 static int aarch32_vdso_mremap(const struct vm_special_mapping *sm, in aarch32_vdso_mremap()
456 static int vdso_mremap(const struct vm_special_mapping *sm, in vdso_mremap()
/kernel/linux/linux-5.10/arch/x86/entry/vdso/
Dvma.c59 static vm_fault_t vdso_fault(const struct vm_special_mapping *sm, in vdso_fault()
89 static int vdso_mremap(const struct vm_special_mapping *sm, in vdso_mremap()
104 static int vvar_mremap(const struct vm_special_mapping *sm, in vvar_mremap()
166 static vm_fault_t vvar_fault(const struct vm_special_mapping *sm, in vvar_fault()
/kernel/linux/linux-5.10/fs/xfs/scrub/
Dscrub.c362 struct xfs_scrub_metadata *sm) in xchk_validate_inputs()
460 struct xfs_scrub_metadata *sm) in xfs_scrub_metadata()
Dxfs_scrub.h10 # define xfs_scrub_metadata(ip, sm) (-ENOTTY) argument
Dcommon.h141 static inline bool xchk_skip_xref(struct xfs_scrub_metadata *sm) in xchk_skip_xref()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/sound/soc/sof/
Dcontrol.c71 struct soc_mixer_control *sm = in snd_sof_volume_get() local
89 struct soc_mixer_control *sm = in snd_sof_volume_put() local
120 struct soc_mixer_control *sm = in snd_sof_switch_get() local
136 struct soc_mixer_control *sm = in snd_sof_switch_put() local
/kernel/linux/linux-5.10/arch/s390/kernel/
Dvdso.c44 static vm_fault_t vdso_fault(const struct vm_special_mapping *sm, in vdso_fault()
61 static int vdso_mremap(const struct vm_special_mapping *sm, in vdso_mremap()
/kernel/linux/linux-5.10/drivers/net/fddi/skfp/
Dpmf.c279 struct smt_header *sm ; in smt_pmf_received_pack() local
495 static int smt_authorize(struct s_smc *smc, struct smt_header *sm) in smt_authorize()
530 static int smt_check_set_count(struct s_smc *smc, struct smt_header *sm) in smt_check_set_count()
1556 void dump_smt(struct s_smc *smc, struct smt_header *sm, char *text) in dump_smt()
Dess.c113 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm, in ess_raf_received_pack()
472 static void ess_send_response(struct s_smc *smc, struct smt_header *sm, in ess_send_response()
Dsmt.c463 struct smt_header *sm ; in smt_received_pack() local
828 struct smt_header *sm ; in smt_send_frame() local
854 struct smt_header *sm ; /* header of offending frame */ in smt_send_rdf() local
1642 int smt_check_para(struct s_smc *smc, struct smt_header *sm, in smt_check_para()
1656 void *sm_to_para(struct s_smc *smc, struct smt_header *sm, int para) in sm_to_para()
1802 void smt_swap_para(struct smt_header *sm, int len, int direction) in smt_swap_para()
1900 void smt_swap_para(struct smt_header *sm, int len, int direction) in smt_swap_para()
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
Dbfa_cs.h25 bfa_sm_t sm; /*!< state machine function */ member
53 bfa_sm_to_state(const struct bfa_sm_table *smt, bfa_sm_t sm) in bfa_sm_to_state()
/kernel/linux/linux-5.10/fs/ceph/
Dsnap.c1058 struct ceph_snapid_map *sm, *exist; in ceph_get_snapid_map() local
1133 struct ceph_snapid_map *sm) in ceph_put_snapid_map()
1153 struct ceph_snapid_map *sm; in ceph_trim_snapid_map() local
1182 struct ceph_snapid_map *sm; in ceph_cleanup_snapid_map() local
/kernel/linux/linux-5.10/drivers/net/ethernet/alacritech/
Dslicoss.c627 struct slic_shmem *sm = &sdev->shmem; in slic_handle_link_irq() local
713 struct slic_shmem *sm = &sdev->shmem; in slic_poll() local
736 struct slic_shmem *sm = &sdev->shmem; in slic_irq() local
1227 struct slic_shmem *sm = &sdev->shmem; in slic_init_shmem() local
1247 struct slic_shmem *sm = &sdev->shmem; in slic_free_shmem() local
1256 struct slic_shmem *sm = &sdev->shmem; in slic_init_iface() local
1598 struct slic_shmem *sm = &sdev->shmem; in slic_read_eeprom() local

1234