Searched refs:bytes (Results 1 – 5 of 5) sorted by relevance
/kernel/ |
D | kexec.c | 353 ssize_t bytes = 0; in copy_file_from_fd() local 381 bytes = kernel_read(f.file, pos, (char *)(*buf) + pos, in copy_file_from_fd() 383 if (bytes < 0) { in copy_file_from_fd() 385 ret = bytes; in copy_file_from_fd() 389 if (bytes == 0) in copy_file_from_fd() 391 pos += bytes; in copy_file_from_fd() 2249 unsigned long bytes = nullsz; in kexec_calculate_store_digests() local 2251 if (bytes > zero_buf_sz) in kexec_calculate_store_digests() 2252 bytes = zero_buf_sz; in kexec_calculate_store_digests() 2253 ret = crypto_shash_update(desc, zero_buf, bytes); in kexec_calculate_store_digests() [all …]
|
D | module.c | 2547 ssize_t bytes = 0; in copy_module_from_fd() local 2579 bytes = kernel_read(f.file, pos, (char *)(info->hdr) + pos, in copy_module_from_fd() 2581 if (bytes < 0) { in copy_module_from_fd() 2583 err = bytes; in copy_module_from_fd() 2586 if (bytes == 0) in copy_module_from_fd() 2588 pos += bytes; in copy_module_from_fd()
|
/kernel/trace/ |
D | blktrace.c | 201 static void __blk_add_trace(struct blk_trace *bt, sector_t sector, int bytes, in __blk_add_trace() argument 271 t->bytes = bytes; in __blk_add_trace() 1075 else if (t->bytes) in fill_rwbs() 1110 return te_blk_io_trace(ent)->bytes; in t_bytes() 1115 return te_blk_io_trace(ent)->bytes >> 9; in t_sec() 1806 void blk_fill_rwbs(char *rwbs, u32 rw, int bytes) in blk_fill_rwbs() argument 1817 else if (bytes) in blk_fill_rwbs()
|
D | Kconfig | 546 The string written to the tracepoint is a static string of 128 bytes
|
/kernel/debug/kdb/ |
D | kdb_main.c | 237 static char *kdballocenv(size_t bytes) in kdballocenv() argument 244 if ((KDB_ENVBUFSIZE - envbufsize) >= bytes) { in kdballocenv() 246 envbufsize += bytes; in kdballocenv()
|