Searched refs:buf_end (Results 1 – 2 of 2) sorted by relevance
| /lib/ |
| A D | kobject_uevent.c | 98 static const char *action_arg_word_end(const char *buf, const char *buf_end, in action_arg_word_end() argument 103 while (next <= buf_end && *next != delim) in action_arg_word_end() 117 const char *next, *buf_end, *key; in kobject_action_args() local 141 buf_end = buf + count - 1; in kobject_action_args() 143 while (next <= buf_end) { in kobject_action_args() 149 if (key > buf_end) in kobject_action_args() 153 next = action_arg_word_end(buf, buf_end, '='); in kobject_action_args() 154 if (!next || next > buf_end || *next != '=') in kobject_action_args() 159 if (++next > buf_end) in kobject_action_args() 163 next = action_arg_word_end(buf, buf_end, ' '); in kobject_action_args()
|
| /lib/crypto/tests/ |
| A D | hash-test-template.h | 203 void *const buf_end = &test_buf[TEST_BUF_LEN]; in test_hash_buffer_overruns() local 204 struct HASH_CTX *guarded_ctx = buf_end - sizeof(*guarded_ctx); in test_hash_buffer_overruns() 214 HASH(buf_end - len, len, hash); in test_hash_buffer_overruns() 216 HASH_UPDATE(&ctx, buf_end - len, len); in test_hash_buffer_overruns() 220 HASH(test_buf, len, buf_end - HASH_SIZE); in test_hash_buffer_overruns() 223 HASH_FINAL(&ctx, buf_end - HASH_SIZE); in test_hash_buffer_overruns()
|
Completed in 6 milliseconds