Home
last modified time | relevance | path

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

1234

/linux/drivers/md/persistent-data/
H A Ddm-space-map.h78 static inline void dm_sm_destroy(struct dm_space_map *sm) in dm_sm_destroy()
84 static inline int dm_sm_extend(struct dm_space_map *sm, dm_block_t extra_blocks) in dm_sm_extend()
89 static inline int dm_sm_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count) in dm_sm_get_nr_blocks()
94 static inline int dm_sm_get_nr_free(struct dm_space_map *sm, dm_block_t *count) in dm_sm_get_nr_free()
99 static inline int dm_sm_get_count(struct dm_space_map *sm, dm_block_t b, in dm_sm_get_count()
105 static inline int dm_sm_count_is_more_than_one(struct dm_space_map *sm, in dm_sm_count_is_more_than_one()
111 static inline int dm_sm_set_count(struct dm_space_map *sm, dm_block_t b, in dm_sm_set_count()
117 static inline int dm_sm_commit(struct dm_space_map *sm) in dm_sm_commit()
122 static inline int dm_sm_inc_blocks(struct dm_space_map *sm, dm_block_t b, dm_block_t e) in dm_sm_inc_blocks()
127 static inline int dm_sm_inc_block(struct dm_space_map *sm, dm_block_t b) in dm_sm_inc_block()
[all …]
H A Ddm-space-map-metadata.c169 struct dm_space_map sm; member
276 static void sm_metadata_destroy(struct dm_space_map *sm) in sm_metadata_destroy()
283 static int sm_metadata_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count) in sm_metadata_get_nr_blocks()
292 static int sm_metadata_get_nr_free(struct dm_space_map *sm, dm_block_t *count) in sm_metadata_get_nr_free()
302 static int sm_metadata_get_count(struct dm_space_map *sm, dm_block_t b, in sm_metadata_get_count()
342 static int sm_metadata_count_is_more_than_one(struct dm_space_map *sm, in sm_metadata_count_is_more_than_one()
394 static int sm_metadata_set_count(struct dm_space_map *sm, dm_block_t b, in sm_metadata_set_count()
413 static int sm_metadata_inc_blocks(struct dm_space_map *sm, dm_block_t b, dm_block_t e) in sm_metadata_inc_blocks()
432 static int sm_metadata_dec_blocks(struct dm_space_map *sm, dm_block_t b, dm_block_t e) in sm_metadata_dec_blocks()
449 static int sm_metadata_new_block_(struct dm_space_map *sm, dm_block_t *b) in sm_metadata_new_block_()
[all …]
H A Ddm-space-map-disk.c26 struct dm_space_map sm; member
35 static void sm_disk_destroy(struct dm_space_map *sm) in sm_disk_destroy()
42 static int sm_disk_extend(struct dm_space_map *sm, dm_block_t extra_blocks) in sm_disk_extend()
49 static int sm_disk_get_nr_blocks(struct dm_space_map *sm, dm_block_t *count) in sm_disk_get_nr_blocks()
58 static int sm_disk_get_nr_free(struct dm_space_map *sm, dm_block_t *count) in sm_disk_get_nr_free()
67 static int sm_disk_get_count(struct dm_space_map *sm, dm_block_t b, in sm_disk_get_count()
75 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()
90 static int sm_disk_set_count(struct dm_space_map *sm, dm_block_t b, in sm_disk_set_count()
104 static int sm_disk_inc_blocks(struct dm_space_map *sm, dm_block_t b, dm_block_t e) in sm_disk_inc_blocks()
117 static int sm_disk_dec_blocks(struct dm_space_map *sm, dm_block_t b, dm_block_t e) in sm_disk_dec_blocks()
[all …]
H A Ddm-transaction-manager.c95 struct dm_space_map *sm; member
163 struct dm_space_map *sm) in dm_tm_create()
464 struct dm_space_map **sm, in dm_tm_create_internal()
506 struct dm_space_map **sm) in dm_tm_create_with_sm()
515 struct dm_space_map **sm) in dm_tm_open_with_sm()
/linux/drivers/mfd/
H A 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 …]
/linux/drivers/scsi/isci/
H A Dremote_device.c341 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_stop() local
397 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_reset() local
427 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_reset_complete() local
443 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_frame_handler() local
538 struct sci_base_state_machine *sm = &idev->sm; in is_remote_device_ready() local
572 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_event_handler() local
658 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_start_io() local
794 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_complete_io() local
876 struct sci_base_state_machine *sm = &idev->sm; in sci_remote_device_start_task() local
994 static void sci_remote_device_initial_state_enter(struct sci_base_state_machine *sm) in sci_remote_device_initial_state_enter()
[all …]
H A Dphy.c1061 static void sci_phy_starting_initial_substate_enter(struct sci_base_state_machine *sm) in sci_phy_starting_initial_substate_enter()
1069 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()
1077 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()
1085 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()
1093 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()
1101 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()
1108 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()
1115 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()
1122 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()
1129 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 …]
H A Dremote_node_context.c268 static void sci_remote_node_context_initial_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_initial_state_enter()
286 static void sci_remote_node_context_posting_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_posting_state_enter()
293 static void sci_remote_node_context_invalidating_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_invalidating_state_enter()
302 static void sci_remote_node_context_resuming_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_resuming_state_enter()
323 static void sci_remote_node_context_ready_state_enter(struct sci_base_state_machine *sm) in sci_remote_node_context_ready_state_enter()
345 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()
352 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()
373 struct sci_base_state_machine *sm) in sci_remote_node_context_await_suspend_state_exit()
H A Dport.c298 struct sci_base_state_machine *sm = &iport->sm; in port_state_machine_change() local
708 struct sci_base_state_machine *sm = &iport->sm; in sci_port_general_link_up_handler() local
943 static void sci_port_ready_substate_waiting_enter(struct sci_base_state_machine *sm) in sci_port_ready_substate_waiting_enter()
959 struct sci_base_state_machine *sm) in scic_sds_port_ready_substate_waiting_exit()
965 static void sci_port_ready_substate_operational_enter(struct sci_base_state_machine *sm) in sci_port_ready_substate_operational_enter()
1026 static void sci_port_ready_substate_operational_exit(struct sci_base_state_machine *sm) in sci_port_ready_substate_operational_exit()
1045 static void sci_port_ready_substate_configuring_enter(struct sci_base_state_machine *sm) in sci_port_ready_substate_configuring_enter()
1489 static void sci_port_stopped_state_enter(struct sci_base_state_machine *sm) in sci_port_stopped_state_enter()
1502 static void sci_port_stopped_state_exit(struct sci_base_state_machine *sm) in sci_port_stopped_state_exit()
1510 static void sci_port_ready_state_enter(struct sci_base_state_machine *sm) in sci_port_ready_state_enter()
[all …]
H A Dhost.c147 void sci_init_sm(struct sci_base_state_machine *sm, in sci_init_sm()
163 void sci_change_state(struct sci_base_state_machine *sm, u32 next_state) in sci_change_state()
1308 static void sci_controller_initial_state_enter(struct sci_base_state_machine *sm) in sci_controller_initial_state_enter()
1315 static inline void sci_controller_starting_state_exit(struct sci_base_state_machine *sm) in sci_controller_starting_state_exit()
1442 static void sci_controller_ready_state_enter(struct sci_base_state_machine *sm) in sci_controller_ready_state_enter()
1459 static void sci_controller_ready_state_exit(struct sci_base_state_machine *sm) in sci_controller_ready_state_exit()
1522 static void sci_controller_stopping_state_enter(struct sci_base_state_machine *sm) in sci_controller_stopping_state_enter()
1533 static void sci_controller_stopping_state_exit(struct sci_base_state_machine *sm) in sci_controller_stopping_state_exit()
1561 static void sci_controller_resetting_state_enter(struct sci_base_state_machine *sm) in sci_controller_resetting_state_enter()
1597 struct sci_base_state_machine *sm = &ihost->sm; in controller_timeout() local
[all …]
/linux/tools/testing/selftests/filesystems/statmount/
H A Dstatmount_test.c238 struct statmount sm; in test_statmount_zero_mask() local
263 struct statmount sm; in test_statmount_mnt_basic() local
321 struct statmount sm; test_statmount_sb_basic() local
377 struct statmount *sm; test_statmount_mnt_point() local
398 struct statmount *sm; test_statmount_mnt_root() local
430 struct statmount *sm; test_statmount_fs_type() local
454 struct statmount *sm; test_statmount_mnt_opts() local
536 struct statmount *sm; test_statmount_string() local
[all...]
H A Dstatmount_test_ns.c168 struct statmount sm; in _test_statmount_mnt_ns_id() local
256 struct statmount sm; in validate_external_listmount() local
/linux/sound/soc/sof/
H A Dcontrol.c21 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_get() local
36 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_put() local
50 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_volume_info() local
73 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_switch_get() local
88 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; in snd_sof_switch_put() local
/linux/drivers/net/fddi/skfp/
H A 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()
1894 void smt_swap_para(struct smt_header *sm, int len, int direction) in smt_swap_para()
H A Dpmf.c275 struct smt_header *sm ; in smt_pmf_received_pack() local
491 static int smt_authorize(struct s_smc *smc, struct smt_header *sm) in smt_authorize()
526 static int smt_check_set_count(struct s_smc *smc, struct smt_header *sm) in smt_check_set_count()
1552 void dump_smt(struct s_smc *smc, struct smt_header *sm, char *text) in dump_smt()
H A Dess.c112 int ess_raf_received_pack(struct s_smc *smc, SMbuf *mb, struct smt_header *sm, in ess_raf_received_pack()
471 static void ess_send_response(struct s_smc *smc, struct smt_header *sm, in ess_send_response()
/linux/arch/arm64/kernel/
H A Dvdso.c66 static int vdso_mremap(const struct vm_special_mapping *sm, in vdso_mremap()
140 static vm_fault_t vvar_fault(const struct vm_special_mapping *sm, in vvar_fault()
238 static int aarch32_sigpage_mremap(const struct vm_special_mapping *sm, in aarch32_sigpage_mremap()
/linux/arch/loongarch/kernel/
H A Dvdso.c40 static int vdso_mremap(const struct vm_special_mapping *sm, struct vm_area_struct *new_vma) in vdso_mremap()
47 static vm_fault_t vvar_fault(const struct vm_special_mapping *sm, in vvar_fault()
/linux/drivers/net/ethernet/alacritech/
H A 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
1596 struct slic_shmem *sm = &sdev->shmem; in slic_read_eeprom() local
/linux/fs/ceph/
H A Dsnap.c1192 struct ceph_snapid_map *sm, *exist; in ceph_get_snapid_map() local
1269 struct ceph_snapid_map *sm) in ceph_put_snapid_map()
1290 struct ceph_snapid_map *sm; in ceph_trim_snapid_map() local
1320 struct ceph_snapid_map *sm; in ceph_cleanup_snapid_map() local
/linux/drivers/media/test-drivers/visl/
H A Dvisl-dec.h34 const struct v4l2_ctrl_h264_scaling_matrix *sm; member
44 const struct v4l2_ctrl_hevc_scaling_matrix *sm; member
/linux/arch/s390/kernel/
H A Dvdso.c66 static vm_fault_t vvar_fault(const struct vm_special_mapping *sm, in vvar_fault()
108 static int vdso_mremap(const struct vm_special_mapping *sm, in vdso_mremap()
/linux/fs/xfs/scrub/
H A Dcommon.h206 static inline bool xchk_skip_xref(struct xfs_scrub_metadata *sm) in xchk_skip_xref()
217 static inline bool xchk_needs_repair(const struct xfs_scrub_metadata *sm) in xchk_needs_repair()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dctxgf100.c1078 int i, j, sm = 0; in gf100_grctx_generate_r4060a8() local
1293 gf100_grctx_generate_sm_id(struct gf100_gr *gr, int gpc, int tpc, int sm) in gf100_grctx_generate_sm_id()
1306 int sm; in gf100_grctx_generate_floorsweep() local
/linux/arch/arm64/boot/dts/amlogic/
H A Damlogic-a4.dtsi42 sm: secure-monitor { label

1234