Lines Matching refs:len_tmp
1133 long len_tmp;
1191 len_tmp = strncpy_from_user(&buf_head[len_buf], p,
1193 if (len_tmp == -EFAULT) {
1197 } else if (len_tmp == (len_max - len_buf)) {
1206 p += len_tmp;
1211 buf, len_tmp);
1215 len_tmp * 2 : len_tmp);
1216 p += len_tmp + 1;
1218 len_buf += len_tmp;
1241 len_tmp = 0;
1245 len_tmp += snprintf(&abuf[len_tmp],
1246 sizeof(abuf) - len_tmp,
1250 len_tmp += snprintf(&abuf[len_tmp],
1251 sizeof(abuf) - len_tmp,
1254 len_tmp += snprintf(&abuf[len_tmp],
1255 sizeof(abuf) - len_tmp,
1257 WARN_ON(len_tmp >= sizeof(abuf));
1262 len_rem -= len_tmp;
1263 len_tmp = len_buf;
1266 len_tmp = len_rem / 2; /* encoding */
1267 audit_log_n_hex(*ab, buf, len_tmp);
1268 len_rem -= len_tmp * 2;
1269 len_abuf -= len_tmp * 2;
1272 len_tmp = len_rem - 2; /* quotes */
1273 audit_log_n_string(*ab, buf, len_tmp);
1274 len_rem -= len_tmp + 2;
1277 len_abuf -= len_tmp;
1279 len_buf -= len_tmp;
1280 buf += len_tmp;