Home
last modified time | relevance | path

Searched refs:st_bp (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/scsi/
Dst.c3954 static void clear_buffer(struct st_buffer * st_bp) in clear_buffer() argument
3958 for (i=0; i < st_bp->frp_segs; i++) in clear_buffer()
3959 memset(page_address(st_bp->reserved_pages[i]), 0, in clear_buffer()
3960 PAGE_SIZE << st_bp->reserved_page_order); in clear_buffer()
3961 st_bp->cleared = 1; in clear_buffer()
3983 static int append_to_buffer(const char __user *ubp, struct st_buffer * st_bp, int do_count) in append_to_buffer() argument
3986 int length = PAGE_SIZE << st_bp->reserved_page_order; in append_to_buffer()
3988 for (i = 0, offset = st_bp->buffer_bytes; in append_to_buffer()
3989 i < st_bp->frp_segs && offset >= length; i++) in append_to_buffer()
3991 if (i == st_bp->frp_segs) { /* Should never happen */ in append_to_buffer()
[all …]