Home
last modified time | relevance | path

Searched refs:avail (Results 1 – 3 of 3) sorted by relevance

/kernel/
Daudit.c1188 int len, avail; in audit_log_vformat() local
1197 avail = skb_tailroom(skb); in audit_log_vformat()
1198 if (avail == 0) { in audit_log_vformat()
1199 avail = audit_expand(ab, AUDIT_BUFSIZ); in audit_log_vformat()
1200 if (!avail) in audit_log_vformat()
1204 len = vsnprintf(skb_tail_pointer(skb), avail, fmt, args); in audit_log_vformat()
1205 if (len >= avail) { in audit_log_vformat()
1209 avail = audit_expand(ab, in audit_log_vformat()
1210 max_t(unsigned, AUDIT_BUFSIZ, 1+len-avail)); in audit_log_vformat()
1211 if (!avail) in audit_log_vformat()
[all …]
Drelay.c1020 size_t padding, avail = 0; in relay_file_read_subbuf_avail() local
1032 avail = write_offset - (read_offset + padding); in relay_file_read_subbuf_avail()
1034 avail = (subbuf_size - padding) - read_offset; in relay_file_read_subbuf_avail()
1036 return avail; in relay_file_read_subbuf_avail()
1101 size_t avail, in subbuf_read_actor() argument
1108 ret = avail; in subbuf_read_actor()
1109 if (copy_to_user(desc->arg.buf, from, avail)) { in subbuf_read_actor()
1122 size_t avail,
1133 size_t read_start, avail; in relay_file_read_subbufs() local
1145 avail = relay_file_read_subbuf_avail(read_start, buf); in relay_file_read_subbufs()
[all …]
Dresource.c413 void __weak arch_remove_reservations(struct resource *avail) in arch_remove_reservations() argument
418 const struct resource *avail, in simple_align_resource() argument
422 return avail->start; in simple_align_resource()
449 struct resource tmp = *new, avail, alloc; in __find_resource() local
474 avail = *new; in __find_resource()
475 avail.start = ALIGN(tmp.start, constraint->align); in __find_resource()
476 avail.end = tmp.end; in __find_resource()
477 if (avail.start >= tmp.start) { in __find_resource()
478 alloc.start = constraint->alignf(constraint->alignf_data, &avail, in __find_resource()
481 if (resource_contains(&avail, &alloc)) { in __find_resource()