Lines Matching defs:dsi
25 #include <atalk/dsi.h>
837 * with dsi, should we check that reqcount < server quantum?
909 /* dsi can stream requests. we can only do this if we're not checking
912 DSI *dsi = obj->handle;
930 if ((cc = dsi_readinit(dsi, rbuf, *rbuflen, reqcount, err)) < 0)
940 if (dsi_stream_read_file(dsi, fd, offset, dsi->datasize) < 0) {
949 dsi_readdone(dsi);
965 printf( "(read) reply: %d, %d\n", *rbuflen, dsi->clientID);
970 cc = dsi_read(dsi, rbuf, *rbuflen); /* send it off */
975 dsi_readdone(dsi);
980 dsi_readdone(dsi);
1253 /* this is yucky, but dsi can stream i/o and asp can't */
1281 DSI *dsi = obj->handle;
1284 cc = dsi_writeinit(dsi, rbuf, *rbuflen);
1286 dsi_writeflush(dsi);
1295 if ((cc = ad_writefile(ofork->of_ad, eid, dsi->socket,
1296 offset, dsi->datasize)) < 0) {
1307 dsi_writeflush(dsi);
1321 while ((cc = dsi_write(dsi, rbuf, *rbuflen))) {
1323 dsi_writeflush(dsi);