vdentry           173 drivers/infiniband/hw/mlx4/sysfs.c 	struct mlx4_ib_iov_sysfs_attr *vdentry = _dentry;
vdentry           175 drivers/infiniband/hw/mlx4/sysfs.c 	vdentry->ctx = _ctx;
vdentry           176 drivers/infiniband/hw/mlx4/sysfs.c 	vdentry->dentry.show = show;
vdentry           177 drivers/infiniband/hw/mlx4/sysfs.c 	vdentry->dentry.store = store;
vdentry           178 drivers/infiniband/hw/mlx4/sysfs.c 	sysfs_attr_init(&vdentry->dentry.attr);
vdentry           179 drivers/infiniband/hw/mlx4/sysfs.c 	vdentry->dentry.attr.name = vdentry->name;
vdentry           180 drivers/infiniband/hw/mlx4/sysfs.c 	vdentry->dentry.attr.mode = 0;
vdentry           181 drivers/infiniband/hw/mlx4/sysfs.c 	vdentry->kobj = _kobj;
vdentry           182 drivers/infiniband/hw/mlx4/sysfs.c 	snprintf(vdentry->name, 15, "%s", _name);
vdentry           184 drivers/infiniband/hw/mlx4/sysfs.c 	if (vdentry->dentry.store)
vdentry           185 drivers/infiniband/hw/mlx4/sysfs.c 		vdentry->dentry.attr.mode |= S_IWUSR;
vdentry           187 drivers/infiniband/hw/mlx4/sysfs.c 	if (vdentry->dentry.show)
vdentry           188 drivers/infiniband/hw/mlx4/sysfs.c 		vdentry->dentry.attr.mode |= S_IRUGO;
vdentry           190 drivers/infiniband/hw/mlx4/sysfs.c 	ret = sysfs_create_file(vdentry->kobj, &vdentry->dentry.attr);
vdentry           192 drivers/infiniband/hw/mlx4/sysfs.c 		pr_err("failed to create %s\n", vdentry->dentry.attr.name);
vdentry           193 drivers/infiniband/hw/mlx4/sysfs.c 		vdentry->ctx = NULL;