Searched refs:buflen (Results 1 – 4 of 4) sorted by relevance
/lib/ |
D | scatterlist.c | 138 void sg_init_one(struct scatterlist *sg, const void *buf, unsigned int buflen) in sg_init_one() argument 141 sg_set_buf(sg, buf, buflen); in sg_init_one() 841 size_t buflen, off_t skip, bool to_buffer) in sg_copy_buffer() argument 857 while ((offset < buflen) && sg_miter_next(&miter)) { in sg_copy_buffer() 860 len = min(miter.length, buflen - offset); in sg_copy_buffer() 887 const void *buf, size_t buflen) in sg_copy_from_buffer() argument 889 return sg_copy_buffer(sgl, nents, (void *)buf, buflen, 0, false); in sg_copy_from_buffer() 904 void *buf, size_t buflen) in sg_copy_to_buffer() argument 906 return sg_copy_buffer(sgl, nents, buf, buflen, 0, true); in sg_copy_to_buffer() 922 const void *buf, size_t buflen, off_t skip) in sg_pcopy_from_buffer() argument [all …]
|
D | test_hexdump.c | 160 static void __init test_hexdump_overflow(size_t buflen, size_t len, in test_hexdump_overflow() argument 174 r = hex_dump_to_buffer(data_b, len, rs, gs, buf, buflen, ascii); in test_hexdump_overflow() 188 f = min_t(int, e + 1, buflen); in test_hexdump_overflow() 189 if (buflen) { in test_hexdump_overflow() 201 len, buflen, strnlen(buf, sizeof(buf))); in test_hexdump_overflow() 208 static void __init test_hexdump_overflow_set(size_t buflen, bool ascii) in test_hexdump_overflow_set() argument 217 test_hexdump_overflow(buflen, rounddown(len, gs), rs, gs, ascii); in test_hexdump_overflow_set()
|
D | kobject_uevent.c | 256 len = strlcpy(&env->buf[env->buflen], subsystem, in init_uevent_argv() 257 sizeof(env->buf) - env->buflen); in init_uevent_argv() 258 if (len >= (sizeof(env->buf) - env->buflen)) { in init_uevent_argv() 264 env->argv[1] = &env->buf[env->buflen]; in init_uevent_argv() 267 env->buflen += len + 1; in init_uevent_argv() 289 skb = alloc_skb(len + env->buflen, GFP_KERNEL); in alloc_uevent_skb() 297 skb_put_data(skb, env->buf, env->buflen); in alloc_uevent_skb() 435 env->buflen - len); in zap_modalias_env() 442 env->buflen -= len; in zap_modalias_env() 664 len = vsnprintf(&env->buf[env->buflen], in add_uevent_var() [all …]
|
D | bitmap.c | 376 int __bitmap_parse(const char *buf, unsigned int buflen, in __bitmap_parse() argument 392 while (buflen) { in __bitmap_parse() 400 buflen--; in __bitmap_parse() 441 } while (buflen && c == ','); in __bitmap_parse()
|