Searched refs:pathbuf (Results 1 - 11 of 11) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/popt/
H A Dfindme.c10 char * pathbuf; local
21 local = start = pathbuf = malloc(strlen(path) + 1);
23 strcpy(pathbuf, path);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/adouble/
H A Dad_open.c770 static char pathbuf[ MAXPATHLEN + 1]; local
775 l = strlcpy( pathbuf, path, sizeof(pathbuf));
778 pathbuf[l++] = '/';
780 strlcpy(pathbuf +l, ".AppleDouble/.Parent", sizeof(pathbuf) -l);
788 memcpy( pathbuf, path, l);
793 l += strlcpy( pathbuf +l, ".AppleDouble/", sizeof(pathbuf) -l);
794 strlcpy( pathbuf
826 static char pathbuf[ MAXPATHLEN + 1]; local
866 static char pathbuf[ MAXPATHLEN + 1]; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/adouble/
H A Dad_open.c770 static char pathbuf[ MAXPATHLEN + 1]; local
775 l = strlcpy( pathbuf, path, sizeof(pathbuf));
778 pathbuf[l++] = '/';
780 strlcpy(pathbuf +l, ".AppleDouble/.Parent", sizeof(pathbuf) -l);
788 memcpy( pathbuf, path, l);
793 l += strlcpy( pathbuf +l, ".AppleDouble/", sizeof(pathbuf) -l);
794 strlcpy( pathbuf
826 static char pathbuf[ MAXPATHLEN + 1]; local
866 static char pathbuf[ MAXPATHLEN + 1]; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/cnid_dbd/
H A Dcmd_dbd_scanvol.c171 char pathbuf[MAXPATHLEN + 1];
175 if ((len = readlink(name, pathbuf, MAXPATHLEN)) == -1) {
180 pathbuf[len] = 0;
182 if ((stat(pathbuf, &st)) != 0) {
183 dbd_log(LOGSTD, "stat error '%s': %s", pathbuf, strerror(errno));
196 if ((sep = strrchr(pathbuf, '/')) == NULL)
199 sep = 0; /* pathbuf now contains the directory*/
202 /* fchdir() to pathbuf so we can easily get its path with getcwd() */
203 if ((chdir(pathbuf)) != 0) {
204 dbd_log(LOGSTD, "Cant chdir to '%s': %s", pathbuf, strerro
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/cnid_dbd/
H A Dcmd_dbd_scanvol.c171 char pathbuf[MAXPATHLEN + 1];
175 if ((len = readlink(name, pathbuf, MAXPATHLEN)) == -1) {
180 pathbuf[len] = 0;
182 if ((stat(pathbuf, &st)) != 0) {
183 dbd_log(LOGSTD, "stat error '%s': %s", pathbuf, strerror(errno));
196 if ((sep = strrchr(pathbuf, '/')) == NULL)
199 sep = 0; /* pathbuf now contains the directory*/
202 /* fchdir() to pathbuf so we can easily get its path with getcwd() */
203 if ((chdir(pathbuf)) != 0) {
204 dbd_log(LOGSTD, "Cant chdir to '%s': %s", pathbuf, strerro
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Dcpuset.c500 static void cpuset_release_agent(const char *pathbuf) argument
505 if (!pathbuf)
510 argv[i++] = (char *)pathbuf;
520 kfree(pathbuf);
533 * pathbuf. The above cpuset_release_agent() is responsible for
534 * kfree'ing pathbuf. The caller of these routines is responsible
535 * for providing a pathbuf pointer, initialized to NULL, then
537 * of the pathbuf pointer, then dropping manage_mutex, then calling
538 * cpuset_release_agent() with pathbuf, as set by check_for_release().
1312 char *pathbuf local
1966 char *pathbuf = NULL; local
2263 char *pathbuf = NULL; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/vfs/
H A Dea.c601 static char pathbuf[MAXPATHLEN + 1]; local
606 strlcpy(pathbuf, adname, MAXPATHLEN + 1);
608 strlcat(pathbuf, "::EA", MAXPATHLEN + 1);
611 strlcat(pathbuf, "::", MAXPATHLEN + 1);
615 strlcat(pathbuf, eaname, MAXPATHLEN + 1);
618 return pathbuf;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/vfs/
H A Dea.c603 static char pathbuf[MAXPATHLEN + 1]; local
608 strlcpy(pathbuf, adname, MAXPATHLEN + 1);
610 strlcat(pathbuf, "::EA", MAXPATHLEN + 1);
613 strlcat(pathbuf, "::", MAXPATHLEN + 1);
617 strlcat(pathbuf, eaname, MAXPATHLEN + 1);
620 return pathbuf;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/afpd/
H A Dfiledir.c659 static char pathbuf[MAXPATHLEN + 1]; local
676 strncpy(pathbuf, cfrombstr(path), blength(path) + 1);
679 return(pathbuf);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/
H A Dfiledir.c665 static char pathbuf[MAXPATHLEN + 1]; local
682 strncpy(pathbuf, cfrombstr(path), blength(path) + 1);
685 return(pathbuf);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/gadget/
H A Dfile_storage.c3747 char *pathbuf, *p; local
3922 pathbuf = kmalloc(PATH_MAX, GFP_KERNEL);
3927 if (pathbuf) {
3930 pathbuf, PATH_MAX);
3938 kfree(pathbuf);

Completed in 223 milliseconds