Searched refs:node_attr (Results 1 – 2 of 2) sorted by relevance
3425 struct iw_node_attr *node_attr; in node_show() local3436 struct iw_node_attr *node_attr; in node_store() local3456 new[node_attr->nid] = weight; in node_store()3469 if (!node_attr) in sysfs_wi_node_release()3473 kfree(node_attr); in sysfs_wi_node_release()3495 node_attr = kzalloc(sizeof(*node_attr), GFP_KERNEL); in add_weight_node()3496 if (!node_attr) in add_weight_node()3501 kfree(node_attr); in add_weight_node()3510 node_attr->nid = nid; in add_weight_node()3514 kfree(node_attr); in add_weight_node()[all …]
909 struct node_attr { struct917 struct node_attr *na = container_of(attr, struct node_attr, attr); in show_node_state() argument926 static struct node_attr node_state_attr[] = {