@@ -101,7 +101,7 @@ static const char *const sm_stats_human_read[] = {
101
101
};
102
102
103
103
typedef int (* VC_SM_SHOW ) (struct seq_file * s , void * v );
104
- struct SM_PDE_T {
104
+ struct sm_pde_t {
105
105
VC_SM_SHOW show ; /* Debug fs function hookup. */
106
106
struct dentry * dir_entry ; /* Debug fs directory entry. */
107
107
void * priv_data ; /* Private data */
@@ -164,8 +164,8 @@ struct sm_priv_data_t {
164
164
pid_t pid ; /* PID of creator. */
165
165
166
166
struct dentry * dir_pid ; /* Debug fs entries root. */
167
- struct SM_PDE_T dir_stats ; /* Debug fs entries statistics sub-tree. */
168
- struct SM_PDE_T dir_res ; /* Debug fs resource sub-tree. */
167
+ struct sm_pde_t dir_stats ; /* Debug fs entries statistics sub-tree. */
168
+ struct sm_pde_t dir_res ; /* Debug fs resource sub-tree. */
169
169
170
170
int restart_sys ; /* Tracks restart on interrupt. */
171
171
enum vc_sm_msg_type int_action ; /* Interrupted action. */
@@ -179,8 +179,8 @@ struct sm_state_t {
179
179
struct sm_instance * sm_handle ; /* Handle for videocore service. */
180
180
struct dentry * dir_root ; /* Debug fs entries root. */
181
181
struct dentry * dir_alloc ; /* Debug fs entries allocations. */
182
- struct SM_PDE_T dir_stats ; /* Debug fs entries statistics sub-tree. */
183
- struct SM_PDE_T dir_state ; /* Debug fs entries state sub-tree. */
182
+ struct sm_pde_t dir_stats ; /* Debug fs entries statistics sub-tree. */
183
+ struct sm_pde_t dir_state ; /* Debug fs entries state sub-tree. */
184
184
struct dentry * debug ; /* Debug fs entries debug. */
185
185
186
186
struct mutex map_lock ; /* Global map lock. */
@@ -636,9 +636,9 @@ static int vc_sm_statistics_show(struct seq_file *s, void *v)
636
636
struct sm_priv_data_t * file_data ;
637
637
struct sm_resource_t * resource ;
638
638
int res_count = 0 ;
639
- struct SM_PDE_T * p_pde ;
639
+ struct sm_pde_t * p_pde ;
640
640
641
- p_pde = (struct SM_PDE_T * )(s -> private );
641
+ p_pde = (struct sm_pde_t * )(s -> private );
642
642
file_data = (struct sm_priv_data_t * )(p_pde -> priv_data );
643
643
644
644
if (file_data == NULL )
@@ -693,9 +693,9 @@ static int vc_sm_alloc_show(struct seq_file *s, void *v)
693
693
struct sm_priv_data_t * file_data ;
694
694
struct sm_resource_t * resource ;
695
695
int alloc_count = 0 ;
696
- struct SM_PDE_T * p_pde ;
696
+ struct sm_pde_t * p_pde ;
697
697
698
- p_pde = (struct SM_PDE_T * )(s -> private );
698
+ p_pde = (struct sm_pde_t * )(s -> private );
699
699
file_data = (struct sm_priv_data_t * )(p_pde -> priv_data );
700
700
701
701
if (!file_data )
@@ -738,9 +738,9 @@ static int vc_sm_alloc_show(struct seq_file *s, void *v)
738
738
739
739
static int vc_sm_seq_file_show (struct seq_file * s , void * v )
740
740
{
741
- struct SM_PDE_T * sm_pde ;
741
+ struct sm_pde_t * sm_pde ;
742
742
743
- sm_pde = (struct SM_PDE_T * )(s -> private );
743
+ sm_pde = (struct sm_pde_t * )(s -> private );
744
744
745
745
if (sm_pde && sm_pde -> show )
746
746
sm_pde -> show (s , v );
0 commit comments