/kernel/linux/linux-5.10/fs/proc/ |
H A D | proc_net.c | 44 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() 116 p->state_size = state_size; in proc_create_net_data() 150 unsigned int state_size, void *data) in proc_create_net_data_write() 160 p->state_size = state_size; in proc_create_net_data_write() 104 proc_create_net_data(const char *name, umode_t mode, struct proc_dir_entry *parent, const struct seq_operations *ops, unsigned int state_size, void *data) proc_create_net_data() argument 146 proc_create_net_data_write(const char *name, umode_t mode, struct proc_dir_entry *parent, const struct seq_operations *ops, proc_write_t write, unsigned int state_size, void *data) proc_create_net_data_write() argument [all...] |
H A D | generic.c | 599 if (de->state_size) in proc_seq_open() 600 return seq_open_private(file, de->seq_ops, de->state_size); in proc_seq_open() 608 if (de->state_size) in proc_seq_release() 623 unsigned int state_size, void *data) in proc_create_seq_private() 632 p->state_size = state_size; in proc_create_seq_private() 621 proc_create_seq_private(const char *name, umode_t mode, struct proc_dir_entry *parent, const struct seq_operations *ops, unsigned int state_size, void *data) proc_create_seq_private() argument
|
H A D | internal.h | 53 unsigned int state_size; member
|
/kernel/linux/linux-6.6/fs/proc/ |
H A 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() 126 p->state_size = state_size; in proc_create_net_data() 160 unsigned int state_size, void *data) in proc_create_net_data_write() 170 p->state_size = state_size; in proc_create_net_data_write() 114 proc_create_net_data(const char *name, umode_t mode, struct proc_dir_entry *parent, const struct seq_operations *ops, unsigned int state_size, void *data) proc_create_net_data() argument 156 proc_create_net_data_write(const char *name, umode_t mode, struct proc_dir_entry *parent, const struct seq_operations *ops, proc_write_t write, unsigned int state_size, void *data) proc_create_net_data_write() argument [all...] |
H A D | generic.c | 593 if (de->state_size) in proc_seq_open() 594 return seq_open_private(file, de->seq_ops, de->state_size); in proc_seq_open() 602 if (de->state_size) in proc_seq_release() 617 unsigned int state_size, void *data) in proc_create_seq_private() 626 p->state_size = state_size; in proc_create_seq_private() 615 proc_create_seq_private(const char *name, umode_t mode, struct proc_dir_entry *parent, const struct seq_operations *ops, unsigned int state_size, void *data) proc_create_seq_private() argument
|
H A D | internal.h | 53 unsigned int state_size; member
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | proc_fs.h | 93 unsigned int state_size, void *data); 120 unsigned int state_size, void *data); 121 #define proc_create_net(name, mode, parent, ops, state_size) \ 122 proc_create_net_data(name, mode, parent, ops, state_size, NULL) 130 unsigned int state_size, void *data); 192 #define proc_create_net_data(name, mode, parent, ops, state_size, data) ({NULL;}) 193 #define proc_create_net_data_write(name, mode, parent, ops, write, state_size, data) ({NULL;}) 194 #define proc_create_net(name, mode, parent, state_size, ops) ({NULL;})
|
/kernel/linux/linux-6.6/include/linux/ |
H A 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) \ 132 proc_create_net_data(name, mode, parent, ops, state_size, NULL) 140 unsigned int state_size, void *data); 213 #define proc_create_net_data(name, mode, parent, ops, state_size, data) ({NULL;}) 214 #define proc_create_net_data_write(name, mode, parent, ops, write, state_size, data) ({NULL;}) 215 #define proc_create_net(name, mode, parent, state_size, ops) ({NULL;})
|
/kernel/linux/linux-5.10/arch/x86/kernel/fpu/ |
H A D | signal.c | 283 int state_size = fpu_kernel_xstate_size; in __fpu__restore_sig() local 320 state_size = sizeof(struct fxregs_state); in __fpu__restore_sig() 324 state_size = fx_sw_user.xstate_size; in __fpu__restore_sig() 440 ret = __copy_from_user(&fpu->state.fxsave, buf_fx, state_size); in __fpu__restore_sig() 459 ret = __copy_from_user(&fpu->state.fsave, buf_fx, state_size); in __fpu__restore_sig()
|
/kernel/linux/linux-5.10/sound/soc/intel/catpt/ |
H A 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()
|
H A D | core.h | 68 u32 state_size; member
|
/kernel/linux/linux-6.6/sound/soc/intel/catpt/ |
H A 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()
|
H A D | core.h | 57 u32 state_size; member
|
/kernel/linux/linux-6.6/drivers/vfio/pci/mlx5/ |
H A D | main.c | 351 size_t state_size) in mlx5vf_prep_stop_copy() 358 if (check_add_overflow(state_size, state_size / 10, &inc_state_size)) in mlx5vf_prep_stop_copy() 359 inc_state_size = state_size; in mlx5vf_prep_stop_copy() 1196 size_t state_size; in mlx5vf_pci_get_data_size() local 1201 &state_size, 0); in mlx5vf_pci_get_data_size() 1203 *stop_copy_length = state_size; in mlx5vf_pci_get_data_size() 350 mlx5vf_prep_stop_copy(struct mlx5_vf_migration_file *migf, size_t state_size) mlx5vf_prep_stop_copy() argument
|
H A D | cmd.h | 189 size_t *state_size, u8 query_flags);
|
H A D | cmd.c | 89 size_t *state_size, u8 query_flags) in mlx5vf_cmd_query_vhca_migration_state() 117 *state_size = 0; in mlx5vf_cmd_query_vhca_migration_state() 140 *state_size = MLX5_GET(query_vhca_migration_state_out, out, in mlx5vf_cmd_query_vhca_migration_state() 88 mlx5vf_cmd_query_vhca_migration_state(struct mlx5vf_pci_core_device *mvdev, size_t *state_size, u8 query_flags) mlx5vf_cmd_query_vhca_migration_state() argument
|
/kernel/linux/linux-5.10/drivers/media/pci/ddbridge/ |
H A D | ddbridge-mci.h | 245 u32 state_size; member
|
H A D | ddbridge-mci.c | 137 state = kzalloc(cfg->state_size, GFP_KERNEL); in ddb_mci_attach()
|
H A D | ddbridge-sx8.c | 483 .state_size = sizeof(struct sx8),
|
/kernel/linux/linux-6.6/drivers/media/pci/ddbridge/ |
H A D | ddbridge-mci.c | 128 state = kzalloc(cfg->state_size, GFP_KERNEL); in ddb_mci_attach()
|
H A D | ddbridge-mci.h | 236 u32 state_size; member
|
H A D | ddbridge-sx8.c | 474 .state_size = sizeof(struct sx8),
|
/kernel/linux/linux-6.6/arch/x86/kernel/fpu/ |
H A D | xstate.c | 475 u32 max_palid, palid, state_size; in check_xtile_data_against_struct() local 513 state_size = sizeof(struct xtile_data) * max_tile; in check_xtile_data_against_struct() 514 if (size != state_size) { in check_xtile_data_against_struct() 516 __stringify(XFEATURE_XTILE_DATA), state_size, size); in check_xtile_data_against_struct()
|
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_debugfs.c | 748 uint32_t state_size; in dmub_fw_state_show() local 757 state_size = fb_info->fb[DMUB_WINDOW_6_FW_STATE].size; in dmub_fw_state_show() 759 return seq_write(m, state_base, state_size); in dmub_fw_state_show()
|