Home
last modified time | relevance | path

Searched refs:filefd (Results 1 – 4 of 4) sorted by relevance

/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/libtar/files/
H A D0005-fix-file-descriptor-leaks-reported-by-cppcheck.patch24 int filefd;
29 filefd = open(realname, O_RDONLY);
30 if (filefd == -1)
45 j = read(filefd, &block, i);
58 close(filefd);
/openbmc/linux/include/uapi/misc/
H A Dfastrpc.h85 __s32 filefd; /* fd for the file */ member
/openbmc/linux/tools/testing/selftests/net/
H A Dtls.c403 int filefd = open("/proc/self/exe", O_RDONLY); in TEST_F() local
406 EXPECT_GE(filefd, 0); in TEST_F()
407 fstat(filefd, &st); in TEST_F()
408 EXPECT_GE(sendfile(self->fd, filefd, 0, st.st_size), 0); in TEST_F()
413 int filefd = open("/proc/self/exe", O_RDONLY); in TEST_F() local
420 EXPECT_GE(filefd, 0); in TEST_F()
421 fstat(filefd, &st); in TEST_F()
428 EXPECT_GE(sendfile(self->fd, filefd, 0, st.st_size), 0); in TEST_F()
/openbmc/linux/drivers/misc/
H A Dfastrpc.c1407 if (init.filelen && init.filefd) { in fastrpc_init_create_process()
1408 err = fastrpc_map_create(fl, init.filefd, init.filelen, 0, &map); in fastrpc_init_create_process()
1431 args[2].fd = init.filefd; in fastrpc_init_create_process()