Lines Matching refs:ubuf

47 			void __user *ubuf, int ctxnum, int dsrcnt,  in gru_dump_context_data()  argument
61 if (gru_user_copy_handle(&ubuf, cb)) in gru_dump_context_data()
63 if (gru_user_copy_handle(&ubuf, tfh + i * GRU_HANDLE_STRIDE)) in gru_dump_context_data()
65 if (gru_user_copy_handle(&ubuf, cbe + i * GRU_HANDLE_STRIDE)) in gru_dump_context_data()
70 memcpy(ubuf, gseg + GRU_DS_BASE, dsrcnt * GRU_HANDLE_STRIDE); in gru_dump_context_data()
78 void __user *ubuf, void __user *ubufend) in gru_dump_tfm() argument
84 if (bytes > ubufend - ubuf) in gru_dump_tfm()
89 if (gru_user_copy_handle(&ubuf, tfm)) in gru_dump_tfm()
99 void __user *ubuf, void __user *ubufend) in gru_dump_tgh() argument
105 if (bytes > ubufend - ubuf) in gru_dump_tgh()
110 if (gru_user_copy_handle(&ubuf, tgh)) in gru_dump_tgh()
120 void __user *ubuf, void __user *ubufend, char data_opt, in gru_dump_context() argument
124 struct gru_dump_context_header __user *uhdr = ubuf; in gru_dump_context()
140 ubuf += sizeof(hdr); in gru_dump_context()
141 ubufcch = ubuf; in gru_dump_context()
142 if (gru_user_copy_handle(&ubuf, cch)) { in gru_dump_context()
164 if (bytes > ubufend - ubuf) in gru_dump_context()
167 ret = gru_dump_context_data(grubase, cch, ubuf, ctxnum, in gru_dump_context()
191 void __user *ubuf; in gru_dump_chiplet_request() local
203 ubuf = req.buf; in gru_dump_chiplet_request()
206 ret = gru_dump_tfm(gru, ubuf, ubufend); in gru_dump_chiplet_request()
209 ubuf += ret; in gru_dump_chiplet_request()
211 ret = gru_dump_tgh(gru, ubuf, ubufend); in gru_dump_chiplet_request()
214 ubuf += ret; in gru_dump_chiplet_request()
218 ret = gru_dump_context(gru, ctxnum, ubuf, ubufend, in gru_dump_chiplet_request()
223 ubuf += ret; in gru_dump_chiplet_request()