Home
last modified time | relevance | path

Searched refs:maxlen (Results 1 – 5 of 5) sorted by relevance

/busybox-1.35.0/networking/libiproute/
Dlibnetlink.h55 extern int addattr32(struct nlmsghdr *n, int maxlen, int type, uint32_t data) FAST_FUNC;
56 extern int addattr_l(struct nlmsghdr *n, int maxlen, int type, void *data, int alen) FAST_FUNC;
57 extern int rta_addattr32(struct rtattr *rta, int maxlen, int type, uint32_t data) FAST_FUNC;
58 extern int rta_addattr_l(struct rtattr *rta, int maxlen, int type, void *data, int alen) FAST_FUNC;
Dlibnetlink.c361 int FAST_FUNC addattr32(struct nlmsghdr *n, int maxlen, int type, uint32_t data) in addattr32() argument
366 if ((int)(NLMSG_ALIGN(n->nlmsg_len + len)) > maxlen) { in addattr32()
377 int FAST_FUNC addattr_l(struct nlmsghdr *n, int maxlen, int type, void *data, int alen) in addattr_l() argument
382 if ((int)(NLMSG_ALIGN(n->nlmsg_len + len)) > maxlen) { in addattr_l()
393 int FAST_FUNC rta_addattr32(struct rtattr *rta, int maxlen, int type, uint32_t data) in rta_addattr32() argument
398 if (RTA_ALIGN(rta->rta_len + len) > maxlen) { in rta_addattr32()
409 int FAST_FUNC rta_addattr_l(struct rtattr *rta, int maxlen, int type, void *data, int alen) in rta_addattr_l() argument
414 if (RTA_ALIGN(rta->rta_len + len) > maxlen) { in rta_addattr_l()
/busybox-1.35.0/util-linux/volume_id/
Dutil.c105 static size_t strnlen(const char *s, size_t maxlen) in strnlen() argument
108 if (!maxlen) return 0; in strnlen()
110 for (i = 0; *s && i < maxlen; ++s) ++i; in strnlen()
/busybox-1.35.0/shell/
Dhush.c548 int maxlen; member
2947 if (o->length + len > o->maxlen) { in o_grow_by()
2948 o->maxlen += (2 * len) | (B_CHUNK-1); in o_grow_by()
2949 o->data = xrealloc(o->data, 1 + o->maxlen); in o_grow_by()
2956 if (o->length < o->maxlen) { in o_addchr()
3151 prefix, list, n, string_start, o->length, o->maxlen, in debug_print_list()
3187 o->maxlen += 0x10 * sizeof(list[0]); in o_save_ptr_helper()
3188 o->data = xrealloc(o->data, o->maxlen + 1); in o_save_ptr_helper()
Dash.c540 int maxlen = 9 + 1; /* max 9 digits: 999999999 */ in isdigit_str9() local
541 while (--maxlen && isdigit(*str)) in isdigit_str9()