/external/ltp/testcases/kernel/syscalls/link/ |
D | link02.c | 60 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()
|
D | link05.c | 72 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/ |
D | statx02.c | 64 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/libwebsockets/lib/misc/fts/ |
D | trie-fd.c | 693 unsigned char lbuf[256], *p; in lws_fts_search() local 717 m = read(ofd, lbuf, sizeof(lbuf) - 1); in lws_fts_search() 720 lbuf[sizeof(lbuf) - 1] = '\0'; in lws_fts_search() 722 p = (unsigned char *)strchr((char *)lbuf, '\n'); in lws_fts_search() 724 m = lws_ptr_diff(p, lbuf); in lws_fts_search() 725 lbuf[m] = '\0'; in lws_fts_search() 726 p = (unsigned char *)strchr((char *)lbuf, '\r'); in lws_fts_search() 728 m = lws_ptr_diff(p, lbuf); in lws_fts_search() 729 lbuf[m] = '\0'; in lws_fts_search() 731 lws_json_purify(ebuf, (const char *)lbuf, in lws_fts_search()
|
/external/toybox/toys/pending/ |
D | ip.c | 1003 lbuf[INET6_ADDRSTRLEN] = {0,}, lbuf_ifa[INET6_ADDRSTRLEN] = {0,}; in print_addrinfo() local 1040 if (!if_indextoname(ifa->ifa_index, lbuf)) perror_exit(NULL); in print_addrinfo() 1041 printf("%u: %s",ifa->ifa_index, lbuf); in print_addrinfo() 1052 lbuf, sizeof(lbuf))) perror_exit("inet"); in print_addrinfo() 1054 sprintf(family+strlen(family), lbuf, strlen(lbuf)); in print_addrinfo() 1065 if (addrinfo.to && strcmp(addrinfo.addr, lbuf)) in print_addrinfo() 1070 lbuf, sizeof(lbuf))) perror_exit("inet"); in print_addrinfo() 1071 sprintf(brd, " brd %s", lbuf); in print_addrinfo() 1076 lbuf, sizeof(lbuf))) perror_exit("inet"); in print_addrinfo() 1077 sprintf(any, " any %s", lbuf); in print_addrinfo() [all …]
|
/external/ipsec-tools/src/racoon/ |
D | isakmp.c | 208 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/ |
D | fsstress.c | 1139 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/ |
D | fsstress.c | 1166 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()
|