| /linux/fs/proc/ |
| H A D | proc_net.c | 41 unsigned int state_size = PDE(inode)->state_size; in seq_open_net() local 45 WARN_ON_ONCE(state_size < sizeof(*p)); in seq_open_net() 54 p = __seq_open_private(file, PDE(inode)->seq_ops, state_size); in seq_open_net() 116 unsigned int state_size, void *data) in proc_create_net_data() argument 126 p->state_size = state_size; in proc_create_net_data() 161 unsigned int state_size, void *data) in proc_create_net_data_write() argument 171 p->state_size = state_size; in proc_create_net_data_write()
|
| H A D | generic.c | 612 if (de->state_size) in proc_seq_open() 613 return seq_open_private(file, de->seq_ops, de->state_size); in proc_seq_open() 621 if (de->state_size) in proc_seq_release() 636 unsigned int state_size, void *data) in proc_create_seq_private() argument 645 p->state_size = state_size; in proc_create_seq_private()
|
| H A D | internal.h | 53 unsigned int state_size; member
|
| /linux/include/linux/ |
| H A D | proc_fs.h | 99 unsigned int state_size, void *data); 135 unsigned int state_size, void *data); 136 #define proc_create_net(name, mode, parent, ops, state_size) \ argument 137 proc_create_net_data(name, mode, parent, ops, state_size, NULL) 145 unsigned int state_size, void *data); 218 #define proc_create_net_data(name, mode, parent, ops, state_size, data) ({NULL;}) argument 219 #define proc_create_net_data_write(name, mode, parent, ops, write, state_size, data) ({NULL;}) argument 220 #define proc_create_net(name, mode, parent, state_size, ops) ({NULL;}) argument
|
| /linux/include/linux/qat/ |
| H A D | qat_mig_dev.h | 13 u32 state_size; member
|
| /linux/drivers/vfio/pci/mlx5/ |
| H A D | main.c | 380 size_t state_size, u64 full_size, in mlx5vf_prep_stop_copy() argument 393 inc_state_size = max(state_size, chunk_size); in mlx5vf_prep_stop_copy() 397 if (check_add_overflow(state_size, state_size / 10, &inc_state_size)) in mlx5vf_prep_stop_copy() 398 inc_state_size = state_size; in mlx5vf_prep_stop_copy() 400 inc_state_size = state_size; in mlx5vf_prep_stop_copy() 1250 size_t state_size; in mlx5vf_pci_get_data_size() local 1255 ret = mlx5vf_cmd_query_vhca_migration_state(mvdev, &state_size, in mlx5vf_pci_get_data_size()
|
| H A D | cmd.h | 200 size_t *state_size, u64 *total_size,
|
| H A D | cmd.c | 89 size_t *state_size, u64 *total_size, in mlx5vf_cmd_query_vhca_migration_state() argument 119 *state_size = 0; in mlx5vf_cmd_query_vhca_migration_state() 148 *state_size = MLX5_GET(query_vhca_migration_state_out, out, in mlx5vf_cmd_query_vhca_migration_state() 153 remaining_total_size) : *state_size; in mlx5vf_cmd_query_vhca_migration_state()
|
| /linux/sound/soc/intel/catpt/ |
| H A D | loader.c | 125 if (!type->loaded || !type->state_size) in catpt_store_module_states() 130 i, off, type->state_size); in catpt_store_module_states() 135 ALIGN(type->state_size, 4)); in catpt_store_module_states() 443 type->state_size = blk->size; in catpt_load_module()
|
| H A D | core.h | 57 u32 state_size; member
|
| /linux/drivers/vfio/pci/qat/ |
| H A D | main.c | 233 migf->filled_size = qat_vdev->mdev->state_size; in qat_vf_save_state() 310 if (end > mig_dev->state_size) in qat_vf_resume_write() 536 *stop_copy_length = qat_vdev->mdev->state_size; in qat_vf_pci_get_data_size()
|
| /linux/drivers/media/pci/ddbridge/ |
| H A D | ddbridge-mci.h | 236 u32 state_size; member
|
| H A D | ddbridge-mci.c | 128 state = kzalloc(cfg->state_size, GFP_KERNEL); in ddb_mci_attach()
|
| H A D | ddbridge-sx8.c | 474 .state_size = sizeof(struct sx8),
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | si_dpm.c | 5215 size_t state_size = struct_size(smc_state, levels, in si_upload_sw_state() local 5218 memset(smc_state, 0, state_size); in si_upload_sw_state() 5225 state_size, si_pi->sram_end); in si_upload_sw_state() 5240 u32 state_size = sizeof(struct SISLANDS_SMC_SWSTATE_SINGLE); in si_upload_ulv_state() local 5242 memset(smc_state, 0, state_size); in si_upload_ulv_state() 5247 state_size, si_pi->sram_end); in si_upload_ulv_state()
|
| /linux/drivers/gpu/drm/amd/pm/legacy-dpm/ |
| H A D | si_dpm.c | 5801 size_t state_size = struct_size(smc_state, levels, in si_upload_sw_state() local 5803 memset(smc_state, 0, state_size); in si_upload_sw_state() 5810 state_size, si_pi->sram_end); in si_upload_sw_state() 5823 u32 state_size = sizeof(struct SISLANDS_SMC_SWSTATE_SINGLE); in si_upload_ulv_state() local 5825 memset(smc_state, 0, state_size); in si_upload_ulv_state() 5830 state_size, si_pi->sram_end); in si_upload_ulv_state()
|
| /linux/drivers/gpu/drm/amd/display/dmub/inc/ |
| H A D | dmub_cmd.h | 6485 uint32_t state_size; /**< State size for dmub_cursor_offload */ member
|