Lines Matching defs:bsz
916 int bsz, sec;
941 bsz = dlslot->e_sections[sec].s_fsize - secoff;
942 if (bsz > dlslot->dl_bsz)
943 bsz = dlslot->dl_bsz;
948 len = read(dlslot->ldfd, buf, bsz);
956 bsz = dlslot->e_sections[sec].s_pad -
958 if (bsz > dlslot->dl_bsz)
959 bsz = dlslot->dl_bsz;
960 memset(buf, 0, (len = bsz));
972 dlslot->e_curpos += bsz;
981 bsz = dlslot->dl_bsz;
989 if (notdone <= bsz) {
992 outlen = read(dlslot->ldfd,&buf[len],bsz);
996 bsz = bsz - outlen;
1001 if ((bsz > 0) && (pos < total)) {
1003 if (notdone <= bsz) {
1006 outlen = bsz;
1011 bsz = bsz - outlen;
1016 if ((bsz > 0) && (pos < total)) {
1018 if (notdone <= bsz) {
1021 outlen = read(dlslot->ldfd,&buf[len],bsz);
1025 bsz = bsz - outlen;
1030 if ((bsz > 0) && (pos < total)) {
1032 if (notdone <= bsz) {
1035 outlen = bsz;
1040 bsz = bsz - outlen;
1045 if ((bsz > 0) && (pos < total)) {
1047 if (notdone <= bsz) {
1050 outlen = bsz;
1055 bsz = bsz - outlen;
1060 if ((bsz > 0) && (pos < total)) {
1062 if (notdone <= bsz) {
1065 outlen = bsz;
1070 bsz = bsz - outlen;