Lines Matching refs:res
40 int res = 0;
46 if (res > (PAGE_SIZE - IFNAMSIZ)) {
48 if ((PAGE_SIZE - res) > 10)
49 res = PAGE_SIZE - 10;
50 res += sprintf(buf + res, "++more++ ");
53 res += sprintf(buf + res, "%s ", bond->dev->name);
55 if (res)
56 buf[res-1] = '\n'; /* eat the leftover space */
59 return res;
86 int rv, res = count;
102 res = rv;
114 res = -ENODEV;
123 return res;
171 int res = 0;
177 if (res > (PAGE_SIZE - IFNAMSIZ)) {
179 if ((PAGE_SIZE - res) > 10)
180 res = PAGE_SIZE - 10;
181 res += sprintf(buf + res, "++more++ ");
184 res += sprintf(buf + res, "%s ", slave->dev->name);
189 if (res)
190 buf[res-1] = '\n'; /* eat the leftover space */
192 return res;
291 int i, res = 0;
295 res += sprintf(buf + res, "%pI4 ",
298 if (res)
299 buf[res-1] = '\n'; /* eat the leftover space */
301 return res;
595 int res = 0;
601 if (res > (PAGE_SIZE - IFNAMSIZ - 6)) {
603 if ((PAGE_SIZE - res) > 10)
604 res = PAGE_SIZE - 10;
605 res += sprintf(buf + res, "++more++ ");
608 res += sprintf(buf + res, "%s:%d ",
611 if (res)
612 buf[res-1] = '\n'; /* eat the leftover space */
616 return res;