Searched refs:SG_ADDRESS (Results 1 – 3 of 3) sorted by relevance
471 # define SG_ADDRESS(buffer) ((buffer)->address) macro480 # define SG_ADDRESS(buffer) ((char *) (page_address((buffer)->page)+(buffer)->offset)) macro
257 SCpnt->SCp.ptr = SG_ADDRESS(SCpnt->SCp.buffer); in nsp_queuecommand()846 SCpnt->SCp.ptr = SG_ADDRESS(SCpnt->SCp.buffer); in nsp_pio_read()940 SCpnt->SCp.ptr = SG_ADDRESS(SCpnt->SCp.buffer); in nsp_pio_write()
606 #define SG_ADDRESS(buffer) ((buffer)->address) macro608 #define SG_ADDRESS(buffer) ((char *) (page_address((buffer)->page)+(buffer)->offset)) macro1525 SCpnt->SCp.ptr = SG_ADDRESS(SCpnt->SCp.buffer);2737 CURRENT_SC->SCp.ptr = SG_ADDRESS(CURRENT_SC->SCp.buffer);2847 CURRENT_SC->SCp.ptr = SG_ADDRESS(CURRENT_SC->SCp.buffer);2877 data_count -= CURRENT_SC->SCp.ptr - SG_ADDRESS(CURRENT_SC->SCp.buffer);2883 CURRENT_SC->SCp.ptr = SG_ADDRESS(CURRENT_SC->SCp.buffer) - data_count;