• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/

Lines Matching defs:s_path

1467     struct path         *s_path;
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;
1556 if (NULL == ( s_path = cname( vol, dir, &ibuf ))) {
1560 if (!s_path->st_valid)
1561 of_statdir(vol, s_path);
1562 if ( s_path->st_errno != 0 ) {
1570 if (NULL == (pw = getpwuid(s_path->st.st_uid))) {
1571 LOG(log_debug, logtype_afpd, "afp_getacl: local uid: %u", s_path->st.st_uid);
1572 localuuid_from_id(rbuf, UUID_USER, s_path->st.st_uid);
1574 LOG(log_debug, logtype_afpd, "afp_getacl: got uid: %d, name: %s", s_path->st.st_uid, pw->pw_name);
1585 if (NULL == (gr = getgrgid(s_path->st.st_gid))) {
1586 LOG(log_debug, logtype_afpd, "afp_getacl: local gid: %u", s_path->st.st_gid);
1587 localuuid_from_id(rbuf, UUID_GROUP, s_path->st.st_gid);
1589 LOG(log_debug, logtype_afpd, "afp_getacl: got gid: %d, name: %s", s_path->st.st_gid, gr->gr_name);
1600 if (get_and_map_acl(s_path->u_name, rbuf, rbuflen) != 0) {
1602 getcwdpath(), s_path->u_name);
1618 struct path *s_path;
1643 if (NULL == ( s_path = cname( vol, dir, &ibuf ))) {
1647 if (!s_path->st_valid)
1648 of_statdir(vol, s_path);
1649 if ( s_path->st_errno != 0 ) {
1653 LOG(log_debug, logtype_afpd, "afp_setacl: unixname: %s", s_path->u_name);
1678 if ((ret = remove_acl(vol, s_path->u_name, S_ISDIR(s_path->st.st_mode))) != AFP_OK)
1692 s_path->u_name,
1700 getcwdpath(), s_path->u_name);