Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/tools/perf/util/
H A Dzlib.c19 int input_fd; in gzip_decompress_to_file() local
32 input_fd = open(input, O_RDONLY); in gzip_decompress_to_file()
33 if (input_fd < 0) in gzip_decompress_to_file()
36 if (fstat(input_fd, &stbuf) < 0) in gzip_decompress_to_file()
39 ptr = mmap(NULL, stbuf.st_size, PROT_READ, MAP_PRIVATE, input_fd, 0); in gzip_decompress_to_file()
78 close(input_fd); in gzip_decompress_to_file()
H A Dtrace-event-read.c21 static int input_fd; variable
56 r = __do_read(input_fd, data, size); in do_read()
108 r = read(input_fd, &c, 1); in read_string()
161 lseek(input_fd, size, SEEK_CUR); in read_proc_kallsyms()
390 input_fd = fd; in trace_report()
/OK3568_Linux_fs/external/rknpu2/examples/rknn_api_demo/src/
H A Drknn_set_internal_mem_from_fd_demo.cpp298 int input_fd = RK_MPI_MMZ_Handle2Fd(input_mb); in main() local
299 if (input_fd < 0) { in main()
303 printf("input mb info: virt = %p, fd = %d, size: %d\n", input_virt, input_fd, input_size); in main()
340 …input_mems[0] = rknn_create_mem_from_fd(ctx, input_fd, input_virt, input_attrs[0].size_with_stride… in main()
/OK3568_Linux_fs/external/security/librkcrypto/test/
H A Dtest_throughput.c903 rk_crypto_mem *input_fd = NULL; in test_hash_tp() local
938 input_fd = rk_crypto_mem_alloc(buffer_len); in test_hash_tp()
939 if (!input_fd) { in test_hash_tp()
966 test_hash_tbl[i].blocksize, input_fd, buffer_len); in test_hash_tp()
990 test_hmac_tbl[i].blocksize, input_fd, buffer_len); in test_hash_tp()
1000 if (input_fd) in test_hash_tp()
1001 rk_crypto_mem_free(input_fd); in test_hash_tp()
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/systemd/systemd/
H A DCVE-2022-4415-2.patch296 int input_fd,
331 int input_fd) {