Searched refs:SETUP_TEMPLATE (Results 1 – 3 of 3) sorted by relevance
/linux-3.4.99/drivers/scsi/ |
D | scsi_transport_srp.c | 75 #define SETUP_TEMPLATE(attrb, field, perm, test, ro_test, ro_perm) \ macro 87 SETUP_TEMPLATE(rport_attrs, field, S_IRUGO, 1, 0, 0) 90 SETUP_TEMPLATE(rport_attrs, field, S_IRUGO | S_IWUSR, \
|
D | scsi_transport_sas.c | 1735 #define SETUP_TEMPLATE(attrb, field, perm, test) \ macro 1754 SETUP_TEMPLATE(rphy_attrs, field, S_IRUGO, 1) 1757 SETUP_TEMPLATE(rphy_attrs, field, S_IRUGO, i->f->func) 1760 SETUP_TEMPLATE(phy_attrs, field, S_IRUGO, 1) 1771 SETUP_TEMPLATE(port_attrs, field, S_IRUGO, 1) 1774 SETUP_TEMPLATE(phy_attrs, field, S_IRUGO, i->f->func) 1777 SETUP_TEMPLATE(phy_attrs, field, S_IWUSR, 1) 1780 SETUP_TEMPLATE(phy_attrs, field, S_IWUSR, i->f->func) 1783 SETUP_TEMPLATE(end_dev_attrs, field, S_IRUGO, 1) 1786 SETUP_TEMPLATE(expander_attrs, expander_##field, S_IRUGO, 1)
|
/linux-3.4.99/drivers/ata/ |
D | libata-transport.c | 662 #define SETUP_TEMPLATE(attrb, field, perm, test) \ macro 670 SETUP_TEMPLATE(link_attrs, field, S_IRUGO, 1) 673 SETUP_TEMPLATE(port_attrs, field, S_IRUGO, 1) 676 SETUP_TEMPLATE(dev_attrs, field, S_IRUGO, 1)
|