msi_dev_attr 484 drivers/pci/msi.c struct device_attribute *msi_dev_attr; msi_dev_attr 505 drivers/pci/msi.c msi_dev_attr = kzalloc(sizeof(*msi_dev_attr), GFP_KERNEL); msi_dev_attr 506 drivers/pci/msi.c if (!msi_dev_attr) msi_dev_attr 508 drivers/pci/msi.c msi_attrs[count] = &msi_dev_attr->attr; msi_dev_attr 510 drivers/pci/msi.c sysfs_attr_init(&msi_dev_attr->attr); msi_dev_attr 511 drivers/pci/msi.c msi_dev_attr->attr.name = kasprintf(GFP_KERNEL, "%d", msi_dev_attr 513 drivers/pci/msi.c if (!msi_dev_attr->attr.name) msi_dev_attr 515 drivers/pci/msi.c msi_dev_attr->attr.mode = S_IRUGO; msi_dev_attr 516 drivers/pci/msi.c msi_dev_attr->show = msi_mode_show; msi_dev_attr 547 drivers/pci/msi.c msi_dev_attr = container_of(msi_attr, struct device_attribute, attr); msi_dev_attr 549 drivers/pci/msi.c kfree(msi_dev_attr);