Lines Matching refs:cnt
33 unsigned int cnt, size;
54 cnt = nbytes;
56 if (!access_ok(buf, cnt))
61 if ((pos & 1) && cnt) {
67 cnt--;
70 if ((pos & 3) && cnt > 2) {
76 cnt -= 2;
79 while (cnt >= 4) {
85 cnt -= 4;
89 if (cnt >= 2) {
95 cnt -= 2;
98 if (cnt) {
118 int cnt, ret;
130 cnt = nbytes;
132 if (!access_ok(buf, cnt))
137 if ((pos & 1) && cnt) {
143 cnt--;
146 if ((pos & 3) && cnt > 2) {
152 cnt -= 2;
155 while (cnt >= 4) {
161 cnt -= 4;
164 if (cnt >= 2) {
170 cnt -= 2;
173 if (cnt) {