Home
last modified time | relevance | path

Searched refs:attrb (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/scsi/
Dscsi_transport_srp.c75 #define SETUP_TEMPLATE(attrb, field, perm, test, ro_test, ro_perm) \ argument
76 i->private_##attrb[count] = dev_attr_##field; \
77 i->private_##attrb[count].attr.mode = perm; \
79 i->private_##attrb[count].attr.mode = ro_perm; \
80 i->private_##attrb[count].store = NULL; \
82 i->attrb[count] = &i->private_##attrb[count]; \
Dscsi_transport_sas.c1677 #define SETUP_TEMPLATE(attrb, field, perm, test) \ argument
1678 i->private_##attrb[count] = dev_attr_##field; \
1679 i->private_##attrb[count].attr.mode = perm; \
1680 i->attrb[count] = &i->private_##attrb[count]; \
1684 #define SETUP_TEMPLATE_RW(attrb, field, perm, test, ro_test, ro_perm) \ argument
1685 i->private_##attrb[count] = dev_attr_##field; \
1686 i->private_##attrb[count].attr.mode = perm; \
1688 i->private_##attrb[count].attr.mode = ro_perm; \
1689 i->private_##attrb[count].store = NULL; \
1691 i->attrb[count] = &i->private_##attrb[count]; \
/linux-2.6.39/drivers/ata/
Dlibata-transport.c655 #define SETUP_TEMPLATE(attrb, field, perm, test) \ argument
656 i->private_##attrb[count] = dev_attr_##field; \
657 i->private_##attrb[count].attr.mode = perm; \
658 i->attrb[count] = &i->private_##attrb[count]; \