/Linux-v6.1/fs/proc/ |
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() 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()
|
D | generic.c | 594 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()
|
D | internal.h | 53 unsigned int state_size; member
|
/Linux-v6.1/include/linux/ |
D | proc_fs.h | 94 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/ |
D | signal.c | 342 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()
|
D | xstate.c | 471 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/ |
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 | 57 u32 state_size; member
|
/Linux-v6.1/drivers/vfio/pci/mlx5/ |
D | cmd.h | 119 size_t *state_size);
|
D | cmd.c | 48 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/ |
D | ddbridge-mci.h | 236 u32 state_size; member
|
D | ddbridge-mci.c | 128 state = kzalloc(cfg->state_size, GFP_KERNEL); in ddb_mci_attach()
|
D | ddbridge-sx8.c | 474 .state_size = sizeof(struct sx8),
|
/Linux-v6.1/drivers/crypto/marvell/octeontx/ |
D | otx_cptvf_algs.c | 743 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/ |
D | otx2_cptvf_algs.c | 798 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/ |
D | amdgpu_dm_debugfs.c | 824 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/ |
D | si_dpm.c | 5259 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()
|
D | ni_dpm.c | 2690 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/ |
D | si_dpm.c | 5761 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()
|