Home
last modified time | relevance | path

Searched refs:open (Results 5151 - 5175 of 8510) sorted by relevance

1...<<201202203204205206207208209210>>...341

/third_party/libfuse/example/
H A Dhello_ll_uds.c170 .open = hello_ll_open,
H A Dnotify_store_retrieve.c232 fprintf(stderr, "Got open for non-existing inode!\n"); in tfs_open()
276 .open = tfs_open,
H A Dnotify_inval_inode.c229 fprintf(stderr, "Got open for non-existing inode!\n"); in tfs_open()
246 .open = tfs_open,
/third_party/libdrm/tests/amdgpu/
H A Damdgpu_stress.c77 * Returns the fd of the first device it could open.
107 fd = open(devices[i]->nodes[DRM_NODE_RENDER], O_RDWR | O_CLOEXEC); in amdgpu_open_device()
328 perror("Cannot open AMDGPU device"); in main()
H A Dhotunplug_tests.c81 /* We need to open/close device at each test manually */ in suite_hotunplug_tests_init()
98 fd = open(pathname, O_WRONLY); in amdgpu_hotunplug_trigger()
/third_party/libevdev/tools/
H A Dlibevdev-tweak-device.c432 fd = open(path, O_RDWR); in main()
435 perror("Failed to open device"); in main()
H A Dtouchpad-edge-detector.c243 fd = open(path, O_RDONLY|O_NONBLOCK); in main()
257 fprintf(stderr, "Use 'fuser -v %s' to find processes with an open fd\n", path); in main()
/third_party/ltp/testcases/kernel/io/aio/
H A Daio01.c372 if ((fd = open(fname, O_RDWR | O_CREAT, 0600)) < 0) in setup()
373 tst_brkm(TFAIL, cleanup, "failed to open %s " in setup()
/third_party/ltp/testcases/kernel/syscalls/sendto/
H A Dsendto01.c387 else if ((s = open("/dev/null", O_WRONLY)) == -1) in setup0()
388 tst_brkm(TBROK | TERRNO, cleanup, "open(/dev/null) failed"); in setup0()
/third_party/ltp/testcases/misc/math/float/
H A Dthread_code.c83 while ((fd = open(path, O_RDONLY)) < 0) { in read_file()
/third_party/ltp/testcases/kernel/io/direct_io/
H A Ddma_thread_diotest.c24 /* Description: The man page for open(2) states the following: */
373 * Some file systems may not implement the O_DIRECT flag and open() will in setup()
378 fd = open("testfile", O_CREAT | O_DIRECT, 0644); in setup()
/third_party/ltp/testcases/kernel/mem/mtest05/
H A Dmmstress.c295 /* Create a file with permissions 0666, and open it with RDRW perms */ in map_and_thread()
300 open(tmpfile, O_RDWR | O_CREAT, in map_and_thread()
303 perror("map_and_thread(): open()"); in map_and_thread()
/third_party/ltp/testcases/kernel/syscalls/ioctl/
H A Dioctl02.c29 * In this test, the parent and child open the parentty and the childtty
377 cfd = open(childtty, O_RDWR, 0777); in do_child_setup()
379 tst_resm(TINFO, "Could not open %s in do_child_setup(), errno " in do_child_setup()
/third_party/ltp/testcases/kernel/syscalls/madvise/
H A Dmadvise11.c293 /* Find and open the <debugfs>/hwpoison/unpoison-pfn special file */
312 tst_brk(TBROK | TERRNO, "Can't open /etc/mtab"); in open_unpoison_pfn()
326 TEST(open(debugfs_fp, O_WRONLY)); in open_unpoison_pfn()
335 tst_brk(TBROK | TTERRNO, "open(%s) failed", debugfs_fp); in open_unpoison_pfn()
337 tst_brk(TBROK | TTERRNO, "Invalid open() return value %ld", in open_unpoison_pfn()
/third_party/ltp/testcases/kernel/syscalls/recvfrom/
H A Drecvfrom01.c201 s = 400; /* anything not an open file */ in setup0()
202 else if ((s = open("/dev/null", O_WRONLY)) == -1) in setup0()
203 tst_brkm(TBROK | TERRNO, cleanup, "open(/dev/null) failed"); in setup0()
/third_party/lwip/src/apps/tftp/
H A Dtftp_server.c256 tftp_state.handle = tftp_state.ctx->open(filename, mode, opcode == PP_HTONS(TFTP_WRQ)); in recv()
260 send_error(addr, port, TFTP_ERROR_FILE_NOT_FOUND, "Unable to open requested file."); in recv()
/third_party/libwebsockets/lib/tls/
H A Dtls.c432 /* it exists if we can open it... */ in lws_tls_extant()
433 int fd = open(name, O_RDONLY); in lws_tls_extant()
520 lwsl_notice("%s: can't open nvs\n", __func__); in lws_tls_use_any_upgrade_check_extant()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client/
H A Dminimal-http-client.c395 n = open("./warmcat.com.cer", O_RDONLY); in main()
/third_party/libdrm/tests/tegra/
H A Dvic-flip.c258 fd = open(device, O_RDWR); in main()
260 fprintf(stderr, "open() failed: %s\n", strerror(errno)); in main()
266 fprintf(stderr, "failed to open Tegra device: %s\n", strerror(-err)); in main()
273 fprintf(stderr, "failed to open channel to VIC: %s\n", strerror(-err)); in main()
H A Dvic-blit.c258 fd = open(device, O_RDWR); in main()
260 fprintf(stderr, "open() failed: %s\n", strerror(errno)); in main()
266 fprintf(stderr, "failed to open Tegra device: %s\n", strerror(-err)); in main()
273 fprintf(stderr, "failed to open channel to VIC: %s\n", strerror(-err)); in main()
/third_party/libfuse/lib/
H A Dhelper.c287 nullfd = open("/dev/null", O_RDWR, 0); in fuse_daemonize()
/third_party/ltp/tools/sparse/sparse-src/Documentation/sphinx/
H A Dcdoc.py290 f = open(filename, 'r')
/third_party/ltp/tools/sparse/sparse-src/
H A Dlib.c346 fd = open(filename, O_RDONLY); in sparse_file()
412 die("error: cannot open %s: %s", outfile, strerror(errno)); in sparse_initialize()
/third_party/node/deps/v8/src/torque/
H A Dutils.cc339 new_contents_stream.open(file_path.c_str()); in ReplaceFileContentsIfDifferent()
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
H A Dir3_cmdline.c200 fd = open(filename, O_RDONLY); in read_file()
202 warnx("couldn't open `%s'", filename); in read_file()

Completed in 19 milliseconds

1...<<201202203204205206207208209210>>...341