/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/ |
H A D | extattrs.c | 81 struct path *s_path; local 128 if (NULL == ( s_path = cname( vol, dir, &ibuf )) ) { 133 st = &s_path->st; 134 if (!s_path->st_valid) { 136 of_statdir(vol, s_path); 138 if ( s_path->st_errno != 0 ) { 142 adp = of_ad(vol, s_path, &ad); 143 uname = s_path->u_name; 258 struct path *s_path; local 294 if (NULL == ( s_path 341 struct path *s_path; local 420 struct path *s_path; local [all...] |
H A D | enumerate.c | 180 struct path s_path; local 352 memset(&s_path, 0, sizeof(s_path)); 353 s_path.u_name = sd.sd_last; 354 if (of_stat(vol, &s_path) < 0 ) { 375 s_path.m_name = NULL; 381 if ( S_ISDIR(s_path.st.st_mode)) { 385 int len = strlen(s_path.u_name); 386 if ((dir = dircache_search_by_name(vol, curdir, s_path.u_name, len)) == NULL) { 390 if (strstr(s_path [all...] |
H A D | filedir.c | 154 struct path *s_path; local 182 if (NULL == ( s_path = cname( vol, dir, &ibuf )) ) { 188 ntohl(curdir->d_did), cfrombstr(curdir->d_fullpath), s_path->u_name); 190 st = &s_path->st; 191 if (!s_path->st_valid) { 197 of_statdir(vol, s_path); 199 if ( s_path->st_errno != 0 ) { 209 dir = s_path->d_dir; 213 ret = getdirparams(vol, dbitmap, s_path, dir, 221 if (fbitmap && AFP_OK != (ret = getfilparams(vol, fbitmap, s_path, curdi 584 struct path *s_path; local [all...] |
H A D | acls.c | 1467 struct path *s_path; local 1500 if (NULL == ( s_path = cname( vol, dir, &ibuf ))) { 1504 if (!s_path->st_valid) 1505 of_statdir(vol, s_path); 1506 if ( s_path->st_errno != 0 ) { 1511 ret = check_acl_access(vol, dir, s_path->u_name, uuid, darwin_ace_rights); 1523 struct path *s_path; local 1556 if (NULL == ( s_path = cname( vol, dir, &ibuf ))) { 1560 if (!s_path->st_valid) 1561 of_statdir(vol, s_path); 1618 struct path *s_path; local [all...] |
H A D | file.c | 674 struct path *s_path; local 697 if (NULL == ( s_path = cname( vol, dir, &ibuf )) ) { 701 if ( *s_path->m_name == '\0' ) { 705 upath = s_path->u_name; 708 if ((of = of_findname(vol, s_path))) { 762 path = s_path->m_name; 777 fce_register_new_file(s_path); 803 struct path *s_path; local 829 if (NULL == ( s_path = cname( vol, dir, &ibuf )) ) { 833 if (path_isadir(s_path)) { 1281 struct path *s_path; local 1751 struct path *s_path; local [all...] |
H A D | fork.c | 262 struct path *s_path; local 292 if (NULL == ( s_path = cname( vol, dir, &ibuf ))) { 296 if (*s_path->m_name == '\0') { 302 switch ( s_path->st_errno ) { 310 LOG(log_error, logtype_afpd, "afp_openfork(%s): ad_open: %s", s_path->m_name, strerror(errno) ); 314 upath = s_path->u_name; 321 if (file_access(s_path, access ) < 0) { 326 st = &s_path->st; 334 if ((opened = of_findname(vol, s_path))) { 346 path = s_path [all...] |
H A D | directory.c | 1530 u_int16_t bitmap, struct path *s_path, 1543 struct stat *st = &s_path->st; 1544 char *upath = s_path->u_name; 1563 if (s_path->m_name == NULL) { 1564 if ((s_path->m_name = utompath(vol, 1574 ad_setname(&ad, s_path->m_name); 1576 s_path->st.st_dev, 1577 s_path->st.st_ino, 1611 s_path->u_name, ntohl(pdid)); 1665 s_path 1529 getdirparams(const struct vol *vol, u_int16_t bitmap, struct path *s_path, struct dir *dir, char *buf, size_t *buflen ) argument 2345 struct path *s_path; local [all...] |
H A D | desktop.c | 801 struct path *s_path; local 820 if (NULL == ( s_path = cname( vol, dir, &ibuf )) ) { 824 return ad_getcomment(vol, s_path, rbuf, rbuflen); 871 struct path *s_path; local 890 if (NULL == ( s_path = cname( vol, dir, &ibuf ))) { 894 return ad_rmvcomment(vol, s_path);
|