Searched refs:ip_die_entry (Results 1 – 1 of 1) sorted by relevance
753 struct ip_die_entry { struct892 ssize_t (*show)(struct ip_die_entry *ip_die_entry, char *buf);897 static ssize_t num_ips_show(struct ip_die_entry *ip_die_entry, char *buf) in num_ips_show() argument899 return sysfs_emit(buf, "%d\n", ip_die_entry->num_ips); in num_ips_show()913 ATTRIBUTE_GROUPS(ip_die_entry); /* ip_die_entry_groups */915 #define to_ip_die_entry(x) container_of(to_kset(x), struct ip_die_entry, ip_kset)922 struct ip_die_entry *ip_die_entry = to_ip_die_entry(kobj); in ip_die_entry_attr_show() local927 return ip_die_entry_attr->show(ip_die_entry, buf); in ip_die_entry_attr_show()932 struct ip_die_entry *ip_die_entry = to_ip_die_entry(kobj); in ip_die_entry_release() local934 if (!list_empty(&ip_die_entry->ip_kset.list)) in ip_die_entry_release()[all …]