Lines Matching defs: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;
88 if (cnt >= 2) {
94 cnt -= 2;
97 if (cnt) {
103 cnt--;
119 int cnt, ret;
131 cnt = nbytes;
133 if (!access_ok(buf, cnt))
138 if ((pos & 1) && cnt) {
144 cnt--;
147 if ((pos & 3) && cnt > 2) {
153 cnt -= 2;
156 while (cnt >= 4) {
162 cnt -= 4;
165 if (cnt >= 2) {
171 cnt -= 2;
174 if (cnt) {
180 cnt--;