Searched refs:avail (Results 1 – 3 of 3) sorted by relevance
/kernel/ |
D | audit.c | 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() [all …]
|
D | relay.c | 959 size_t padding, avail = 0; in relay_file_read_subbuf_avail() local 971 avail = write_offset - (read_offset + padding); in relay_file_read_subbuf_avail() 973 avail = (subbuf_size - padding) - read_offset; in relay_file_read_subbuf_avail() 975 return avail; in relay_file_read_subbuf_avail() 1039 size_t read_start, avail; in relay_file_read() local 1054 avail = relay_file_read_subbuf_avail(read_start, buf); in relay_file_read() 1055 if (!avail) in relay_file_read() 1058 avail = min(count, avail); in relay_file_read() 1060 ret = avail; in relay_file_read() 1061 if (copy_to_user(buffer, from, avail)) in relay_file_read()
|
D | resource.c | 554 void __weak arch_remove_reservations(struct resource *avail) in arch_remove_reservations() argument 559 const struct resource *avail, in simple_align_resource() argument 563 return avail->start; in simple_align_resource() 585 struct resource tmp = *new, avail, alloc; in __find_resource() local 609 avail.start = ALIGN(tmp.start, constraint->align); in __find_resource() 610 avail.end = tmp.end; in __find_resource() 611 avail.flags = new->flags & ~IORESOURCE_UNSET; in __find_resource() 612 if (avail.start >= tmp.start) { in __find_resource() 613 alloc.flags = avail.flags; in __find_resource() 614 alloc.start = constraint->alignf(constraint->alignf_data, &avail, in __find_resource() [all …]
|