Home
last modified time | relevance | path

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

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