Home
last modified time | relevance | path

Searched refs:state_size (Results 1 – 17 of 17) sorted by relevance

/linux/fs/proc/
H A Dproc_net.c41 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 Dgeneric.c612 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 Dinternal.h53 unsigned int state_size; member
/linux/include/linux/
H A Dproc_fs.h99 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 Dqat_mig_dev.h13 u32 state_size; member
/linux/drivers/vfio/pci/mlx5/
H A Dmain.c380 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 Dcmd.h200 size_t *state_size, u64 *total_size,
H A Dcmd.c89 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 Dloader.c125 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 Dcore.h57 u32 state_size; member
/linux/drivers/vfio/pci/qat/
H A Dmain.c233 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 Dddbridge-mci.h236 u32 state_size; member
H A Dddbridge-mci.c128 state = kzalloc(cfg->state_size, GFP_KERNEL); in ddb_mci_attach()
H A Dddbridge-sx8.c474 .state_size = sizeof(struct sx8),
/linux/drivers/gpu/drm/radeon/
H A Dsi_dpm.c5215 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 Dsi_dpm.c5801 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 Ddmub_cmd.h6485 uint32_t state_size; /**< State size for dmub_cursor_offload */ member