* Compare the contents of abd to buf. (off is the offset in abd.) */
| 860 | * Compare the contents of abd to buf. (off is the offset in abd.) |
| 861 | */ |
| 862 | int |
| 863 | abd_cmp_buf_off(abd_t *abd, const void *buf, size_t off, size_t size) |
| 864 | { |
| 865 | struct buf_arg ba_ptr = { (void *) buf }; |
| 866 | |
| 867 | return (abd_iterate_func(abd, off, size, abd_cmp_buf_off_cb, &ba_ptr)); |
| 868 | } |
| 869 | |
| 870 | static int |
| 871 | abd_copy_from_buf_off_cb(void *buf, size_t size, void *private) |
no test coverage detected