Home
last modified time | relevance | path

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

/Linux-v6.1/fs/proc/
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()
160 unsigned int state_size, void *data) in proc_create_net_data_write() argument
170 p->state_size = state_size; in proc_create_net_data_write()
Dgeneric.c594 if (de->state_size) in proc_seq_open()
595 return seq_open_private(file, de->seq_ops, de->state_size); in proc_seq_open()
603 if (de->state_size) in proc_seq_release()
618 unsigned int state_size, void *data) in proc_create_seq_private() argument
627 p->state_size = state_size; in proc_create_seq_private()
Dinternal.h53 unsigned int state_size; member
/Linux-v6.1/include/linux/
Dproc_fs.h94 unsigned int state_size, void *data);
130 unsigned int state_size, void *data);
131 #define proc_create_net(name, mode, parent, ops, state_size) \ argument
132 proc_create_net_data(name, mode, parent, ops, state_size, NULL)
140 unsigned int state_size, void *data);
210 #define proc_create_net_data(name, mode, parent, ops, state_size, data) ({NULL;}) argument
211 #define proc_create_net(name, mode, parent, state_size, ops) ({NULL;}) argument
/Linux-v6.1/arch/x86/kernel/fpu/
Dsignal.c342 unsigned int state_size; in __fpu_restore_sig() local
352 state_size = fx_sw_user.xstate_size; in __fpu_restore_sig()
356 state_size = fpu->fpstate->user_size; in __fpu_restore_sig()
362 state_size); in __fpu_restore_sig()
Dxstate.c471 u32 max_palid, palid, state_size; in check_xtile_data_against_struct() local
509 state_size = sizeof(struct xtile_data) * max_tile; in check_xtile_data_against_struct()
510 if (size != state_size) { in check_xtile_data_against_struct()
512 __stringify(XFEATURE_XTILE_DATA), state_size, size); in check_xtile_data_against_struct()
/Linux-v6.1/sound/soc/intel/catpt/
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()
Dcore.h57 u32 state_size; member
/Linux-v6.1/drivers/vfio/pci/mlx5/
Dcmd.h119 size_t *state_size);
Dcmd.c48 size_t *state_size) in mlx5vf_cmd_query_vhca_migration_state() argument
68 *state_size = MLX5_GET(query_vhca_migration_state_out, out, in mlx5vf_cmd_query_vhca_migration_state()
/Linux-v6.1/drivers/media/pci/ddbridge/
Dddbridge-mci.h236 u32 state_size; member
Dddbridge-mci.c128 state = kzalloc(cfg->state_size, GFP_KERNEL); in ddb_mci_attach()
Dddbridge-sx8.c474 .state_size = sizeof(struct sx8),
/Linux-v6.1/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c743 int state_size = crypto_shash_statesize(ctx->hashalg); in aead_hmac_init() local
766 ipad = kzalloc(state_size, GFP_KERNEL); in aead_hmac_init()
772 opad = kzalloc(state_size, GFP_KERNEL); in aead_hmac_init()
/Linux-v6.1/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_algs.c798 int state_size = crypto_shash_statesize(ctx->hashalg); in aead_hmac_init() local
821 ipad = kzalloc(state_size, GFP_KERNEL); in aead_hmac_init()
827 opad = kzalloc(state_size, GFP_KERNEL); in aead_hmac_init()
/Linux-v6.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_debugfs.c824 uint32_t state_size; in dmub_fw_state_show() local
833 state_size = fb_info->fb[DMUB_WINDOW_6_FW_STATE].size; in dmub_fw_state_show()
835 return seq_write(m, state_base, state_size); in dmub_fw_state_show()
/Linux-v6.1/drivers/gpu/drm/radeon/
Dsi_dpm.c5259 size_t state_size = struct_size(smc_state, levels, in si_upload_sw_state() local
5262 memset(smc_state, 0, state_size); in si_upload_sw_state()
5269 state_size, si_pi->sram_end); in si_upload_sw_state()
5284 u32 state_size = sizeof(struct SISLANDS_SMC_SWSTATE_SINGLE); in si_upload_ulv_state() local
5286 memset(smc_state, 0, state_size); in si_upload_ulv_state()
5291 state_size, si_pi->sram_end); in si_upload_ulv_state()
Dni_dpm.c2690 size_t state_size = struct_size(smc_state, levels, in ni_upload_sw_state() local
2694 smc_state = kzalloc(state_size, GFP_KERNEL); in ni_upload_sw_state()
2702 ret = rv770_copy_bytes_to_smc(rdev, address, (u8 *)smc_state, state_size, pi->sram_end); in ni_upload_sw_state()
/Linux-v6.1/drivers/gpu/drm/amd/pm/legacy-dpm/
Dsi_dpm.c5761 size_t state_size = struct_size(smc_state, levels, in si_upload_sw_state() local
5763 memset(smc_state, 0, state_size); in si_upload_sw_state()
5770 state_size, si_pi->sram_end); in si_upload_sw_state()
5783 u32 state_size = sizeof(struct SISLANDS_SMC_SWSTATE_SINGLE); in si_upload_ulv_state() local
5785 memset(smc_state, 0, state_size); in si_upload_ulv_state()
5790 state_size, si_pi->sram_end); in si_upload_ulv_state()