Lines Matching refs:mpipe
1425 struct pipe *mpipe = fp->f_data; in pipe_ioctl() local
1428 PIPE_LOCK(mpipe); in pipe_ioctl()
1431 error = mac_pipe_check_ioctl(active_cred, mpipe->pipe_pair, cmd, data); in pipe_ioctl()
1433 PIPE_UNLOCK(mpipe); in pipe_ioctl()
1445 mpipe->pipe_state |= PIPE_ASYNC; in pipe_ioctl()
1447 mpipe->pipe_state &= ~PIPE_ASYNC; in pipe_ioctl()
1454 PIPE_UNLOCK(mpipe); in pipe_ioctl()
1457 if (mpipe->pipe_pages.cnt != 0) in pipe_ioctl()
1458 *(int *)data = mpipe->pipe_pages.cnt; in pipe_ioctl()
1460 *(int *)data = mpipe->pipe_buffer.cnt; in pipe_ioctl()
1464 PIPE_UNLOCK(mpipe); in pipe_ioctl()
1465 error = fsetown(*(int *)data, &mpipe->pipe_sigio); in pipe_ioctl()
1469 *(int *)data = fgetown(&mpipe->pipe_sigio); in pipe_ioctl()
1474 PIPE_UNLOCK(mpipe); in pipe_ioctl()
1475 error = fsetown(-(*(int *)data), &mpipe->pipe_sigio); in pipe_ioctl()
1480 *(int *)data = -fgetown(&mpipe->pipe_sigio); in pipe_ioctl()
1487 PIPE_UNLOCK(mpipe); in pipe_ioctl()