Searched refs:avail (Results 1 – 3 of 3) sorted by relevance
/kernel/ |
D | audit.c | 1966 int len, avail; in audit_log_vformat() local 1975 avail = skb_tailroom(skb); in audit_log_vformat() 1976 if (avail == 0) { in audit_log_vformat() 1977 avail = audit_expand(ab, AUDIT_BUFSIZ); in audit_log_vformat() 1978 if (!avail) in audit_log_vformat() 1982 len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args); in audit_log_vformat() 1983 if (len >= avail) { in audit_log_vformat() 1987 avail = audit_expand(ab, in audit_log_vformat() 1988 max_t(unsigned, AUDIT_BUFSIZ, 1+len-avail)); in audit_log_vformat() 1989 if (!avail) in audit_log_vformat() [all …]
|
D | relay.c | 962 size_t padding, avail = 0; in relay_file_read_subbuf_avail() local 974 avail = write_offset - (read_offset + padding); in relay_file_read_subbuf_avail() 976 avail = (subbuf_size - padding) - read_offset; in relay_file_read_subbuf_avail() 978 return avail; in relay_file_read_subbuf_avail() 1042 size_t read_start, avail; in relay_file_read() local 1057 avail = relay_file_read_subbuf_avail(read_start, buf); in relay_file_read() 1058 if (!avail) in relay_file_read() 1061 avail = min(count, avail); in relay_file_read() 1063 ret = avail; in relay_file_read() 1064 if (copy_to_user(buffer, from, avail)) in relay_file_read()
|
D | resource.c | 541 void __weak arch_remove_reservations(struct resource *avail) in arch_remove_reservations() argument 546 const struct resource *avail, in simple_align_resource() argument 550 return avail->start; in simple_align_resource() 572 struct resource tmp = *new, avail, alloc; in __find_resource() local 596 avail.start = ALIGN(tmp.start, constraint->align); in __find_resource() 597 avail.end = tmp.end; in __find_resource() 598 avail.flags = new->flags & ~IORESOURCE_UNSET; in __find_resource() 599 if (avail.start >= tmp.start) { in __find_resource() 600 alloc.flags = avail.flags; in __find_resource() 601 alloc.start = constraint->alignf(constraint->alignf_data, &avail, in __find_resource() [all …]
|