Lines Matching refs:ar
742 struct simple_transaction_argresp *ar = file->private_data; in simple_transaction_set() local
751 ar->size = n; in simple_transaction_set()
757 struct simple_transaction_argresp *ar; in simple_transaction_get() local
763 ar = (struct simple_transaction_argresp *)get_zeroed_page(GFP_KERNEL); in simple_transaction_get()
764 if (!ar) in simple_transaction_get()
772 free_page((unsigned long)ar); in simple_transaction_get()
776 file->private_data = ar; in simple_transaction_get()
780 if (copy_from_user(ar->data, buf, size)) in simple_transaction_get()
783 return ar->data; in simple_transaction_get()
789 struct simple_transaction_argresp *ar = file->private_data; in simple_transaction_read() local
791 if (!ar) in simple_transaction_read()
793 return simple_read_from_buffer(buf, size, pos, ar->data, ar->size); in simple_transaction_read()