Lines Matching refs:arg
60 int (*op)(unsigned long addr, int len, void *arg), void *arg) in do_op_one_page() argument
79 n = (*op)(addr, len, arg); in do_op_one_page()
91 int (*op)(unsigned long, int, void *), void *arg) in buffer_op() argument
98 n = do_op_one_page(addr, size, is_write, op, arg); in buffer_op()
110 n = do_op_one_page(addr, PAGE_SIZE, is_write, op, arg); in buffer_op()
122 n = do_op_one_page(addr, remain, is_write, op, arg); in buffer_op()
133 static int copy_chunk_from_user(unsigned long from, int len, void *arg) in copy_chunk_from_user() argument
135 unsigned long *to_ptr = arg, to = *to_ptr; in copy_chunk_from_user()
153 static int copy_chunk_to_user(unsigned long to, int len, void *arg) in copy_chunk_to_user() argument
155 unsigned long *from_ptr = arg, from = *from_ptr; in copy_chunk_to_user()
173 static int strncpy_chunk_from_user(unsigned long from, int len, void *arg) in strncpy_chunk_from_user() argument
175 char **to_ptr = arg, *to = *to_ptr; in strncpy_chunk_from_user()
222 static int strnlen_chunk(unsigned long str, int len, void *arg) in strnlen_chunk() argument
224 int *len_ptr = arg, n; in strnlen_chunk()