Lines Matching refs:userbuf
887 translate_from_user(struct dmabuf *db, char* dmabuf, char* userbuf,
900 if (copy_from_user(dmabuf, userbuf, dmacount))
909 if (copy_from_user(usersample, userbuf,
929 userbuf += db->user_bytes_per_sample;
943 translate_to_user(struct dmabuf *db, char* userbuf, char* dmabuf,
955 if (copy_to_user(userbuf, dmabuf, dmacount))
973 if (copy_to_user(userbuf, usersample,
978 userbuf += db->user_bytes_per_sample;
991 copy_dmabuf_user(struct dmabuf *db, char* userbuf, int count, int to_user)
1000 if ((cnt = translate_to_user(db, userbuf,
1004 if ((cnt = translate_to_user(db, userbuf + partial,
1010 if ((cnt = translate_from_user(db, bufptr, userbuf,
1015 userbuf + partial,
1022 ret = translate_to_user(db, userbuf, bufptr, count);
1024 ret = translate_from_user(db, bufptr, userbuf, count);