/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/adouble/ |
H A D | ad_size.c | 18 off_t ad_size(const struct adouble *ad, const u_int32_t eid) argument 23 if (ad->ad_data_fork.adf_syml) 24 return strlen(ad->ad_data_fork.adf_syml); 26 if (fstat(ad_data_fileno(ad), &st) < 0) 31 return ad_getentrylen(ad, eid); 33 return ad->ad_rlen;
|
H A D | ad_flush.c | 54 int ad_rebuild_adouble_header(struct adouble *ad) argument 65 buf = ad->ad_data; 67 temp = htonl( ad->ad_magic ); 71 temp = htonl( ad->ad_version ); 75 memcpy(buf, ad->ad_filler, sizeof( ad->ad_filler )); 76 buf += sizeof( ad->ad_filler ); 81 if ( ad->ad_eid[ eid ].ade_off == 0 ) { 88 temp = htonl( ad->ad_eid[ eid ].ade_off ); 92 temp = htonl( ad 138 ad_rebuild_sfm_header(struct adouble *ad) argument 169 ad_flush( struct adouble *ad) argument 195 ad_close( struct adouble *ad, int adflags) argument [all...] |
H A D | ad_open.c | 146 #define DISK_EID(ad, a) (a) 150 static u_int32_t get_eid(struct adouble *ad, u_int32_t eid) argument 154 if (ad->ad_version == AD_VERSION1) 168 #define DISK_EID(ad, a) get_eid(ad, a) 211 static int ad_update(struct adouble *ad, const char *path) argument 223 if (!path || ad->ad_flags != AD_VERSION2) 228 if (!(ad->ad_md->adf_flags & O_RDWR)) { 233 if (ad->ad_eid[ADEID_RFORK].ade_off) { 234 shiftdata = ADEDOFF_RFORK_V2 -ad 336 ad_convert(struct adouble *ad, const char *path) argument 495 parse_entries(struct adouble *ad, char *buf, u_int16_t nentries) argument 533 ad_header_read(struct adouble *ad, struct stat *hst) argument 666 ad_header_sfm_read(struct adouble *ad, struct stat *hst) argument 1095 ad_error(struct adouble *ad, int adflags) argument 1134 ad_header_upgrade(struct adouble *ad, char *name) argument 1183 ad_init(struct adouble *ad, int flags, int options) argument 1250 ad_open( const char *path, int adflags, int oflags, int mode, struct adouble *ad) argument 1620 new_rfork(const char *path, struct adouble *ad, int adflags) argument 1690 ad_refresh(struct adouble *ad) argument 1699 ad_openat(int dirfd, const char *path, int adflags, int oflags, int mode, struct adouble *ad) argument [all...] |
H A D | ad_date.c | 8 int ad_setdate(struct adouble *ad, argument 17 if (ad->ad_version == AD_VERSION1) { 19 if (!ad_getentryoff(ad, ADEID_FILEI)) 24 memcpy(ad_entry(ad, ADEID_FILEI) + dateoff, &date, sizeof(date)); 26 } else if (ad->ad_version == AD_VERSION2) { 27 if (!ad_getentryoff(ad, ADEID_FILEDATESI)) 32 memcpy(ad_entry(ad, ADEID_FILEDATESI) + dateoff, &date, sizeof(date)); 40 int ad_getdate(const struct adouble *ad, argument 46 if (ad->ad_version == AD_VERSION1) { 49 if (!ad_getentryoff(ad, ADEID_FILE [all...] |
H A D | ad_mmap.c | 31 void *ad_mmapread(struct adouble *ad, const u_int32_t eid, argument 36 if ( lseek( ad->ad_df.adf_fd, 0, SEEK_SET ) < 0 ) { 40 ad->ad_df.adf_off = 0; 42 ad->ad_df.adf_fd, off); 47 if ( lseek( ad->ad_hf.adf_fd, 0, SEEK_SET ) < 0 ) { 51 ad->ad_hf.adf_off = 0; 53 ad->ad_hf.adf_fd, ad->ad_eid[eid].ade_off + off); 60 void *ad_mmapwrite(struct adouble *ad, const u_int32_t eid, argument 67 if ( fstat( ad [all...] |
H A D | ad_read.c | 62 ssize_t ad_read( struct adouble *ad, const u_int32_t eid, off_t off, char *buf, const size_t buflen) argument 69 if (ad->ad_data_fork.adf_syml !=0 ) { 71 cc = strlen(ad->ad_data_fork.adf_syml); 75 memcpy(buf, ad->ad_data_fork.adf_syml, cc); 77 cc = adf_pread(&ad->ad_data_fork, buf, buflen, off); 82 if ( ad_reso_fileno( ad ) == -1 ) { 86 r_off = ad_getentryoff(ad, eid) + off; 88 if (( cc = adf_pread( &ad->ad_resource_fork, buf, buflen, r_off )) < 0 ) { 97 if (r_off < ad_getentryoff(ad, ADEID_RFORK)) { 98 if ( ad [all...] |
H A D | ad_write.c | 48 ssize_t ad_write(struct adouble *ad, const u_int32_t eid, off_t off, const int end, const char *buf, const size_t buflen) argument 53 if (ad_data_fileno(ad) == -2) { 61 if ( fstat( ad_data_fileno(ad), &st ) < 0 ) { 66 cc = adf_pwrite(&ad->ad_data_fork, buf, buflen, off); 71 if ( fstat( ad_data_fileno(ad), &st ) < 0 ) { 74 off = st.st_size - off -ad_getentryoff(ad, eid); 76 r_off = ad_getentryoff(ad, eid) + off; 77 cc = adf_pwrite(&ad->ad_resource_fork, buf, buflen, r_off); 80 if (r_off < ad_getentryoff(ad, ADEID_RFORK)) { 81 memcpy(ad 152 ad_rtruncate( struct adouble *ad, const off_t size) argument 163 ad_dtruncate(struct adouble *ad, const off_t size) argument [all...] |
H A D | ad_lock.c | 80 static void adf_freelock(struct ad_fd *ad, const int i) argument 82 adf_lock_t *lock = ad->adf_lock + i; 86 if (!ad->adf_excl) { 88 set_lock(ad->adf_fd, F_SETLK, &lock->lock); /* unlock */ 92 ad->adf_lockcount--; 95 if (i < ad->adf_lockcount) { 96 memcpy(lock, lock + ad->adf_lockcount - i, sizeof(adf_lock_t)); 102 if ((ad->adf_lockmax > ARRAY_FREE_DELTA) && 103 (ad->adf_lockcount + ARRAY_FREE_DELTA < ad 124 adf_unlock(struct ad_fd *ad, const int fork) argument 144 adf_relockrange(struct ad_fd *ad, int fd, const off_t off, const off_t len) argument 158 adf_findlock(struct ad_fd *ad, const int fork, const int type, const off_t off, const off_t len) argument 180 adf_findxlock(struct ad_fd *ad, const int fork, const int type, const off_t off, const off_t len) argument 264 ad_fcntl_lock(struct adouble *ad, const u_int32_t eid, const int locktype, const off_t off, const off_t len, const int fork) argument 447 ad_testlock(struct adouble *ad, int eid, const off_t off) argument 477 ad_openforks(struct adouble *ad, u_int16_t attrbits) argument 534 ad_fcntl_tmplock(struct adouble *ad, const u_int32_t eid, const int locktype, const off_t off, const off_t len, const int fork) argument 601 ad_excl_lock(struct adouble *ad, const u_int32_t eid) argument 626 ad_fcntl_unlock(struct adouble *ad, const int fork) argument [all...] |
H A D | ad_attr.c | 17 int ad_getattr(const struct adouble *ad, u_int16_t *attr) argument 22 if (ad->ad_version == AD_VERSION1) { 23 if (ad_getentryoff(ad, ADEID_FILEI)) { 24 memcpy(attr, ad_entry(ad, ADEID_FILEI) + FILEIOFF_ATTR, 29 else if (ad->ad_version == AD_VERSION2) { 30 if (ad_getentryoff(ad, ADEID_AFPFILEI)) { 31 memcpy(attr, ad_entry(ad, ADEID_AFPFILEI) + AFPFILEIOFF_ATTR, 2); 34 memcpy(&fflags, ad_entry(ad, ADEID_FINDERI) + FINDERINFO_FRFLAGOFF, 2); 43 if ( ! (ad->ad_adflags & ADFLAGS_DIR)) { 55 *attr |= htons(ad 61 ad_setattr(const struct adouble *ad, const u_int16_t attribute) argument 191 ad_setname(struct adouble *ad, const char *path) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/adouble/ |
H A D | ad_size.c | 18 off_t ad_size(const struct adouble *ad, const u_int32_t eid) argument 23 if (ad->ad_data_fork.adf_syml) 24 return strlen(ad->ad_data_fork.adf_syml); 26 if (fstat(ad_data_fileno(ad), &st) < 0) 31 return ad_getentrylen(ad, eid); 33 return ad->ad_rlen;
|
H A D | ad_flush.c | 54 int ad_rebuild_adouble_header(struct adouble *ad) argument 65 buf = ad->ad_data; 67 temp = htonl( ad->ad_magic ); 71 temp = htonl( ad->ad_version ); 75 memcpy(buf, ad->ad_filler, sizeof( ad->ad_filler )); 76 buf += sizeof( ad->ad_filler ); 81 if ( ad->ad_eid[ eid ].ade_off == 0 ) { 88 temp = htonl( ad->ad_eid[ eid ].ade_off ); 92 temp = htonl( ad 138 ad_rebuild_sfm_header(struct adouble *ad) argument 169 ad_flush( struct adouble *ad) argument 195 ad_close( struct adouble *ad, int adflags) argument [all...] |
H A D | ad_open.c | 146 #define DISK_EID(ad, a) (a) 150 static u_int32_t get_eid(struct adouble *ad, u_int32_t eid) argument 154 if (ad->ad_version == AD_VERSION1) 168 #define DISK_EID(ad, a) get_eid(ad, a) 211 static int ad_update(struct adouble *ad, const char *path) argument 223 if (!path || ad->ad_flags != AD_VERSION2) 228 if (!(ad->ad_md->adf_flags & O_RDWR)) { 233 if (ad->ad_eid[ADEID_RFORK].ade_off) { 234 shiftdata = ADEDOFF_RFORK_V2 -ad 336 ad_convert(struct adouble *ad, const char *path) argument 495 parse_entries(struct adouble *ad, char *buf, u_int16_t nentries) argument 533 ad_header_read(struct adouble *ad, struct stat *hst) argument 666 ad_header_sfm_read(struct adouble *ad, struct stat *hst) argument 1095 ad_error(struct adouble *ad, int adflags) argument 1134 ad_header_upgrade(struct adouble *ad, char *name) argument 1183 ad_init(struct adouble *ad, int flags, int options) argument 1250 ad_open( const char *path, int adflags, int oflags, int mode, struct adouble *ad) argument 1630 new_rfork(const char *path, struct adouble *ad, int adflags) argument 1688 ad_refresh(struct adouble *ad) argument 1697 ad_openat(int dirfd, const char *path, int adflags, int oflags, int mode, struct adouble *ad) argument [all...] |
H A D | ad_date.c | 8 int ad_setdate(struct adouble *ad, argument 17 if (ad->ad_version == AD_VERSION1) { 19 if (!ad_getentryoff(ad, ADEID_FILEI)) 24 memcpy(ad_entry(ad, ADEID_FILEI) + dateoff, &date, sizeof(date)); 26 } else if (ad->ad_version == AD_VERSION2) { 27 if (!ad_getentryoff(ad, ADEID_FILEDATESI)) 32 memcpy(ad_entry(ad, ADEID_FILEDATESI) + dateoff, &date, sizeof(date)); 40 int ad_getdate(const struct adouble *ad, argument 46 if (ad->ad_version == AD_VERSION1) { 49 if (!ad_getentryoff(ad, ADEID_FILE [all...] |
H A D | ad_mmap.c | 31 void *ad_mmapread(struct adouble *ad, const u_int32_t eid, argument 36 if ( lseek( ad->ad_df.adf_fd, 0, SEEK_SET ) < 0 ) { 40 ad->ad_df.adf_off = 0; 42 ad->ad_df.adf_fd, off); 47 if ( lseek( ad->ad_hf.adf_fd, 0, SEEK_SET ) < 0 ) { 51 ad->ad_hf.adf_off = 0; 53 ad->ad_hf.adf_fd, ad->ad_eid[eid].ade_off + off); 60 void *ad_mmapwrite(struct adouble *ad, const u_int32_t eid, argument 67 if ( fstat( ad [all...] |
H A D | ad_read.c | 62 ssize_t ad_read( struct adouble *ad, const u_int32_t eid, off_t off, char *buf, const size_t buflen) argument 69 if (ad->ad_data_fork.adf_syml !=0 ) { 71 cc = strlen(ad->ad_data_fork.adf_syml); 75 memcpy(buf, ad->ad_data_fork.adf_syml, cc); 77 cc = adf_pread(&ad->ad_data_fork, buf, buflen, off); 82 if ( ad_reso_fileno( ad ) == -1 ) { 86 r_off = ad_getentryoff(ad, eid) + off; 88 if (( cc = adf_pread( &ad->ad_resource_fork, buf, buflen, r_off )) < 0 ) { 97 if (r_off < ad_getentryoff(ad, ADEID_RFORK)) { 98 if ( ad [all...] |
H A D | ad_write.c | 48 ssize_t ad_write(struct adouble *ad, const u_int32_t eid, off_t off, const int end, const char *buf, const size_t buflen) argument 53 if (ad_data_fileno(ad) == -2) { 61 if ( fstat( ad_data_fileno(ad), &st ) < 0 ) { 66 cc = adf_pwrite(&ad->ad_data_fork, buf, buflen, off); 71 if ( fstat( ad_data_fileno(ad), &st ) < 0 ) { 74 off = st.st_size - off -ad_getentryoff(ad, eid); 76 r_off = ad_getentryoff(ad, eid) + off; 77 cc = adf_pwrite(&ad->ad_resource_fork, buf, buflen, r_off); 80 if (r_off < ad_getentryoff(ad, ADEID_RFORK)) { 81 memcpy(ad 152 ad_rtruncate( struct adouble *ad, const off_t size) argument 163 ad_dtruncate(struct adouble *ad, const off_t size) argument [all...] |
H A D | ad_sendfile.c | 93 int ad_readfile_init(const struct adouble *ad, argument 100 *off = ad_size(ad, eid) - *off; 103 fd = ad_data_fileno(ad); 105 *off += ad_getentryoff(ad, eid); 106 fd = ad_reso_fileno(ad); 117 ssize_t ad_writefile(struct adouble *ad, const int eid, 125 fd = ad_sendfile_init(ad, eid, &off, end); 129 if ((eid != ADEID_DFORK) && (off > ad_getentrylen(ad, eid))) 130 ad_setentrylen(ad, eid, off);
|
H A D | ad_lock.c | 82 static void adf_freelock(struct ad_fd *ad, const int i) argument 84 adf_lock_t *lock = ad->adf_lock + i; 88 if (!ad->adf_excl) { 90 set_lock(ad->adf_fd, F_SETLK, &lock->lock); /* unlock */ 94 ad->adf_lockcount--; 97 if (i < ad->adf_lockcount) { 98 memcpy(lock, lock + ad->adf_lockcount - i, sizeof(adf_lock_t)); 104 if ((ad->adf_lockmax > ARRAY_FREE_DELTA) && 105 (ad->adf_lockcount + ARRAY_FREE_DELTA < ad 126 adf_unlock(struct ad_fd *ad, const int fork) argument 146 adf_relockrange(struct ad_fd *ad, int fd, const off_t off, const off_t len) argument 160 adf_findlock(struct ad_fd *ad, const int fork, const int type, const off_t off, const off_t len) argument 182 adf_findxlock(struct ad_fd *ad, const int fork, const int type, const off_t off, const off_t len) argument 266 ad_fcntl_lock(struct adouble *ad, const u_int32_t eid, const int locktype, const off_t off, const off_t len, const int fork) argument 449 ad_testlock(struct adouble *ad, int eid, const off_t off) argument 479 ad_openforks(struct adouble *ad, u_int16_t attrbits) argument 536 ad_fcntl_tmplock(struct adouble *ad, const u_int32_t eid, const int locktype, const off_t off, const off_t len, const int fork) argument 603 ad_excl_lock(struct adouble *ad, const u_int32_t eid) argument 628 ad_fcntl_unlock(struct adouble *ad, const int fork) argument [all...] |
H A D | ad_attr.c | 17 int ad_getattr(const struct adouble *ad, u_int16_t *attr) argument 22 if (ad->ad_version == AD_VERSION1) { 23 if (ad_getentryoff(ad, ADEID_FILEI)) { 24 memcpy(attr, ad_entry(ad, ADEID_FILEI) + FILEIOFF_ATTR, 29 else if (ad->ad_version == AD_VERSION2) { 30 if (ad_getentryoff(ad, ADEID_AFPFILEI)) { 31 memcpy(attr, ad_entry(ad, ADEID_AFPFILEI) + AFPFILEIOFF_ATTR, 2); 34 memcpy(&fflags, ad_entry(ad, ADEID_FINDERI) + FINDERINFO_FRFLAGOFF, 2); 43 if ( ! (ad->ad_adflags & ADFLAGS_DIR)) { 55 *attr |= htons(ad 61 ad_setattr(const struct adouble *ad, const u_int16_t attribute) argument 191 ad_setname(struct adouble *ad, const char *path) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/block/ |
H A D | as-iosched.c | 155 static void as_move_to_dispatch(struct as_data *ad, struct request *rq); 156 static void as_antic_stop(struct as_data *ad); 248 #define RQ_RB_ROOT(ad, rq) (&(ad)->sort_list[rq_is_sync((rq))]) 250 static void as_add_rq_rb(struct as_data *ad, struct request *rq) argument 254 while ((unlikely(alias = elv_rb_add(RQ_RB_ROOT(ad, rq), rq)))) { 255 as_move_to_dispatch(ad, alias); 256 as_antic_stop(ad); 260 static inline void as_del_rq_rb(struct as_data *ad, struct request *rq) argument 262 elv_rb_del(RQ_RB_ROOT(ad, r 281 as_choose_req(struct as_data *ad, struct request *rq1, struct request *rq2) argument 356 as_find_next_rq(struct as_data *ad, struct request *last) argument 389 as_antic_expired(struct as_data *ad) argument 406 as_antic_waitnext(struct as_data *ad) argument 425 as_antic_waitreq(struct as_data *ad) argument 440 as_antic_stop(struct as_data *ad) argument 459 struct as_data *ad = q->elevator->elevator_data; local 482 as_update_thinktime(struct as_data *ad, struct as_io_context *aic, unsigned long ttime) argument 497 as_update_seekdist(struct as_data *ad, struct as_io_context *aic, sector_t sdist) argument 528 as_update_iohist(struct as_data *ad, struct as_io_context *aic, struct request *rq) argument 569 as_close_req(struct as_data *ad, struct as_io_context *aic, struct request *rq) argument 631 as_can_break_anticipation(struct as_data *ad, struct request *rq) argument 712 as_can_anticipate(struct as_data *ad, struct request *rq) argument 748 as_update_rq(struct as_data *ad, struct request *rq) argument 770 update_write_batch(struct as_data *ad) argument 801 struct as_data *ad = q->elevator->elevator_data; local 859 struct as_data *ad = q->elevator->elevator_data; local 889 as_fifo_expired(struct as_data *ad, int adir) argument 914 as_batch_expired(struct as_data *ad) argument 930 as_move_to_dispatch(struct as_data *ad, struct request *rq) argument 983 struct as_data *ad = q->elevator->elevator_data; local 1144 struct as_data *ad = q->elevator->elevator_data; local 1194 struct as_data *ad = q->elevator->elevator_data; local 1203 struct as_data *ad = q->elevator->elevator_data; local 1221 struct as_data *ad = q->elevator->elevator_data; local 1270 struct as_data *ad = container_of(work, struct as_data, antic_work); local 1282 struct as_data *ad = q->elevator->elevator_data; local 1297 struct as_data *ad = e->elevator_data; local 1314 struct as_data *ad; local 1368 struct as_data *ad = e->elevator_data; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/bin/ad/ |
H A D | Makefile.am | 1 # Makefile.am for bin/ad/ 3 noinst_HEADERS = ad.h 6 bin_PROGRAMS = ad 9 ad.c \ 17 ad_CFLAGS = -D_PATH_AD=\"$(bindir)/ad\"
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/bin/ad/ |
H A D | Makefile.am | 1 # Makefile.am for bin/ad/ 3 noinst_HEADERS = ad.h 6 bin_PROGRAMS = ad 9 ad.c \ 17 ad_CFLAGS = -D_PATH_AD=\"$(bindir)/ad\"
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/prebuilt/WW/www/ |
H A D | browser.js | 21 var len; var ad; var temp;
26 ad=Myall.substring(0,temp);
27 ip1.value=ad;
32 ad=Myall.substring(0,temp);
33 ip2.value=ad;
38 ad=Myall.substring(0,temp);
39 ip3.value=ad;
42 ad=Myall; ip4.value=ad;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/bin/ |
H A D | Makefile.am | 10 SUBDIRS += ad
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/bin/ |
H A D | Makefile.am | 10 SUBDIRS += ad
|