Home
last modified time | relevance | path

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

/linux/fs/proc/
A Dproc_net.c44 unsigned int state_size = PDE(inode)->state_size; in seq_open_net() local
48 WARN_ON_ONCE(state_size < sizeof(*p)); in seq_open_net()
57 p = __seq_open_private(file, PDE(inode)->seq_ops, state_size); in seq_open_net()
106 unsigned int state_size, void *data) in proc_create_net_data() argument
116 p->state_size = state_size; in proc_create_net_data()
150 unsigned int state_size, void *data) in proc_create_net_data_write() argument
160 p->state_size = state_size; in proc_create_net_data_write()
A Dgeneric.c591 if (de->state_size) in proc_seq_open()
592 return seq_open_private(file, de->seq_ops, de->state_size); in proc_seq_open()
600 if (de->state_size) in proc_seq_release()
615 unsigned int state_size, void *data) in proc_create_seq_private() argument
624 p->state_size = state_size; in proc_create_seq_private()
A Dinternal.h53 unsigned int state_size; member
/linux/include/linux/
A Dproc_fs.h94 unsigned int state_size, void *data);
121 unsigned int state_size, void *data);
122 #define proc_create_net(name, mode, parent, ops, state_size) \ argument
123 proc_create_net_data(name, mode, parent, ops, state_size, NULL)
131 unsigned int state_size, void *data);
193 #define proc_create_net_data(name, mode, parent, ops, state_size, data) ({NULL;}) argument
194 #define proc_create_net(name, mode, parent, state_size, ops) ({NULL;}) argument
/linux/arch/x86/kernel/fpu/
A 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()
A Dxstate.c552 u32 max_palid, palid, state_size; in check_xtile_data_against_struct() local
590 state_size = sizeof(struct xtile_data) * max_tile; in check_xtile_data_against_struct()
591 if (size != state_size) { in check_xtile_data_against_struct()
593 __stringify(XFEATURE_XTILE_DATA), state_size, size); in check_xtile_data_against_struct()
/linux/sound/soc/intel/catpt/
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()
A Dcore.h57 u32 state_size; member
/linux/drivers/media/pci/ddbridge/
A Dddbridge-mci.h245 u32 state_size; member
A Dddbridge-mci.c137 state = kzalloc(cfg->state_size, GFP_KERNEL); in ddb_mci_attach()
A Dddbridge-sx8.c483 .state_size = sizeof(struct sx8),
/linux/drivers/crypto/marvell/octeontx/
A 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/drivers/crypto/marvell/octeontx2/
A 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/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_debugfs.c813 uint32_t state_size; in dmub_fw_state_show() local
822 state_size = fb_info->fb[DMUB_WINDOW_6_FW_STATE].size; in dmub_fw_state_show()
824 return seq_write(m, state_base, state_size); in dmub_fw_state_show()
/linux/drivers/gpu/drm/radeon/
A 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()
A 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/drivers/gpu/drm/amd/pm/powerplay/
A Dsi_dpm.c5721 size_t state_size = struct_size(smc_state, levels, in si_upload_sw_state() local
5723 memset(smc_state, 0, state_size); in si_upload_sw_state()
5730 state_size, si_pi->sram_end); in si_upload_sw_state()
5743 u32 state_size = sizeof(struct SISLANDS_SMC_SWSTATE_SINGLE); in si_upload_ulv_state() local
5745 memset(smc_state, 0, state_size); in si_upload_ulv_state()
5750 state_size, si_pi->sram_end); in si_upload_ulv_state()

Completed in 66 milliseconds