/Linux-v5.4/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() 103 unsigned int state_size, void *data) in proc_create_net_data() argument 113 p->state_size = state_size; in proc_create_net_data() 147 unsigned int state_size, void *data) in proc_create_net_data_write() argument 157 p->state_size = state_size; in proc_create_net_data_write()
|
D | generic.c | 565 if (de->state_size) in proc_seq_open() 566 return seq_open_private(file, de->seq_ops, de->state_size); in proc_seq_open() 574 if (de->state_size) in proc_seq_release() 588 unsigned int state_size, void *data) in proc_create_seq_private() argument 597 p->state_size = state_size; in proc_create_seq_private()
|
D | internal.h | 50 unsigned int state_size; member
|
/Linux-v5.4/include/linux/ |
D | proc_fs.h | 33 unsigned int state_size, void *data); 60 unsigned int state_size, void *data); 61 #define proc_create_net(name, mode, parent, state_size, ops) \ argument 62 proc_create_net_data(name, mode, parent, state_size, ops, NULL) 70 unsigned int state_size, void *data); 123 #define proc_create_net_data(name, mode, parent, ops, state_size, data) ({NULL;}) argument 124 #define proc_create_net(name, mode, parent, state_size, ops) ({NULL;}) argument
|
/Linux-v5.4/arch/x86/kernel/fpu/ |
D | signal.c | 275 int state_size = fpu_kernel_xstate_size; in __fpu__restore_sig() local 308 state_size = sizeof(struct fxregs_state); in __fpu__restore_sig() 312 state_size = fx_sw_user.xstate_size; in __fpu__restore_sig() 365 ret = __copy_from_user(&fpu->state.xsave, buf_fx, state_size); in __fpu__restore_sig() 367 if (!ret && state_size > offsetof(struct xregs_state, header)) in __fpu__restore_sig() 381 ret = __copy_from_user(&fpu->state.fxsave, buf_fx, state_size); in __fpu__restore_sig() 397 ret = __copy_from_user(&fpu->state.fsave, buf_fx, state_size); in __fpu__restore_sig()
|
/Linux-v5.4/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.4/drivers/gpu/drm/radeon/ |
D | si_dpm.c | 5277 u32 state_size = sizeof(SISLANDS_SMC_SWSTATE) + in si_upload_sw_state() local 5282 memset(smc_state, 0, state_size); in si_upload_sw_state() 5289 state_size, si_pi->sram_end); in si_upload_sw_state() 5304 u32 state_size = sizeof(SISLANDS_SMC_SWSTATE); in si_upload_ulv_state() local 5306 memset(smc_state, 0, state_size); in si_upload_ulv_state() 5311 state_size, si_pi->sram_end); in si_upload_ulv_state()
|
D | ni_dpm.c | 2689 u16 state_size = sizeof(NISLANDS_SMC_SWSTATE) + in ni_upload_sw_state() local 2692 NISLANDS_SMC_SWSTATE *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.4/drivers/gpu/drm/amd/amdgpu/ |
D | si_dpm.c | 5739 u32 state_size = sizeof(SISLANDS_SMC_SWSTATE) + in si_upload_sw_state() local 5744 memset(smc_state, 0, state_size); in si_upload_sw_state() 5751 state_size, si_pi->sram_end); in si_upload_sw_state() 5764 u32 state_size = sizeof(SISLANDS_SMC_SWSTATE); in si_upload_ulv_state() local 5766 memset(smc_state, 0, state_size); in si_upload_ulv_state() 5771 state_size, si_pi->sram_end); in si_upload_ulv_state()
|