H A D | sg.c | 207 static int sg_build_indi(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size); 208 static int sg_build_sgat(Sg_scatter_hold * schp, const Sg_fd * sfp, 210 static ssize_t sg_new_read(Sg_fd * sfp, char * buf, size_t count, 212 static ssize_t sg_new_write(Sg_fd * sfp, const char * buf, size_t count, 214 static int sg_common_write(Sg_fd * sfp, Sg_request * srp, 223 static void sg_build_reserve(Sg_fd * sfp, int req_size); 224 static void sg_link_reserve(Sg_fd * sfp, Sg_request * srp, int size); 225 static void sg_unlink_reserve(Sg_fd * sfp, Sg_request * srp); 226 static char * sg_malloc(const Sg_fd * sfp, int size, int * retSzp, 233 static int sg_remove_sfp(Sg_device * sdp, Sg_fd * sfp); 264 Sg_fd * sfp; local 342 Sg_fd * sfp; local 369 Sg_fd * sfp; local 473 sg_new_read(Sg_fd * sfp, char * buf, size_t count, Sg_request * srp) argument 515 Sg_fd * sfp; local 600 sg_new_write(Sg_fd * sfp, const char * buf, size_t count, int blocking, int read_only, Sg_request ** o_srp) argument 660 sg_common_write(Sg_fd * sfp, Sg_request * srp, unsigned char * cmnd, int timeout, int blocking) argument 750 Sg_fd * sfp; local 1010 Sg_fd * sfp; local 1045 Sg_fd * sfp; local 1098 Sg_fd * sfp; local 1146 Sg_fd * sfp; local 1196 Sg_fd * sfp; local 1478 Sg_fd * sfp; local 1574 Sg_fd * sfp = srp->parentfp; local 1605 Sg_fd * sfp = srp->parentfp; local 1618 sg_build_sgat(Sg_scatter_hold * schp, const Sg_fd * sfp, int tablesize) argument 1659 sg_build_dir(Sg_request * srp, Sg_fd * sfp, int dxfer_len) argument 1745 sg_build_indi(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size) argument 2107 sg_build_reserve(Sg_fd * sfp, int req_size) argument 2123 sg_link_reserve(Sg_fd * sfp, Sg_request * srp, int size) argument 2170 sg_unlink_reserve(Sg_fd * sfp, Sg_request * srp) argument 2195 sg_get_rq_mark(Sg_fd * sfp, int pack_id) argument 2214 sg_get_nth_request(Sg_fd * sfp, int nth) argument 2230 sg_add_request(Sg_fd * sfp) argument 2276 sg_remove_request(Sg_fd * sfp, Sg_request * srp) argument 2325 Sg_fd * sfp; local 2361 __sg_remove_sfp(Sg_device * sdp, Sg_fd * sfp) argument 2391 sg_remove_sfp(Sg_device * sdp, Sg_fd * sfp) argument 2439 sg_res_in_use(Sg_fd * sfp) argument 2521 sg_malloc(const Sg_fd * sfp, int size, int * retSzp, int * mem_srcp) argument [all...] |