s_name
char s_name[8];
char s_name[8]; /* section name */
strcpy(esecs[0].s_name, ".text");
strcpy(esecs[1].s_name, ".data");
strcpy(esecs[2].s_name, ".bss");
strcpy(esecs[3].s_name, ".rdata");
strcpy(esecs[4].s_name, ".sdata");
strcpy(esecs[5].s_name, ".sbss");
i, esecs[i].s_name, esecs[i].s_paddr,
if (strcmp(shdr.s_name, ".text") == 0) {
} else if (strcmp(shdr.s_name, ".data") == 0) {
} else if (strcmp(shdr.s_name, ".bss") == 0) {
char s_name[8]; /* section name */
char *s_name;
s_name = filename;
filename = strsep(&s_name, ":");
ksmbd_debug(SMB, "filename : %s, streams : %s\n", filename, s_name);
if (strchr(s_name, ':')) {
stream_type = s_name;
s_name = strsep(&stream_type, ":");
rc = ksmbd_validate_stream_name(s_name);
ksmbd_debug(SMB, "stream name : %s, stream type : %s\n", s_name,
*stream_name = s_name;
#define GENL_struct(tag_name, tag_number, s_name, s_fields) \
static int __ ## s_name ## _from_attrs(struct s_name *s, \
const int maxtype = ARRAY_SIZE(s_name ## _nl_policy)-1; \
BUILD_BUG_ON(ARRAY_SIZE(s_name ## _nl_policy) > ARRAY_SIZE(nested_attr_tb)); \
DPRINT_TLA(#s_name, "<=-", #tag_name); \
err = drbd_nla_parse_nested(ntb, maxtype, tla, s_name ## _nl_policy); \
static int s_name ## _from_attrs(struct s_name *s, \
return __ ## s_name ## _from_attrs(s, info, false); \
static int s_name ## _from_attrs_for_change(struct s_name *s, \
return __ ## s_name ## _from_attrs(s, info, true); \
#define GENL_struct(tag_name, tag_number, s_name, s_fields)
#define GENL_struct(tag_name, tag_number, s_name, s_fields) \
#define GENL_struct(tag_name, tag_number, s_name, s_fields) \
#define GENL_struct(tag_name, tag_number, s_name, s_fields) \
static int s_name ## _to_skb(struct sk_buff *skb, struct s_name *s, \
static struct nla_policy s_name ## _nl_policy[] __read_mostly = \
DPRINT_TLA(#s_name, "-=>", #tag_name); \
static inline int s_name ## _to_priv_skb(struct sk_buff *skb, \
struct s_name *s) \
return s_name ## _to_skb(skb, s, 0); \
static inline int s_name ## _to_unpriv_skb(struct sk_buff *skb, \
struct s_name *s) \
return s_name ## _to_skb(skb, s, 1); \
#define GENL_struct(tag_name, tag_number, s_name, s_fields) \
static void set_ ## s_name ## _defaults(struct s_name *x) __attribute__((unused)); \
static void set_ ## s_name ## _defaults(struct s_name *x) { \
#define GENL_struct(tag_name, tag_number, s_name, s_fields)
#define GENL_struct(tag_name, tag_number, s_name, s_fields) \
#define GENL_struct(tag_name, tag_number, s_name, s_fields) \
#define GENL_struct(tag_name, tag_number, s_name, s_fields)
#define GENL_struct(tag_name, tag_number, s_name, s_fields) \
#define GENL_struct(tag_name, tag_number, s_name, s_fields) \
static inline void ct_assert_unique_ ## s_name ## _attributes(void) \
#define GENL_struct(tag_name, tag_number, s_name, s_fields) \
#define GENL_struct(tag_name, tag_number, s_name, s_fields) \
char s_name[8]; /* section name */