Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/scsi/
Dst.c3958 static void clear_buffer(struct st_buffer * st_bp) in clear_buffer() argument
3962 for (i=0; i < st_bp->frp_segs; i++) in clear_buffer()
3963 memset(page_address(st_bp->reserved_pages[i]), 0, in clear_buffer()
3964 PAGE_SIZE << st_bp->reserved_page_order); in clear_buffer()
3965 st_bp->cleared = 1; in clear_buffer()
3987 static int append_to_buffer(const char __user *ubp, struct st_buffer * st_bp, int do_count) in append_to_buffer() argument
3990 int length = PAGE_SIZE << st_bp->reserved_page_order; in append_to_buffer()
3992 for (i = 0, offset = st_bp->buffer_bytes; in append_to_buffer()
3993 i < st_bp->frp_segs && offset >= length; i++) in append_to_buffer()
3995 if (i == st_bp->frp_segs) { /* Should never happen */ in append_to_buffer()
[all …]