Rev 5270 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 5270 | Rev 6082 | ||
---|---|---|---|
Line 78... | Line 78... | ||
78 | unsigned int uevent_suppress:1; |
78 | unsigned int uevent_suppress:1; |
79 | }; |
79 | }; |
Line 80... | Line 80... | ||
80 | 80 | ||
81 | extern __printf(2, 3) |
81 | extern __printf(2, 3) |
- | 82 | int kobject_set_name(struct kobject *kobj, const char *name, ...); |
|
82 | int kobject_set_name(struct kobject *kobj, const char *name, ...); |
83 | extern __printf(2, 0) |
83 | extern int kobject_set_name_vargs(struct kobject *kobj, const char *fmt, |
84 | int kobject_set_name_vargs(struct kobject *kobj, const char *fmt, |
Line 84... | Line 85... | ||
84 | va_list vargs); |
85 | va_list vargs); |
85 | 86 | ||
86 | static inline const char *kobject_name(const struct kobject *kobj) |
87 | static inline const char *kobject_name(const struct kobject *kobj) |
Line 119... | Line 120... | ||
119 | // const struct kobj_ns_type_operations *(*child_ns_type)(struct kobject *kobj); |
120 | // const struct kobj_ns_type_operations *(*child_ns_type)(struct kobject *kobj); |
120 | // const void *(*namespace)(struct kobject *kobj); |
121 | // const void *(*namespace)(struct kobject *kobj); |
121 | }; |
122 | }; |
Line 122... | Line 123... | ||
122 | 123 | ||
- | 124 | struct kobj_uevent_env { |
|
123 | struct kobj_uevent_env { |
125 | char *argv[3]; |
124 | char *envp[UEVENT_NUM_ENVP]; |
126 | char *envp[UEVENT_NUM_ENVP]; |
125 | int envp_idx; |
127 | int envp_idx; |
126 | char buf[UEVENT_BUFFER_SIZE]; |
128 | char buf[UEVENT_BUFFER_SIZE]; |
127 | int buflen; |
129 | int buflen; |