Searched refs:attrb (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/drivers/scsi/ |
D | scsi_transport_srp.c | 75 #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]; \
|
D | scsi_transport_sas.c | 1677 #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/ |
D | libata-transport.c | 655 #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]; \
|