Lines Matching refs:avail
1964 int len, avail; in audit_log_vformat() local
1973 avail = skb_tailroom(skb); in audit_log_vformat()
1974 if (avail == 0) { in audit_log_vformat()
1975 avail = audit_expand(ab, AUDIT_BUFSIZ); in audit_log_vformat()
1976 if (!avail) in audit_log_vformat()
1980 len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args); in audit_log_vformat()
1981 if (len >= avail) { in audit_log_vformat()
1985 avail = audit_expand(ab, in audit_log_vformat()
1986 max_t(unsigned, AUDIT_BUFSIZ, 1+len-avail)); in audit_log_vformat()
1987 if (!avail) in audit_log_vformat()
1989 len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args2); in audit_log_vformat()
2032 int i, avail, new_len; in audit_log_n_hex() local
2041 avail = skb_tailroom(skb); in audit_log_n_hex()
2043 if (new_len >= avail) { in audit_log_n_hex()
2045 new_len = AUDIT_BUFSIZ*(((new_len-avail)/AUDIT_BUFSIZ) + 1); in audit_log_n_hex()
2046 avail = audit_expand(ab, new_len); in audit_log_n_hex()
2047 if (!avail) in audit_log_n_hex()
2065 int avail, new_len; in audit_log_n_string() local
2074 avail = skb_tailroom(skb); in audit_log_n_string()
2076 if (new_len > avail) { in audit_log_n_string()
2077 avail = audit_expand(ab, new_len); in audit_log_n_string()
2078 if (!avail) in audit_log_n_string()