Lines Matching refs:v_cdb
235 if (vol->v_cdb != NULL) {
240 dbcnid = cnid_add(vol->v_cdb, st, did, upath, len, adcnid); /* (2) */
259 cnid_close(vol->v_cdb);
269 vol->v_cdb = cnid_open(vol->v_path, vol->v_umask, "tdb", flags, NULL, NULL);
270 if (vol->v_cdb) {
1720 if (checkAttrib && (id = cnid_get(vol->v_cdb, curdir->d_did, file, strlen(file)))) {
1721 cnid_delete(vol->v_cdb, id);
1759 if (vol->v_cdb == NULL || !(vol->v_cdb->flags & CNID_FLAG_PERSISTENT)) {
1794 if ((id = cnid_lookup(vol->v_cdb, st, did, upath, len = strlen(upath)))) {
1827 aint = cnid_add(vol->v_cdb, &path.st, did, de->d_name, strlen(de->d_name), 0); /* ignore errors */
1863 if (vol->v_cdb == NULL) {
1926 if (vol->v_cdb == NULL || !(vol->v_cdb->flags & CNID_FLAG_PERSISTENT)) {
1939 if (NULL == (upath = cnid_resolve(vol->v_cdb, &id, buffer, len)) ) {
2031 if (vol->v_cdb == NULL || !(vol->v_cdb->flags & CNID_FLAG_PERSISTENT)) {
2042 if (NULL == (upath = cnid_resolve(vol->v_cdb, &id, buffer, len)) ) {
2075 if (cnid_delete(vol->v_cdb, fileid)) {
2217 sid = cnid_lookup(vol->v_cdb, &srcst, sdir->d_did, supath,slen = strlen(supath));
2260 did = cnid_lookup(vol->v_cdb, &destst, curdir->d_did, upath, dlen = strlen(upath));
2296 cnid_delete(vol->v_cdb, sid);
2298 cnid_delete(vol->v_cdb, did);
2301 cnid_update(vol->v_cdb, did, &srcst, curdir->d_did,upath, dlen) < 0))
2304 cnid_update(vol->v_cdb, sid, &destst, sdir->d_did,supath, slen) < 0))