Lines Matching defs:s_path
180 struct path s_path;
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.u_name,"sparsebundle" ) || strstr(s_path.u_name,"bands") )
395 if ((dir = dir_add(vol, curdir, &s_path, len)) == NULL) {
397 ntohs(vid), ntohl(did), o_path->u_name, s_path.u_name);
404 if (strstr(s_path.u_name,"sparsebundle" ) || strstr(s_path.u_name,"bands") )
410 if ((ret = getdirparams(vol, dbitmap, &s_path, dir, data + header , &esz)) != AFP_OK)
418 if (AFP_OK != ( ret = getfilparams(vol, fbitmap, &s_path, curdir,
457 *data++ = S_ISDIR(s_path.st.st_mode) ? FILDIRBIT_ISDIR : FILDIRBIT_ISFILE;