| /linux/drivers/md/persistent-data/ |
| H A D | dm-space-map.h | 78 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 D | dm-space-map-metadata.c | 169 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 D | dm-space-map-disk.c | 26 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 D | dm-transaction-manager.c | 96 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 D | sm501.c | 133 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 721 sm501_create_subio(struct sm501_devdata * sm,struct resource * res,resource_size_t offs,resource_size_t size) sm501_create_subio() argument 737 sm501_create_mem(struct sm501_devdata * sm,struct resource * res,resource_size_t * offs,resource_size_t size) sm501_create_mem() argument 755 sm501_create_irq(struct sm501_devdata * sm,struct resource * res) sm501_create_irq() argument 763 sm501_register_usbhost(struct sm501_devdata * sm,resource_size_t * mem_avail) sm501_register_usbhost() argument 779 sm501_setup_uart_data(struct sm501_devdata * sm,struct plat_serial8250_port * uart_data,unsigned int offset) sm501_setup_uart_data() argument 792 sm501_register_uart(struct sm501_devdata * sm,int devices) sm501_register_uart() argument 822 sm501_register_display(struct sm501_devdata * sm,resource_size_t * mem_avail) sm501_register_display() argument 974 sm501_gpio_register_chip(struct sm501_devdata * sm,struct sm501_gpio * gpio,struct sm501_gpio_chip * chip) sm501_gpio_register_chip() argument 1002 sm501_register_gpio(struct sm501_devdata * sm) sm501_register_gpio() argument 1056 sm501_gpio_remove(struct sm501_devdata * sm) sm501_gpio_remove() argument 1071 sm501_gpio_isregistered(struct sm501_devdata * sm) sm501_gpio_isregistered() argument 1076 sm501_register_gpio(struct sm501_devdata * sm) sm501_register_gpio() argument 1081 sm501_gpio_remove(struct sm501_devdata * sm) sm501_gpio_remove() argument 1085 sm501_gpio_isregistered(struct sm501_devdata * sm) sm501_gpio_isregistered() argument 1091 sm501_register_gpio_i2c_instance(struct sm501_devdata * sm,struct sm501_platdata_gpio_i2c * iic) sm501_register_gpio_i2c_instance() argument 1139 sm501_register_gpio_i2c(struct sm501_devdata * sm,struct sm501_platdata * pdata) sm501_register_gpio_i2c() argument 1163 struct sm501_devdata *sm = dev_get_drvdata(dev) ; dbg_regs_show() local 1188 sm501_init_reg(struct sm501_devdata * sm,unsigned long reg,struct sm501_reg_init * r) sm501_init_reg() argument 1205 sm501_init_regs(struct sm501_devdata * sm,struct sm501_initdata * init) sm501_init_regs() argument 1236 sm501_check_clocks(struct sm501_devdata * sm) sm501_check_clocks() argument 1259 sm501_init_dev(struct sm501_devdata * sm) sm501_init_dev() argument 1337 struct sm501_devdata *sm; sm501_plat_probe() local 1399 sm501_set_power(struct sm501_devdata * sm,int on) sm501_set_power() argument 1423 struct sm501_devdata *sm = platform_get_drvdata(pdev); sm501_plat_suspend() local 1440 struct sm501_devdata *sm = platform_get_drvdata(pdev); sm501_plat_resume() local 1520 struct sm501_devdata *sm; sm501_pci_probe() local 1601 sm501_remove_sub(struct sm501_devdata * sm,struct sm501_device * smdev) sm501_remove_sub() argument 1608 sm501_dev_remove(struct sm501_devdata * sm) sm501_dev_remove() argument 1622 struct sm501_devdata *sm = pci_get_drvdata(dev); sm501_pci_remove() local 1635 struct sm501_devdata *sm = platform_get_drvdata(dev); sm501_plat_remove() local [all...] |
| /linux/drivers/scsi/isci/ |
| H A D | phy.c | 1061 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 D | remote_node_context.c | 268 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()
|
| /linux/tools/testing/selftests/filesystems/statmount/ |
| H A D | statmount_test.c | 210 struct statmount sm; test_statmount_zero_mask() local 235 struct statmount sm; test_statmount_mnt_basic() local 293 struct statmount sm; test_statmount_sb_basic() local 349 struct statmount *sm; test_statmount_mnt_point() local 374 struct statmount *sm; test_statmount_mnt_root() local 410 struct statmount *sm; test_statmount_fs_type() local 438 struct statmount *sm; test_statmount_mnt_opts() local 528 struct statmount *sm; test_statmount_string() local 636 struct statmount *sm = NULL; test_statmount_by_fd() local 775 struct statmount *sm = NULL; test_statmount_by_fd_unmounted() local [all...] |
| H A D | statmount_test_ns.c | 92 struct statmount sm; _test_statmount_mnt_ns_id() local 180 struct statmount sm; validate_external_listmount() local [all...] |
| /linux/arch/powerpc/kernel/ |
| H A D | vdso.c | 44 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 D | control.c | 21 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/fs/xfs/scrub/ |
| H A D | scrub.c | 496 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 962 struct xfs_scrub_metadata sm = { xfs_ioc_scrubv_metadata() local [all...] |
| H A D | common.h | 221 xchk_skip_xref(struct xfs_scrub_metadata * sm) xchk_skip_xref() argument 231 xchk_needs_repair(const struct xfs_scrub_metadata * sm) xchk_needs_repair() argument
|
| /linux/tools/testing/selftests/filesystems/open_tree_ns/ |
| H A D | open_tree_ns_test.c | 60 static void log_mount(struct __test_metadata *_metadata, struct statmount *sm) in log_mount() 94 struct statmount *sm; in dump_mounts() local 301 struct statmount sm; in TEST_F() local 727 struct statmount *sm; in TEST_F() local 844 struct statmount *sm; in TEST_F() local 985 struct statmount *sm; in TEST_F() local
|
| /linux/drivers/net/fddi/skfp/ |
| H A D | smt.c | 463 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 D | pmf.c | 275 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 D | ess.c | 112 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 D | slicoss.c | 627 struct slic_shmem *sm = &sdev->shmem; slic_handle_link_irq() local 713 struct slic_shmem *sm = &sdev->shmem; slic_poll() local 736 struct slic_shmem *sm = &sdev->shmem; slic_irq() local 1227 struct slic_shmem *sm = &sdev->shmem; slic_init_shmem() local 1247 struct slic_shmem *sm = &sdev->shmem; slic_free_shmem() local 1256 struct slic_shmem *sm = &sdev->shmem; slic_init_iface() local 1596 struct slic_shmem *sm = &sdev->shmem; slic_read_eeprom() local [all...] |
| /linux/fs/ceph/ |
| H A D | snap.c | 1192 struct ceph_snapid_map *sm, *exist; ceph_get_snapid_map() local 1269 ceph_put_snapid_map(struct ceph_mds_client * mdsc,struct ceph_snapid_map * sm) ceph_put_snapid_map() argument 1290 struct ceph_snapid_map *sm; ceph_trim_snapid_map() local 1320 struct ceph_snapid_map *sm; ceph_cleanup_snapid_map() local [all...] |
| /linux/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
| H A D | ctxgf100.c | 1078 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
|
| H A D | gv100.c | 28 gv100_gr_trap_sm(struct gf100_gr *gr, int gpc, int tpc, int sm) in gv100_gr_trap_sm() argument 67 int sm; in gv100_gr_init_shader_exceptions() local [all...] |
| H A D | ctxga102.c | 25 ga102_grctx_generate_sm_id(struct gf100_gr *gr, int gpc, int tpc, int sm) in ga102_grctx_generate_sm_id()
|
| /linux/arch/arm64/kernel/ |
| H A D | vdso.c | 60 vdso_mremap(const struct vm_special_mapping * sm,struct vm_area_struct * new_vma) vdso_mremap() argument 157 aarch32_sigpage_mremap(const struct vm_special_mapping * sm,struct vm_area_struct * new_vma) aarch32_sigpage_mremap() argument
|
| /linux/tools/perf/util/ |
| H A D | sharded_mutex.h | 24 static inline struct mutex *sharded_mutex__get_mutex(struct sharded_mutex *sm, size_t hash) in sharded_mutex__get_mutex()
|
| H A D | sharded_mutex.c | 27 void sharded_mutex__delete(struct sharded_mutex *sm) in sharded_mutex__delete()
|