Lines Matching refs:userbuf
850 translate_from_user(struct dmabuf *db, char* dmabuf, char* userbuf,
863 if (copy_from_user(dmabuf, userbuf, dmacount))
872 if (copy_from_user(usersample, userbuf,
892 userbuf += db->user_bytes_per_sample;
906 translate_to_user(struct dmabuf *db, char* userbuf, char* dmabuf,
918 if (copy_to_user(userbuf, dmabuf, dmacount))
936 if (copy_to_user(userbuf, usersample,
941 userbuf += db->user_bytes_per_sample;
954 copy_dmabuf_user(struct dmabuf *db, char* userbuf, int count, int to_user)
963 if ((cnt = translate_to_user(db, userbuf,
967 if ((cnt = translate_to_user(db, userbuf + partial,
973 if ((cnt = translate_from_user(db, bufptr, userbuf,
978 userbuf + partial,
985 ret = translate_to_user(db, userbuf, bufptr, count);
987 ret = translate_from_user(db, bufptr, userbuf, count);