Lines Matching refs:s_attr
40 * sysfs_dirent->s_attr.open points to sysfs_open_dirent. s_attr.open
91 buffer->event = atomic_read(&attr_sd->s_attr.open->event);
92 count = ops->show(kobj, attr_sd->s_attr.attr, buffer->page);
209 rc = ops->store(kobj, attr_sd->s_attr.attr, buffer->page, count);
255 * If @sd->s_attr.open exists, increment its reference count;
273 if (!sd->s_attr.open && new_od) {
274 sd->s_attr.open = new_od;
278 od = sd->s_attr.open;
308 * Put @sd->s_attr.open and unlink @buffer from the buffers list.
317 struct sysfs_open_dirent *od = sd->s_attr.open;
324 sd->s_attr.open = NULL;
437 struct sysfs_open_dirent *od = attr_sd->s_attr.open;
464 od = sd->s_attr.open;
514 sd->s_attr.attr = (void *)attr;