Lines Matching refs:d_did
84 * - we mark it as invalid by setting d_did to CNID_INVALID (ie 0)
353 if (dir->d_did == DIRDID_ROOT_PARENT) {
374 t = demangle_osx(vol, ret->m_name, dir->d_did, &fileid);
382 ret->m_name, ntohl(dir->d_did), t, ntohl(fileid));
398 if ((ret->u_name = mtoupath(vol, ret->m_name, dir->d_did, utf8_encoding())) == NULL) {
421 if (dir->d_did == DIRDID_ROOT_PARENT || dir->d_did == DIRDID_ROOT)
750 ntohl(ret->d_did), ntohl(ret->d_pdid), cfrombstr(ret->d_fullpath));
778 if ( dir->d_did == did && strcmp(lname, path->u_name) == 0) {
815 did = dir->d_did;
890 dir->d_did = did;
955 ntohl(dir->d_did), cfrombstr(dir->d_fullpath), path->u_name,
956 ntohl(cdir->d_did), cfrombstr(dir->d_fullpath));
969 if ((id = get_id(vol, adp, &path->st, dir->d_did, path->u_name, len)) == 0) { /* 2 */
999 dir->d_did,
1027 ntohl(dir->d_did), cfrombstr(dir->d_fullpath), path->u_name,
1028 ntohl(cdir->d_did), cfrombstr(cdir->d_fullpath));
1063 if (dir->d_did == DIRDID_ROOT_PARENT || dir->d_did == DIRDID_ROOT)
1067 ntohl(dir->d_did), cfrombstr(dir->d_u_name));
1075 dir->d_did = CNID_INVALID; /* 5 */
1111 dir->d_did = did;
1241 ntohl(dir->d_did), cfrombstr(dir->d_fullpath));
1292 if (dir->d_did == DIRDID_ROOT_PARENT) { /* 8 */
1365 ntohl(dir->d_did), ret.u_name, getcwdpath());
1384 if (curdir->d_did == DIRDID_ROOT_PARENT) {
1421 if (dir->d_did == DIRDID_ROOT_PARENT) {
1427 ntohl(dir->d_did), cfrombstr(dir->d_fullpath));
1566 dir->d_did,
1578 dir->d_did,
1662 memcpy( data, &dir->d_did, sizeof( aint ));
1665 s_path->u_name, ntohl(dir->d_did));
1673 //if(recnt_times >= 2 && (ntohl(dir->d_did) == afp_getbandsdid()) )
1674 if(recnt_times >= 1 && (ntohl(dir->d_did) == afp_getbandsdid()) ) /* set recount time >= 1, jon 2012/07/31 */
1683 if(ntohl(dir->d_did) == afp_getbandsdid()){
1787 data = set_name(vol, data, pdid, cfrombstr(dir->d_m_name), dir->d_did, 0);
1792 data = set_name(vol, data, pdid, cfrombstr(dir->d_m_name), dir->d_did, utf8);
2074 if ( dir->d_did == DIRDID_ROOT ) {
2091 if ( (dir->d_did == DIRDID_ROOT) &&
2107 if (dir->d_did == DIRDID_ROOT)
2115 if (dir->d_did == DIRDID_ROOT) {
2137 if (dir->d_did == DIRDID_ROOT) {
2187 ad_setid(&ad, st->st_dev, st->st_ino, dir->d_did, dir->d_pdid, vol->v_stamp);
2194 if (change_parent_mdate && dir->d_did != DIRDID_ROOT
2404 afp_bandsdid_IncreaseOffcnt(curdir->d_did);
2422 ad_setid( &ad, s_path->st.st_dev, s_path->st.st_ino, dir->d_did, did, vol->v_stamp);
2430 memcpy( rbuf, &dir->d_did, sizeof( u_int32_t ));
2563 cnid_delete(vol->v_cdb, fdir->d_did);
2862 memcpy(rbuf, &curdir->d_did, sizeof(curdir->d_did));
2863 *rbuflen = sizeof(curdir->d_did);