Lines Matching refs:reserve
161 char res_used; /* 1 -> using reserve buffer, 0 -> not ... */
174 Sg_scatter_hold reserve; /* buffer held for this file descriptor */
626 if (hp->dxfer_len > sfp->reserve.bufflen) {
628 return -ENOMEM; /* MMAP_IO size must fit in reserve buffer */
636 return -EBUSY; /* reserve buffer already being used */
808 val = (int)sfp->reserve.bufflen;
809 sg_remove_scat(&sfp->reserve);
874 if (val != sfp->reserve.bufflen) {
877 sg_remove_scat(&sfp->reserve);
882 val = (int)sfp->reserve.bufflen;
1065 if (rsv_schp->k_use_sg) { /* reserve buffer is a scatter gather list */
1081 else { /* reserve buffer is just a single allocation */
1106 rsv_schp = &sfp->reserve;
1112 if (rsv_schp->k_use_sg) { /* reserve buffer is a scatter gather list */
1132 else { /* reserve buffer is just a single allocation */
1156 rsv_schp = &sfp->reserve;
1160 if (rsv_schp->k_use_sg) { /* reserve buffer is a scatter gather list */
1175 else { /* reserve buffer is just a single allocation */
1579 Sg_scatter_hold * rsv_schp = &sfp->reserve;
2109 Sg_scatter_hold * schp = &sfp->reserve;
2126 Sg_scatter_hold * rsv_schp = &sfp->reserve;
2173 Sg_scatter_hold * rsv_schp = &sfp->reserve;
2357 sfp->reserve.bufflen, sfp->reserve.k_use_sg));
2378 if (sfp->reserve.bufflen > 0) {
2380 (int)sfp->reserve.bufflen, (int)sfp->reserve.k_use_sg));
2382 sg_rb_correct4mmap(&sfp->reserve, 0); /* undo correction */
2383 sg_remove_scat(&sfp->reserve);
2925 sg_jif_to_ms(fp->timeout), fp->reserve.bufflen,
2926 (int)fp->reserve.k_use_sg, (int)fp->low_dma);