Home
last modified time | relevance | path

Searched defs:sm (Results 1 – 25 of 93) 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.c96 struct dm_space_map *sm; member
183 struct dm_space_map *sm) in dm_tm_create()
484 struct dm_space_map **sm, in dm_tm_create_internal()
526 struct dm_space_map **sm) in dm_tm_create_with_sm()
535 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() argument
190 sm501_dump_regs(struct sm501_devdata * sm) sm501_dump_regs() argument
210 sm501_dump_gate(struct sm501_devdata * sm) sm501_dump_gate() argument
221 sm501_dump_gate(struct sm501_devdata * sm) sm501_dump_gate() argument
222 sm501_dump_regs(struct sm501_devdata * sm) sm501_dump_regs() argument
223 sm501_dump_clk(struct sm501_devdata * sm) sm501_dump_clk() argument
231 sm501_sync_regs(struct sm501_devdata * sm) sm501_sync_regs() argument
236 sm501_mdelay(struct sm501_devdata * sm,unsigned int delay) sm501_mdelay() argument
256 struct sm501_devdata *sm = dev_get_drvdata(dev); sm501_misc_control() local
290 struct sm501_devdata *sm = dev_get_drvdata(dev); sm501_modify_reg() local
317 struct sm501_devdata *sm = dev_get_drvdata(dev); sm501_unit_power() local
512 struct sm501_devdata *sm = dev_get_drvdata(dev); sm501_set_clock() local
657 sm501_create_subdev(struct sm501_devdata * sm,char * name,unsigned int res_count,unsigned int platform_data_size) sm501_create_subdev() argument
690 sm501_register_device(struct sm501_devdata * sm,struct platform_device * pdev) sm501_register_device() argument
719 sm501_create_subio(struct sm501_devdata * sm,struct resource * res,resource_size_t offs,resource_size_t size) sm501_create_subio() argument
735 sm501_create_mem(struct sm501_devdata * sm,struct resource * res,resource_size_t * offs,resource_size_t size) sm501_create_mem() argument
753 sm501_create_irq(struct sm501_devdata * sm,struct resource * res) sm501_create_irq() argument
761 sm501_register_usbhost(struct sm501_devdata * sm,resource_size_t * mem_avail) sm501_register_usbhost() argument
777 sm501_setup_uart_data(struct sm501_devdata * sm,struct plat_serial8250_port * uart_data,unsigned int offset) sm501_setup_uart_data() argument
790 sm501_register_uart(struct sm501_devdata * sm,int devices) sm501_register_uart() argument
820 sm501_register_display(struct sm501_devdata * sm,resource_size_t * mem_avail) sm501_register_display() argument
972 sm501_gpio_register_chip(struct sm501_devdata * sm,struct sm501_gpio * gpio,struct sm501_gpio_chip * chip) sm501_gpio_register_chip() argument
1000 sm501_register_gpio(struct sm501_devdata * sm) sm501_register_gpio() argument
1054 sm501_gpio_remove(struct sm501_devdata * sm) sm501_gpio_remove() argument
1069 sm501_gpio_isregistered(struct sm501_devdata * sm) sm501_gpio_isregistered() argument
1074 sm501_register_gpio(struct sm501_devdata * sm) sm501_register_gpio() argument
1079 sm501_gpio_remove(struct sm501_devdata * sm) sm501_gpio_remove() argument
1083 sm501_gpio_isregistered(struct sm501_devdata * sm) sm501_gpio_isregistered() argument
1089 sm501_register_gpio_i2c_instance(struct sm501_devdata * sm,struct sm501_platdata_gpio_i2c * iic) sm501_register_gpio_i2c_instance() argument
1137 sm501_register_gpio_i2c(struct sm501_devdata * sm,struct sm501_platdata * pdata) sm501_register_gpio_i2c() argument
1161 struct sm501_devdata *sm = dev_get_drvdata(dev) ; dbg_regs_show() local
1186 sm501_init_reg(struct sm501_devdata * sm,unsigned long reg,struct sm501_reg_init * r) sm501_init_reg() argument
1203 sm501_init_regs(struct sm501_devdata * sm,struct sm501_initdata * init) sm501_init_regs() argument
1234 sm501_check_clocks(struct sm501_devdata * sm) sm501_check_clocks() argument
1257 sm501_init_dev(struct sm501_devdata * sm) sm501_init_dev() argument
1335 struct sm501_devdata *sm; sm501_plat_probe() local
1397 sm501_set_power(struct sm501_devdata * sm,int on) sm501_set_power() argument
1421 struct sm501_devdata *sm = platform_get_drvdata(pdev); sm501_plat_suspend() local
1438 struct sm501_devdata *sm = platform_get_drvdata(pdev); sm501_plat_resume() local
1518 struct sm501_devdata *sm; sm501_pci_probe() local
1599 sm501_remove_sub(struct sm501_devdata * sm,struct sm501_device * smdev) sm501_remove_sub() argument
1606 sm501_dev_remove(struct sm501_devdata * sm) sm501_dev_remove() argument
1620 struct sm501_devdata *sm = pci_get_drvdata(dev); sm501_pci_remove() local
1632 struct sm501_devdata *sm = platform_get_drvdata(dev); sm501_plat_remove() local
[all...]
/linux/drivers/scsi/isci/
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() argument
959 scic_sds_port_ready_substate_waiting_exit(struct sci_base_state_machine * sm) scic_sds_port_ready_substate_waiting_exit() argument
965 sci_port_ready_substate_operational_enter(struct sci_base_state_machine * sm) sci_port_ready_substate_operational_enter() argument
1026 sci_port_ready_substate_operational_exit(struct sci_base_state_machine * sm) sci_port_ready_substate_operational_exit() argument
1045 sci_port_ready_substate_configuring_enter(struct sci_base_state_machine * sm) sci_port_ready_substate_configuring_enter() argument
1489 sci_port_stopped_state_enter(struct sci_base_state_machine * sm) sci_port_stopped_state_enter() argument
1502 sci_port_stopped_state_exit(struct sci_base_state_machine * sm) sci_port_stopped_state_exit() argument
1510 sci_port_ready_state_enter(struct sci_base_state_machine * sm) sci_port_ready_state_enter() argument
1531 sci_port_resetting_state_exit(struct sci_base_state_machine * sm) sci_port_resetting_state_exit() argument
1538 sci_port_stopping_state_exit(struct sci_base_state_machine * sm) sci_port_stopping_state_exit() argument
1547 sci_port_failed_state_enter(struct sci_base_state_machine * sm) sci_port_failed_state_enter() argument
[all...]
H A Dhost.c147 void sci_init_sm(struct sci_base_state_machine *sm, in sci_init_sm() argument
163 void sci_change_state(struct sci_base_state_machine *sm, u32 next_state) in sci_change_state() argument
1311 sci_controller_initial_state_enter(struct sci_base_state_machine * sm) sci_controller_initial_state_enter() argument
1318 sci_controller_starting_state_exit(struct sci_base_state_machine * sm) sci_controller_starting_state_exit() argument
1445 sci_controller_ready_state_enter(struct sci_base_state_machine * sm) sci_controller_ready_state_enter() argument
1462 sci_controller_ready_state_exit(struct sci_base_state_machine * sm) sci_controller_ready_state_exit() argument
1525 sci_controller_stopping_state_enter(struct sci_base_state_machine * sm) sci_controller_stopping_state_enter() argument
1536 sci_controller_stopping_state_exit(struct sci_base_state_machine * sm) sci_controller_stopping_state_exit() argument
1564 sci_controller_resetting_state_enter(struct sci_base_state_machine * sm) sci_controller_resetting_state_enter() argument
1600 struct sci_base_state_machine *sm = &ihost->sm; controller_timeout() local
2138 struct sci_base_state_machine *sm = &ihost->sm; sci_controller_initialize() local
[all...]
/linux/tools/testing/selftests/filesystems/statmount/
H A Dstatmount_test.c237 struct statmount sm; test_statmount_zero_mask() local
262 struct statmount sm; test_statmount_mnt_basic() local
320 struct statmount sm; test_statmount_sb_basic() local
376 struct statmount *sm; test_statmount_mnt_point() local
401 struct statmount *sm; test_statmount_mnt_root() local
437 struct statmount *sm; test_statmount_fs_type() local
465 struct statmount *sm; test_statmount_mnt_opts() local
555 struct statmount *sm; test_statmount_string() local
[all...]
H A Dstatmount_test_ns.c92 struct statmount sm; _test_statmount_mnt_ns_id() local
180 struct statmount sm; validate_external_listmount() local
[all...]
/linux/arch/powerpc/kernel/
H A Dvdso.c44 static int vdso_mremap(const struct vm_special_mapping *sm, struct vm_area_struct *new_vma, in vdso_mremap()
57 static int vdso32_mremap(const struct vm_special_mapping *sm, struct vm_area_struct *new_vma) in vdso32_mremap()
62 static int vdso64_mremap(const struct vm_special_mapping *sm, struct vm_area_struct *new_vma) in vdso64_mremap()
67 static void vdso_close(const struct vm_special_mapping *sm, struct vm_area_struct *vma) in vdso_close()
/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; snd_sof_switch_get() local
88 struct soc_mixer_control *sm = (struct soc_mixer_control *)kcontrol->private_value; snd_sof_switch_put() local
[all...]
/linux/arch/x86/entry/vdso/
H A Dvma.c52 vdso_fault(const struct vm_special_mapping * sm,struct vm_area_struct * vma,struct vm_fault * vmf) vdso_fault() argument
76 vdso_mremap(const struct vm_special_mapping * sm,struct vm_area_struct * new_vma) vdso_mremap() argument
87 vvar_vclock_fault(const struct vm_special_mapping * sm,struct vm_area_struct * vma,struct vm_fault * vmf) vvar_vclock_fault() argument
/linux/fs/xfs/scrub/
H A Dscrub.c496 struct xfs_scrub_metadata *sm) in xchk_validate_inputs() argument
658 xfs_scrub_metadata(struct file * file,struct xfs_scrub_metadata * sm) xfs_scrub_metadata() argument
963 struct xfs_scrub_metadata sm = { xfs_ioc_scrubv_metadata() local
[all...]
H A Dcommon.h220 xchk_skip_xref(struct xfs_scrub_metadata * sm) xchk_skip_xref() argument
230 xchk_needs_repair(const struct xfs_scrub_metadata * sm) xchk_needs_repair() argument
/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/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/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/kernel/
H A Dvdso.c60 static int vdso_mremap(const struct vm_special_mapping *sm, in vdso_mremap()
157 static int aarch32_sigpage_mremap(const struct vm_special_mapping *sm, in aarch32_sigpage_mremap()
/linux/tools/perf/util/
H A Dsharded_mutex.h24 static inline struct mutex *sharded_mutex__get_mutex(struct sharded_mutex *sm, size_t hash) in sharded_mutex__get_mutex()
H A Dsharded_mutex.c27 void sharded_mutex__delete(struct sharded_mutex *sm) in sharded_mutex__delete()

1234