Searched refs:u_name (Results 1 - 25 of 35) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/udf/
H A Dunicode.c19 memcpy(dest->u_name, src, strlen);
39 memcpy(dest->u_name, ptr+1, usesize-1);
54 memcpy(dest->u_name, ptr+1, exactsize-1);
87 ocu = ocu_i->u_name;
103 printk(KERN_ERR "udf: unknown compression code (%d) stri=%s\n", cmp_id, ocu_i->u_name);
117 utf_o->u_name[utf_o->u_len++] = (uint8_t)c;
120 utf_o->u_name[utf_o->u_len++] = (uint8_t)(0xc0 | (c >> 6));
121 utf_o->u_name[utf_o->u_len++] = (uint8_t)(0x80 | (c & 0x3f));
125 utf_o->u_name[utf_o->u_len++] = (uint8_t)(0xe0 | (c >> 12));
126 utf_o->u_name[utf_
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/afpd/
H A Dfce_api.c337 static int register_fce(const char *u_name, int is_dir, int mode) argument
344 if (u_name == NULL)
357 if (!strcmp( u_name, skip_files[i]))
366 strlcpy(full_path_buffer, u_name, MAXPATHLEN);
368 if (strlen( cwd ) + strlen( u_name) + 1 >= MAXPATHLEN) {
369 LOG(log_error, logtype_afpd, "FCE file name too long: %s/%s", cwd, u_name );
372 sprintf( full_path_buffer, "%s/%s", cwd, u_name );
428 ret = register_fce( path->u_name, FALSE, FCE_FILE_DELETE );
457 ret = register_fce( path->u_name, TRUE, FCE_DIR_CREATE );
473 ret = register_fce( path->u_name, FALS
480 char *u_name = NULL; local
[all...]
H A Ddirectory.c331 LOG(log_error, logtype_afpd, "setdirparam(%s): %s: %s", fullpathname(path->u_name), where, strerror(err) );
338 * Convert ret->m_name to ret->u_name from client encoding to server encoding.
379 ret->u_name = t;
383 if ( (t = utompath(vol, ret->u_name, fileid, utf8_encoding())) ) {
391 if (ret->u_name == NULL) {
392 if ((ret->u_name = mtoupath(vol, ret->m_name, dir->d_did, utf8_encoding())) == NULL) {
426 ret->u_name = ret->m_name;
428 ret->u_name = ret->m_name + blength(dir->d_m_name) + 1;
429 memcpy(ret->u_name, cfrombstr(dir->d_u_name), blength(dir->d_u_name) + 1);
437 ret->u_name);
835 dir_new(const char *m_name, const char *u_name, const struct vol *vol, cnid_t pdid, cnid_t did, bstring path, struct stat *st) argument
[all...]
H A Denumerate.c277 getcwdpath(), o_path->u_name, fbitmap, dbitmap, reqcnt, sindex, maxsz);
353 s_path.u_name = sd.sd_last;
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") )
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,"band
[all...]
H A Dmangle.c138 char *u_name; local
190 else if (NULL != (u_name = cnid_resolve(vol->v_cdb, &id, buffer, len)) ) {
196 t = utompath(vol, u_name, file_id, utf8_encoding());
198 return u_name;
202 return demangle_checks (vol, u_name, mfilename, prefix, t);
H A Dextattrs.c143 uname = s_path->u_name;
319 LOG(log_debug, logtype_afpd, "afp_getextattr(%s): EA: %s", s_path->u_name, to_stringz(ibuf, attrnamelen));
337 ret = vol->vfs->vfs_ea_getsize(vol, rbuf, rbuflen, s_path->u_name, oflag, attruname);
339 ret = vol->vfs->vfs_ea_getcontent(vol, rbuf, rbuflen, s_path->u_name, oflag, attruname, maxreply);
417 LOG(log_debug, logtype_afpd, "afp_setextattr(%s): EA: %s, size: %u", s_path->u_name, to_stringz(attrmname, attrnamelen), attrsize);
419 ret = vol->vfs->vfs_ea_set(vol, s_path->u_name, attruname, ibuf, attrsize, oflag);
478 LOG(log_debug, logtype_afpd, "afp_remextattr(%s): EA: %s", s_path->u_name, to_stringz(ibuf, attrnamelen));
480 ret = vol->vfs->vfs_ea_remove(vol, s_path->u_name, attruname, oflag);
H A Dcatsearch.c217 if ( ad_metadata( path->u_name, ((isdir) ? ADFLAGS_DIR : 0), adp) < 0 ) {
245 ptr = get_finderinfo(vol, path->u_name, *adp, &buf,islnk);
283 if (!(path->m_name = utompath(vol, path->u_name, 0 , utf8_encoding()) )) {
289 id = get_id(vol, adp, &path->st, path->d_dir->d_did, path->u_name, strlen(path->u_name));
296 if (!(path->m_name = utompath(vol, path->u_name, id , utf8_encoding()))) {
591 path.u_name = entry->d_name;
612 int unlen = strlen(path.u_name);
615 path.u_name,
629 if (addstack(path.u_name, pat
[all...]
H A Dunix.c325 if (setfilmode( path->u_name, mode, &path->st, vol->v_umask) < 0)
328 return vol->vfs->vfs_setfilmode(vol, path->u_name, mode, &path->st);
488 if ( lchown( path->u_name, uid, gid ) < 0 && errno != EPERM ) {
490 uid, gid, path->u_name, strerror(errno) );
494 if (vol->vfs->vfs_chown(vol, path->u_name, uid, gid ) < 0 && errno != EPERM) {
496 uid, gid, path->u_name, strerror(errno) );
H A Dfile.c324 LOG(log_debug, logtype_afpd, "getmetadata(\"%s\")", path->u_name);
326 upath = path->u_name;
412 path->u_name, ntohs(ashort));
419 path->u_name, ntohl(dir->d_did));
467 path->u_name, ntohl(id));
632 LOG(log_debug, logtype_afpd, "getfilparams(\"%s\")", path->u_name);
642 upath = path->u_name;
709 upath = s_path->u_name;
891 upath = path->u_name;
933 if ((fp=open(path->u_name,O_RDONL
[all...]
H A Dofork.c258 if ((ret = lstat(path->u_name, &path->st)) < 0) {
260 cfrombstr(curdir->d_fullpath), path->u_name, strerror(errno));
276 if ((ret = fstatat(dirfd, path->u_name, &path->st, AT_SYMLINK_NOFOLLOW)) < 0)
H A Dacls.c1259 ret = check_acl_access(vol, dir, s_path->u_name, uuid, darwin_ace_rights);
1348 if (get_and_map_acl(s_path->u_name, rbuf, rbuflen) != 0) {
1350 getcwdpath(), s_path->u_name);
1401 LOG(log_debug, logtype_afpd, "afp_setacl: unixname: %s", s_path->u_name);
1426 if ((ret = remove_acl(vol, s_path->u_name, S_ISDIR(s_path->st.st_mode))) != AFP_OK)
1440 s_path->u_name,
1448 getcwdpath(), s_path->u_name);
H A Dfiledir.c183 ntohl(curdir->d_did), cfrombstr(curdir->d_fullpath), s_path->u_name);
369 path.u_name = oldunixname;
427 path.u_name = upath;
607 upath = s_path->u_name;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/
H A Ddirectory.c331 LOG(log_error, logtype_afpd, "setdirparam(%s): %s: %s", fullpathname(path->u_name), where, strerror(err) );
338 * Convert ret->m_name to ret->u_name from client encoding to server encoding.
385 ret->u_name = t;
389 if ( (t = utompath(vol, ret->u_name, fileid, utf8_encoding())) ) {
397 if (ret->u_name == NULL) {
398 if ((ret->u_name = mtoupath(vol, ret->m_name, dir->d_did, utf8_encoding())) == NULL) {
432 ret->u_name = ret->m_name;
434 ret->u_name = ret->m_name + blength(dir->d_m_name) + 1;
435 memcpy(ret->u_name, cfrombstr(dir->d_u_name), blength(dir->d_u_name) + 1);
443 ret->u_name);
854 dir_new(const char *m_name, const char *u_name, const struct vol *vol, cnid_t pdid, cnid_t did, bstring path, struct stat *st) argument
[all...]
H A Denumerate.c277 getcwdpath(), o_path->u_name, fbitmap, dbitmap, reqcnt, sindex, maxsz);
353 s_path.u_name = sd.sd_last;
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") )
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,"band
[all...]
H A Dfce_api.c366 static int register_fce(const char *u_name, int is_dir, int mode) argument
374 if (u_name == NULL)
386 if (!strcmp( u_name, skip_files[i]))
395 strlcpy(full_path_buffer, u_name, MAXPATHLEN);
397 if (strlen( cwd ) + strlen( u_name) + 1 >= MAXPATHLEN) {
398 LOG(log_error, logtype_afpd, "FCE file name too long: %s/%s", cwd, u_name );
401 sprintf( full_path_buffer, "%s/%s", cwd, u_name );
466 ret = register_fce( path->u_name, false, FCE_FILE_DELETE );
495 ret = register_fce( path->u_name, true, FCE_DIR_CREATE );
511 ret = register_fce( path->u_name, fals
518 char *u_name = NULL; local
[all...]
H A Dmangle.c138 char *u_name; local
190 else if (NULL != (u_name = cnid_resolve(vol->v_cdb, &id, buffer, len)) ) {
196 t = utompath(vol, u_name, file_id, utf8_encoding());
198 return u_name;
202 return demangle_checks (vol, u_name, mfilename, prefix, t);
H A Dextattrs.c143 uname = s_path->u_name;
307 LOG(log_debug, logtype_afpd, "afp_getextattr(%s): EA: %s", s_path->u_name, to_stringz(ibuf, attrnamelen));
325 ret = vol->vfs->vfs_ea_getsize(vol, rbuf, rbuflen, s_path->u_name, oflag, attruname);
327 ret = vol->vfs->vfs_ea_getcontent(vol, rbuf, rbuflen, s_path->u_name, oflag, attruname, maxreply);
405 LOG(log_debug, logtype_afpd, "afp_setextattr(%s): EA: %s, size: %u", s_path->u_name, to_stringz(attrmname, attrnamelen), attrsize);
407 ret = vol->vfs->vfs_ea_set(vol, s_path->u_name, attruname, ibuf, attrsize, oflag);
466 LOG(log_debug, logtype_afpd, "afp_remextattr(%s): EA: %s", s_path->u_name, to_stringz(ibuf, attrnamelen));
468 ret = vol->vfs->vfs_ea_remove(vol, s_path->u_name, attruname, oflag);
H A Dcatsearch.c203 if ( ad_metadata( path->u_name, ((isdir) ? ADFLAGS_DIR : 0), adp) < 0 ) {
231 ptr = get_finderinfo(vol, path->u_name, *adp, &buf,islnk);
269 if (!(path->m_name = utompath(vol, path->u_name, 0 , utf8_encoding()) )) {
275 id = get_id(vol, adp, &path->st, path->d_dir->d_did, path->u_name, strlen(path->u_name));
282 if (!(path->m_name = utompath(vol, path->u_name, id , utf8_encoding()))) {
583 path.u_name = entry->d_name;
605 unlen = strlen(path.u_name);
608 path.u_name,
622 if (addstack(path.u_name, pat
[all...]
H A Dunix.c326 if (setfilmode(vol, path->u_name, mode, &path->st) < 0)
329 return vol->vfs->vfs_setfilmode(vol, path->u_name, mode, &path->st);
490 if (ochown( path->u_name, uid, gid, vol_syml_opt(vol)) < 0 && errno != EPERM ) {
492 uid, gid, path->u_name, strerror(errno) );
496 if (vol->vfs->vfs_chown(vol, path->u_name, uid, gid ) < 0 && errno != EPERM) {
498 uid, gid, path->u_name, strerror(errno) );
H A Dfile.c320 LOG(log_debug, logtype_afpd, "getmetadata(\"%s\")", path->u_name);
322 upath = path->u_name;
408 path->u_name, ntohs(ashort));
415 path->u_name, ntohl(dir->d_did));
463 path->u_name, ntohl(id));
628 LOG(log_debug, logtype_afpd, "getfilparams(\"%s\")", path->u_name);
638 upath = path->u_name;
705 upath = s_path->u_name;
891 upath = path->u_name;
930 if ((fp = open(path->u_name, O_RDONL
[all...]
H A Dofork.c258 if ((ret = ostat(path->u_name, &path->st, vol_syml_opt(vol))) < 0) {
260 cfrombstr(curdir->d_fullpath), path->u_name, strerror(errno));
276 if ((ret = fstatat(dirfd, path->u_name, &path->st, AT_SYMLINK_NOFOLLOW)) < 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/include/atalk/
H A Ddirectory.h85 char *u_name; /* unix name */ member in struct:path
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/include/atalk/
H A Ddirectory.h85 char *u_name; /* unix name */ member in struct:path
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/ipc/
H A Dcompat_mq.c49 asmlinkage long compat_sys_mq_open(const char __user *u_name, argument
61 return sys_mq_open(u_name, oflag, mode, p);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/wanrouter/
H A Dwanmain.c81 char __user *u_name);
584 static int wanrouter_device_del_if(struct wan_device *wandev, char __user *u_name) argument
594 if (copy_from_user(name, u_name, WAN_IFNAME_SZ))

Completed in 230 milliseconds

12