| /Linux-v5.10/fs/proc/ |
| D | proc_net.c | 60 unsigned int state_size = PDE(inode)->state_size; in seq_open_net() local 64 WARN_ON_ONCE(state_size < sizeof(*p)); in seq_open_net() 73 p = __seq_open_private(file, PDE(inode)->seq_ops, state_size); in seq_open_net() 122 unsigned int state_size, void *data) in proc_create_net_data() argument 132 p->state_size = state_size; in proc_create_net_data() 166 unsigned int state_size, void *data) in proc_create_net_data_write() argument 176 p->state_size = state_size; in proc_create_net_data_write()
|
| D | generic.c | 576 if (de->state_size) in proc_seq_open() 577 return seq_open_private(file, de->seq_ops, de->state_size); in proc_seq_open() 585 if (de->state_size) in proc_seq_release() 600 unsigned int state_size, void *data) in proc_create_seq_private() argument 609 p->state_size = state_size; in proc_create_seq_private()
|
| D | internal.h | 53 unsigned int state_size; member
|
| /Linux-v5.10/include/linux/ |
| D | proc_fs.h | 92 unsigned int state_size, void *data); 119 unsigned int state_size, void *data); 120 #define proc_create_net(name, mode, parent, ops, state_size) \ argument 121 proc_create_net_data(name, mode, parent, ops, state_size, NULL) 129 unsigned int state_size, void *data); 186 #define proc_create_net_data(name, mode, parent, ops, state_size, data) ({NULL;}) argument 187 #define proc_create_net(name, mode, parent, state_size, ops) ({NULL;}) argument
|
| /Linux-v5.10/arch/x86/kernel/fpu/ |
| D | signal.c | 293 int state_size = fpu_kernel_xstate_size; in __fpu__restore_sig() local 326 state_size = sizeof(struct fxregs_state); in __fpu__restore_sig() 330 state_size = fx_sw_user.xstate_size; in __fpu__restore_sig() 411 ret = __copy_from_user(&fpu->state.xsave, buf_fx, state_size); in __fpu__restore_sig() 413 if (!ret && state_size > offsetof(struct xregs_state, header)) in __fpu__restore_sig() 434 ret = __copy_from_user(&fpu->state.fxsave, buf_fx, state_size); in __fpu__restore_sig() 453 ret = __copy_from_user(&fpu->state.fsave, buf_fx, state_size); in __fpu__restore_sig()
|
| /Linux-v5.10/drivers/gpu/drm/i915/gt/ |
| D | gen7_renderclear.c | 40 u32 state_size; member 64 bv->state_size = STATE_SIZE; in batch_get_defaults() 66 bv->batch_size = bv->cmd_size + bv->state_size; in batch_get_defaults() 354 batch_init(&state, vma, start, bv->state_start, bv->state_size); in emit_batch()
|
| /Linux-v5.10/sound/soc/intel/catpt/ |
| 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()
|
| D | core.h | 68 u32 state_size; member
|
| /Linux-v5.10/drivers/media/pci/ddbridge/ |
| D | ddbridge-mci.h | 245 u32 state_size; member
|
| D | ddbridge-mci.c | 137 state = kzalloc(cfg->state_size, GFP_KERNEL); in ddb_mci_attach()
|
| D | ddbridge-sx8.c | 483 .state_size = sizeof(struct sx8),
|
| /Linux-v5.10/drivers/crypto/marvell/octeontx/ |
| D | otx_cptvf_algs.c | 742 int state_size = crypto_shash_statesize(ctx->hashalg); in aead_hmac_init() local 765 ipad = kzalloc(state_size, GFP_KERNEL); in aead_hmac_init() 771 opad = kzalloc(state_size, GFP_KERNEL); in aead_hmac_init()
|
| /Linux-v5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| D | amdgpu_dm_debugfs.c | 747 uint32_t state_size; in dmub_fw_state_show() local 756 state_size = fb_info->fb[DMUB_WINDOW_6_FW_STATE].size; in dmub_fw_state_show() 758 return seq_write(m, state_base, state_size); in dmub_fw_state_show()
|
| /Linux-v5.10/drivers/gpu/drm/radeon/ |
| D | si_dpm.c | 5256 u32 state_size = sizeof(SISLANDS_SMC_SWSTATE) + in si_upload_sw_state() local 5261 memset(smc_state, 0, state_size); in si_upload_sw_state() 5268 state_size, si_pi->sram_end); in si_upload_sw_state() 5283 u32 state_size = sizeof(SISLANDS_SMC_SWSTATE); in si_upload_ulv_state() local 5285 memset(smc_state, 0, state_size); in si_upload_ulv_state() 5290 state_size, si_pi->sram_end); in si_upload_ulv_state()
|
| D | ni_dpm.c | 2689 size_t state_size = struct_size(smc_state, levels, in ni_upload_sw_state() local 2693 smc_state = kzalloc(state_size, GFP_KERNEL); in ni_upload_sw_state() 2701 ret = rv770_copy_bytes_to_smc(rdev, address, (u8 *)smc_state, state_size, pi->sram_end); in ni_upload_sw_state()
|
| /Linux-v5.10/drivers/gpu/drm/amd/pm/powerplay/ |
| D | si_dpm.c | 5718 u32 state_size = sizeof(SISLANDS_SMC_SWSTATE) + 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(SISLANDS_SMC_SWSTATE); 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()
|