Searched refs:node_attr (Results 1 – 2 of 2) sorted by relevance
3375 struct iw_node_attr *node_attr; in node_show() local3386 struct iw_node_attr *node_attr; in node_store() local3406 new[node_attr->nid] = weight; in node_store()3419 if (!node_attr) in sysfs_wi_node_release()3423 kfree(node_attr); in sysfs_wi_node_release()3445 node_attr = kzalloc(sizeof(*node_attr), GFP_KERNEL); in add_weight_node()3446 if (!node_attr) in add_weight_node()3451 kfree(node_attr); in add_weight_node()3460 node_attr->nid = nid; in add_weight_node()3464 kfree(node_attr); in add_weight_node()[all …]
907 struct node_attr { struct915 struct node_attr *na = container_of(attr, struct node_attr, attr); in show_node_state() argument924 static struct node_attr node_state_attr[] = {