Searched refs:upath (Results 1 - 23 of 23) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/bin/adv1tov2/
H A Dadv1tov2.c35 char upath[MAXPATHLEN + 1];
40 u = upath;
54 rename(name, upath);
56 rename(ad_path(name, flags), ad_path(upath, flags)); /* rename rfork */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/afpd/
H A Dfiledir.c63 char *upath,
79 if (stat(upath, &st ) < 0) {
80 LOG(log_error, logtype_afpd, "Could not stat %s: %s", upath, strerror(errno));
84 adpath = vol->vfs->ad_path( upath, ADFLAGS_HF );
101 if (lchown(upath, sb.st_uid, sb.st_gid) < 0)
105 upath, strerror(errno));
108 else if ((!S_ISLNK(st->st_mode)) && (chmod(upath,(st.st_mode&~default_options.umask)| S_IRGRP| S_IROTH) < 0))
112 upath, strerror(errno));
337 char *upath; local
423 if (NULL == (upath
60 matchfile2dirperms( char *upath, struct vol *vol, int did) argument
580 char *upath; local
785 char *upath = mtoupath(vol, newname, pdid, utf8_encoding()); local
[all...]
H A Dfile.c96 void *get_finderinfo(const struct vol *vol, const char *upath, struct adouble *adp, void *data, int islink) argument
114 if (vol_inv_dots(vol) && *upath == '.') { /* make it invisible */
133 if (chk_ext && (em = getextmap( upath ))) {
209 * @brief Get CNID for did/upath args both from database and adouble file
217 * @param adp (rw) adouble struct of object upath, might be NULL
218 * @param st (r) stat of upath, must NOT be NULL
219 * @param did (r) parent CNID of upath
220 * @param upath (r) name of object
221 * @param len (r) strlen of upath
227 const char *upath,
223 get_id(struct vol *vol, struct adouble *adp, const struct stat *st, const cnid_t did, const char *upath, const int len) argument
313 char *data, *l_nameoff = NULL, *upath; local
638 char *upath; local
675 char *path, *upath; local
867 char *upath; local
1277 char *newname, *p, *upath; local
1742 char *upath; local
1906 char *upath; local
2013 char *upath; local
2145 char *supath, *upath; local
[all...]
H A Ddesktop.c596 static char upath[ MAXPATHLEN + 2]; /* for convert_charset dest_len parameter +2 */ local
603 strcpy(upath, ".");
604 return upath;
616 u = upath;
627 LOG(log_debug9, logtype_afpd, "mtoupath: '%s':'%s'", mpath, upath);
629 return( upath );
635 char *utompath(const struct vol *vol, char *upath, cnid_t id, int utf8) argument
643 outlen = strlen(upath);
647 u = upath;
660 m = mangle(vol, mpath, outlen, upath, i
677 char *name, *upath; local
758 char *upath; local
833 char *upath; local
[all...]
H A Ddirectory.c578 char *upath = NULL, *mpath; local
638 if ((upath = cnid_resolve(vol->v_cdb, &cnid, buffer, buflen)) == NULL) {
643 if ((upath = strdup(upath)) == NULL) { /* 3 */
665 || bcatcstr(fullpath, upath) != BSTR_OK) {
698 if ( (mpath = utompath(vol, upath, did, utf8)) == NULL ) {
705 if ((ret = dir_new(mpath, upath, vol, pdid, did, fullpath, &st)) == NULL) { /* 6 */
706 LOG(log_error, logtype_afpd, "dirlookup(did: %u) {%s, %s}: %s", ntohl(did), mpath, upath, strerror(errno));
718 if (upath) free(upath);
1525 char *upath = s_path->u_name; local
1869 char *upath; local
2329 char *upath; local
[all...]
H A Dfork.c259 char fork, *path, *upath; local
314 upath = s_path->u_name;
316 if (check_access(upath, access ) < 0) {
355 if (ad_open(upath, adflags, O_RDWR, 0, ofork->of_ad) < 0) {
365 if (ad_open(upath, ADFLAGS_DF, O_RDWR, 0, ofork->of_ad) < 0) {
373 if (ad_open(upath, adflags, O_RDWR | O_CREAT, 0666, ofork->of_ad) < 0)
401 if (ad_open(upath, adflags, O_RDONLY, 0, ofork->of_ad) < 0) {
411 if (ad_open(upath, ADFLAGS_DF, O_RDONLY, 0, ofork->of_ad) < 0) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/
H A Dfiledir.c63 char *upath,
79 if (stat(upath, &st ) < 0) {
80 LOG(log_error, logtype_afpd, "Could not stat %s: %s", upath, strerror(errno));
84 adpath = vol->vfs->ad_path( upath, ADFLAGS_HF );
101 if (ochown(upath, sb.st_uid, sb.st_gid, vol_syml_opt(vol)) < 0)
105 upath, strerror(errno));
108 else if (ochmod(upath,
114 upath, strerror(errno));
342 char *upath; local
429 if (NULL == (upath
60 matchfile2dirperms( char *upath, struct vol *vol, int did) argument
586 char *upath; local
791 char *upath = mtoupath(vol, newname, pdid, utf8_encoding()); local
[all...]
H A Dfile.c96 void *get_finderinfo(const struct vol *vol, const char *upath, struct adouble *adp, void *data, int islink) argument
114 if (vol_inv_dots(vol) && *upath == '.') { /* make it invisible */
133 if (chk_ext && (em = getextmap( upath ))) {
209 * @brief Get CNID for did/upath args both from database and adouble file
217 * @param adp (rw) adouble struct of object upath, might be NULL
218 * @param st (r) stat of upath, must NOT be NULL
219 * @param did (r) parent CNID of upath
220 * @param upath (r) name of object
221 * @param len (r) strlen of upath
227 const char *upath,
223 get_id(struct vol *vol, struct adouble *adp, const struct stat *st, const cnid_t did, const char *upath, const int len) argument
309 char *data, *l_nameoff = NULL, *upath; local
634 char *upath; local
671 char *path, *upath; local
864 char *upath; local
1280 char *newname, *p, *upath; local
1747 char *upath; local
1911 char *upath; local
2018 char *upath; local
2150 char *supath, *upath; local
[all...]
H A Ddesktop.c596 static char upath[ MAXPATHLEN + 2]; /* for convert_charset dest_len parameter +2 */ local
603 strcpy(upath, ".");
604 return upath;
616 u = upath;
627 LOG(log_debug9, logtype_afpd, "mtoupath: '%s':'%s'", mpath, upath);
629 return( upath );
635 char *utompath(const struct vol *vol, char *upath, cnid_t id, int utf8) argument
643 outlen = strlen(upath);
647 u = upath;
660 m = mangle(vol, mpath, outlen, upath, i
677 char *name, *upath; local
758 char *upath; local
833 char *upath; local
[all...]
H A Ddirectory.c597 char *upath = NULL, *mpath; local
657 if ((upath = cnid_resolve(vol->v_cdb, &cnid, buffer, buflen)) == NULL) {
662 if ((upath = strdup(upath)) == NULL) { /* 3 */
684 || bcatcstr(fullpath, upath) != BSTR_OK) {
717 if ( (mpath = utompath(vol, upath, did, utf8)) == NULL ) {
724 if ((ret = dir_new(mpath, upath, vol, pdid, did, fullpath, &st)) == NULL) { /* 6 */
725 LOG(log_error, logtype_afpd, "dirlookup(did: %u) {%s, %s}: %s", ntohl(did), mpath, upath, strerror(errno));
737 if (upath) free(upath);
1544 char *upath = s_path->u_name; local
1884 char *upath; local
2344 char *upath; local
[all...]
H A Dfork.c259 char fork, *path, *upath; local
314 upath = s_path->u_name;
316 if (check_access(upath, access ) < 0) {
355 if (ad_open(upath, adflags, O_RDWR, 0, ofork->of_ad) < 0) {
365 if (ad_open(upath, ADFLAGS_DF, O_RDWR, 0, ofork->of_ad) < 0) {
373 if (ad_open(upath, adflags, O_RDWR | O_CREAT, 0666, ofork->of_ad) < 0)
401 if (ad_open(upath, adflags, O_RDONLY, 0, ofork->of_ad) < 0) {
411 if (ad_open(upath, ADFLAGS_DF, O_RDONLY, 0, ofork->of_ad) < 0) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/bin/adv1tov2/
H A Dadv1tov2.c35 char upath[MAXPATHLEN + 1];
40 u = upath;
54 rename(name, upath);
56 rename(ad_path(name, flags), ad_path(upath, flags)); /* rename rfork */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/bin/ad/
H A Dad.h71 extern char *utompath(const struct volinfo *volinfo, const char *upath);
H A Dad_util.c156 char *utompath(const struct volinfo *volinfo, const char *upath) argument
164 if (!upath)
168 u = upath;
169 outlen = strlen(upath);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/bin/ad/
H A Dad.h69 extern char *utompath(const struct volinfo *volinfo, const char *upath);
H A Dad_util.c156 char *utompath(const struct volinfo *volinfo, const char *upath) argument
164 if (!upath)
168 u = upath;
169 outlen = strlen(upath);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/bin/megatron/
H A Dnad.c69 static char *utompathcap( char *upath) argument
75 u = upath;
313 static char *utompathiconv(char *upath) argument
321 outlen = strlen(upath);
330 u = upath;
344 return(utompathcap( upath ));
353 static char upath[MAXPATHLEN +2]; /* for convert_charset dest_len parameter +2 */ local
373 u = upath;
380 return(mtoupathcap( upath ));
383 return( upath );
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/bin/megatron/
H A Dnad.c69 static char *utompathcap( char *upath) argument
75 u = upath;
313 static char *utompathiconv(char *upath) argument
321 outlen = strlen(upath);
330 u = upath;
344 return(utompathcap( upath ));
353 static char upath[MAXPATHLEN +2]; /* for convert_charset dest_len parameter +2 */ local
373 u = upath;
380 return(mtoupathcap( upath ));
383 return( upath );
[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.c72 static char *utompath(char *upath) argument
79 if (!upath)
83 u = upath;
84 outlen = strlen(upath);
113 static char upath[ MAXPATHLEN + 2]; /* for convert_charset dest_len parameter +2 */ local
142 u = upath;
156 return( upath );
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/cnid_dbd/
H A Dcmd_dbd_scanvol.c72 static char *utompath(char *upath) argument
79 if (!upath)
83 u = upath;
84 outlen = strlen(upath);
113 static char upath[ MAXPATHLEN + 2]; /* for convert_charset dest_len parameter +2 */ local
142 u = upath;
156 return( upath );
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/core/
H A Ducm.c721 struct ib_user_path_rec upath; local
733 if (copy_from_user(&upath, (void __user *)(unsigned long)src,
734 sizeof(upath))) {
740 ib_copy_path_rec_from_user(sa_path, &upath);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/vfs/
H A Dea.c75 static char upath[ MAXPATHLEN + 2]; /* for convert_charset dest_len parameter +2 */ local
90 u = upath;
102 return( upath );
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/vfs/
H A Dea.c75 static char upath[ MAXPATHLEN + 2]; /* for convert_charset dest_len parameter +2 */ local
90 u = upath;
102 return( upath );

Completed in 226 milliseconds