Lines Matching refs:od
268 struct sysfs_open_dirent *od, *new_od = NULL;
278 od = sd->s_attr.open;
279 if (od) {
280 atomic_inc(&od->refcnt);
281 list_add_tail(&buffer->list, &od->buffers);
286 if (od) {
317 struct sysfs_open_dirent *od = sd->s_attr.open;
323 if (atomic_dec_and_test(&od->refcnt))
326 od = NULL;
330 kfree(od);
437 struct sysfs_open_dirent *od = attr_sd->s_attr.open;
443 poll_wait(filp, &od->poll, wait);
447 if (buffer->event != atomic_read(&od->event))
459 struct sysfs_open_dirent *od;
464 od = sd->s_attr.open;
465 if (od) {
466 atomic_inc(&od->event);
467 wake_up_interruptible(&od->poll);