• 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:did

209  * @brief Get CNID for did/upath args both from database and adouble file
219 * @param did (r) parent CNID of upath
226 const cnid_t did,
236 /* prime aint with what we think is the cnid, set did to zero for
240 dbcnid = cnid_add(vol->v_cdb, st, did, upath, len, adcnid); /* (2) */
292 if (ad_setid(adp, st->st_dev, st->st_ino, dbcnid, did, vol->v_stamp)) {
339 LOG(log_debug, logtype_afpd, "getmetadata: caching: did:%u, \"%s\", cnid:%u",
672 int creatf, did, openf, retvalue = AFP_OK;
690 memcpy(&did, ibuf, sizeof( did));
691 ibuf += sizeof( did );
693 if (NULL == ( dir = dirlookup( vol, did )) ) {
734 case ENOENT : /* we were already in 'did folder' so chdir() didn't fail */
790 retvalue = matchfile2dirperms(upath, vol, did);
804 int did, rc;
819 memcpy(&did, ibuf, sizeof( did ));
820 ibuf += sizeof( did );
821 if (NULL == ( dir = dirlookup( vol, did )) ) {
1749 cnid_t did, id;
1771 memcpy(&did, ibuf, sizeof( did ));
1772 ibuf += sizeof(did);
1774 if (NULL == ( dir = dirlookup( vol, did )) ) {
1799 if ((id = cnid_lookup(vol->v_cdb, st, did, upath, len = strlen(upath)))) {
1805 if ((id = get_id(vol, NULL, st, did, upath, len)) != CNID_INVALID) {
1817 cnid_t did;
1825 cnid_t did = param->did;
1832 aint = cnid_add(vol->v_cdb, &path.st, did, de->d_name, strlen(de->d_name), 0); /* ignore errors */
1847 if (ad_setid(adp, path.st.st_dev, path.st.st_ino, aint, did, vol->v_stamp)) {
1878 /* we already did it once and the dir haven't been modified */
1896 data.did = dir->d_did;
2162 u_int32_t sid, did;
2184 memcpy(&did, ibuf, sizeof(did));
2185 ibuf += sizeof(did);
2224 if (NULL == ( dir = dirlookup( vol, did )) ) {
2265 did = cnid_lookup(vol->v_cdb, &destst, curdir->d_did, upath, dlen = strlen(upath));
2302 if (did)
2303 cnid_delete(vol->v_cdb, did);
2305 if ((did && ( (crossdev && ostat(upath, &srcst, vol_syml_opt(vol)) < 0) ||
2306 cnid_update(vol->v_cdb, did, &srcst, curdir->d_did,upath, dlen) < 0))
2328 if (did && ad_setid(adsp, srcst.st_dev, srcst.st_ino, did, curdir->d_did, vol->v_stamp))
2401 if ((cached = dircache_search_by_did(vol, did)) != NULL)