Home
last modified time | relevance | path

Searched refs:lbuf (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/kernel/syscalls/link/
Dlink02.c60 struct stat fbuf, lbuf; in verify_link() local
66 SAFE_STAT(cleanup, NEWPATH, &lbuf); in verify_link()
67 if (fbuf.st_nlink > 1 && lbuf.st_nlink > 1 && in verify_link()
68 fbuf.st_nlink == lbuf.st_nlink) { in verify_link()
74 (int)fbuf.st_nlink, (int)lbuf.st_nlink); in verify_link()
Dlink05.c72 struct stat fbuf, lbuf; in main() local
110 SAFE_STAT(cleanup, lname, &lbuf); in main()
111 if (fbuf.st_nlink <= 1 || lbuf.st_nlink <= 1 || in main()
112 (fbuf.st_nlink != lbuf.st_nlink)) { in main()
119 (int)fbuf.st_nlink, (int)lbuf.st_nlink); in main()
/external/ltp/testcases/kernel/syscalls/statx/
Dstatx02.c64 struct statx lbuf; in test_sym_link() local
75 TEST(statx(AT_FDCWD, LINK_FILE, AT_SYMLINK_NOFOLLOW, 0, &lbuf)); in test_sym_link()
86 if (fbuf.stx_ino != lbuf.stx_ino) in test_sym_link()
/external/toybox/toys/pending/
Dip.c953 lbuf[INET6_ADDRSTRLEN] = {0,}, lbuf_ifa[INET6_ADDRSTRLEN] = {0,}; in print_addrinfo() local
990 if (!if_indextoname(ifa->ifa_index, lbuf)) perror_exit(NULL); in print_addrinfo()
991 printf("%u: %s",ifa->ifa_index, lbuf); in print_addrinfo()
1002 lbuf, sizeof(lbuf))) perror_exit("inet"); in print_addrinfo()
1004 sprintf(family+strlen(family), lbuf, strlen(lbuf)); in print_addrinfo()
1015 if (addrinfo.to && strcmp(addrinfo.addr, lbuf)) in print_addrinfo()
1020 lbuf, sizeof(lbuf))) perror_exit("inet"); in print_addrinfo()
1021 sprintf(brd, " brd %s", lbuf); in print_addrinfo()
1026 lbuf, sizeof(lbuf))) perror_exit("inet"); in print_addrinfo()
1027 sprintf(any, " any %s", lbuf); in print_addrinfo()
[all …]
/external/ipsec-tools/src/racoon/
Disakmp.c208 char lbuf[sizeof(struct udphdr) + member
254 udp = (struct udphdr *)&x.lbuf[0];
256 ip = (struct iphdr *)(x.lbuf + sizeof(*udp));
262 udp = (struct udphdr *)&x.lbuf[0];
264 ip = (struct ip *)(x.lbuf + sizeof(*udp));
/external/ltp/testcases/kernel/fs/fsstress/
Dfsstress.c1139 int readlink_path(pathname_t * name, char *lbuf, size_t lbufsiz) in readlink_path() argument
1145 rval = readlink(name->path, lbuf, lbufsiz-1); in readlink_path()
1147 lbuf[rval] = '\0'; in readlink_path()
1152 rval = readlink_path(&newname, lbuf, lbufsiz); in readlink_path()
/external/e2fsprogs/contrib/
Dfsstress.c1166 int readlink_path(pathname_t * name, char *lbuf, size_t lbufsiz) in readlink_path() argument
1172 rval = readlink(name->path, lbuf, lbufsiz); in readlink_path()
1177 rval = readlink_path(&newname, lbuf, lbufsiz); in readlink_path()