Searched refs:buflen (Results 1 - 25 of 360) sorted by last modified time

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/dhcp6/
H A Dcommon.c1759 int buflen; local
1803 buflen = sizeof(opt_iana) + dhcp6_count_list(&optinfo->addr_list) *
1807 buflen = sizeof(opt_iana) + dhcp6_count_list(&optinfo->addr_list) *
1812 if ((tmpbuf = malloc(buflen)) == NULL) {
1922 buflen = sizeof(opt_iapd) + dhcp6_count_list(&optinfo->addr_list) *
1925 buflen = sizeof(opt_iapd) + dhcp6_count_list(&optinfo->prefix_list) *
1929 if ((tmpbuf = malloc(buflen)) == NULL) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/include/atalk/
H A Dvfs.h83 #define VFS_FUNC_ARGS_EA_LIST const struct vol * vol, char * attrnamebuf, size_t * buflen, const char * uname, int oflag
84 #define VFS_FUNC_VARS_EA_LIST vol, attrnamebuf, buflen, uname, oflag
H A Dcnid.h71 void *buffer, size_t buflen);
125 void *buffer, size_t buflen);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/
H A Dfiledir.c152 size_t buflen; local
206 buflen = 0;
214 rbuf + 3 * sizeof( u_int16_t ), &buflen );
222 rbuf + 3 * sizeof( u_int16_t ), &buflen )) ) {
228 *rbuflen = buflen + 3 * sizeof( u_int16_t );
H A Dappl.c150 int buflen = 12 + MAXPATHLEN + 1;
173 if ((uname = cnid_resolve(vol->v_cdb, &cnid, buffer, buflen)) == NULL ) {
363 size_t buflen; local
484 buflen = *rbuflen - sizeof( bitmap ) - sizeof( appltag );
486 sizeof( appltag ), &buflen ) != AFP_OK ) {
491 *rbuflen = buflen + sizeof( bitmap ) + sizeof( appltag );
H A Ddesktop.c126 size_t buflen; local
130 buflen = *rbuflen;
215 dsi_writeinit(obj->handle, rbuf, buflen);
224 buflen = bsize;
225 if ((asp_wrtcont(obj->handle, rbuf, &buflen) < 0) || buflen != bsize)
230 printf("(write) len: %d\n", buflen);
231 bprint(rbuf, buflen);
264 iovcnt = dsi_writeinit(dsi, rbuf, buflen);
279 while ((iovcnt = dsi_write(dsi, rbuf, buflen))) {
412 ssize_t rc, buflen; local
[all...]
H A Ddirectory.c600 int buflen = 12 + MAXPATHLEN + 1; local
657 if ((upath = cnid_resolve(vol->v_cdb, &cnid, buffer, buflen)) == NULL) {
1532 char *buf, size_t *buflen )
1797 *buflen = data - buf;
H A Dfile.c307 char *buf, size_t *buflen, struct adouble *adp)
614 *buflen = data - buf;
622 char *buf, size_t *buflen )
656 rc = getmetadata(vol, bitmap, path, dir, buf, buflen, adp);
1410 size_t buflen)
1418 while (buflen > 0) {
1419 if ((cc = write(dfd, buf, buflen)) < 0) {
1427 buflen -= cc;
1914 size_t buflen; local
2003 rbuf + sizeof(bitmap), &buflen))) {
304 getmetadata(struct vol *vol, u_int16_t bitmap, struct path *path, struct dir *dir, char *buf, size_t *buflen, struct adouble *adp) argument
1409 copy_all(const int dfd, const void *buf, size_t buflen) argument
[all...]
H A Dfile.h123 struct dir *dir, char *buf, size_t *buflen, struct adouble *adp);
H A Dfork.c49 static int getforkparams(struct ofork *ofork, u_int16_t bitmap, char *buf, size_t *buflen) argument
98 return getmetadata(vol, bitmap, &path, dir, buf, buflen, adp );
255 size_t buflen; local
454 &buflen )) != AFP_OK ) {
459 *rbuflen = buflen + 2 * sizeof( u_int16_t );
1386 size_t buflen; local
1408 rbuf + sizeof( u_short ), &buflen ))) {
1412 *rbuflen = buflen + sizeof( u_short );
H A Duam.c483 int uam_afp_read(void *handle, char *buf, size_t *buflen, argument
495 if ((len = asp_wrtcont(obj->handle, buf, buflen )) < 0)
497 return action(handle, buf, *buflen);
501 len = dsi_writeinit(obj->handle, buf, *buflen);
507 while ((len = (dsi_write(obj->handle, buf, *buflen)))) {
520 *buflen = 0;
H A Dvolume.c1701 static int getvolparams( u_int16_t bitmap, struct vol *vol, struct stat *st, char *buf, size_t *buflen) argument
1896 *buflen = 0;
1906 *buflen = data - buf;
1915 size_t buflen; local
1924 buflen = *rbuflen - sizeof( bitmap );
1926 rbuf + sizeof( bitmap ), &buflen )) != AFP_OK ) {
1930 *rbuflen = buflen + sizeof( bitmap );
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/bin/ad/
H A Dad.h70 extern int convert_dots_encoding(const afpvol_t *svol, const afpvol_t *dvol, char *path, size_t buflen);
H A Dad_find.c152 int buflen = 12 + MAXPATHLEN + 1; local
158 if ((name = cnid_resolve(vol.volume.v_cdb, &did, buffer, buflen)) == NULL)
H A Dad_util.c204 * @param buflen (r) size of path buffer (max strlen == buflen -1)
208 int convert_dots_encoding(const afpvol_t *svol, const afpvol_t *dvol, char *path, size_t buflen) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/cnid/
H A Dcnid.c287 int cnid_find(struct _cnid_db *cdb, const char *name, size_t namelen, void *buffer, size_t buflen) argument
297 ret = cdb->cnid_find(cdb, name, namelen, buffer, buflen);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/cnid/dbd/
H A Dcnid_dbd.c796 int cnid_dbd_find(struct _cnid_db *cdb, char *name, size_t namelen, void *buffer, size_t buflen) argument
824 rply.namelen = buflen;
H A Dcnid_dbd.h30 void *buffer, size_t buflen);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/netddp/
H A Dnetddp_recvfrom.c39 int netddp_recvfrom(int fd, void *buf, int buflen, unsigned int dummy, argument
50 iov[1].iov_len = buflen;
H A Dnetddp_sendto.c40 int netddp_sendto(int fd, void *buf, size_t buflen, unsigned int dummy, argument
51 iov[1].iov_len = buflen;
57 ddphdr.deh_len = htons(sizeof(ddphdr) + (u_int16_t) buflen);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/adouble/
H A Dad_mmap.c32 const off_t off, const size_t buflen)
41 return ad_mmap(buflen, PROT_READ | PROT_WRITE, MAP_PRIVATE,
52 return ad_mmap(buflen, PROT_READ | PROT_WRITE, MAP_PRIVATE,
61 off_t off, const int end, const size_t buflen)
76 if (st.st_size < buflen + off)
77 ftruncate(ad->ad_df.adf_fd, buflen + off);
83 return ad_mmap(buflen, PROT_READ | PROT_WRITE, MAP_SHARED,
99 if (st.st_size < buflen + off)
100 ftruncate(ad->ad_hf.adf_fd, buflen + off);
106 return ad_mmap(buflen, PROT_REA
31 ad_mmapread(struct adouble *ad, const u_int32_t eid, const off_t off, const size_t buflen) argument
60 ad_mmapwrite(struct adouble *ad, const u_int32_t eid, off_t off, const int end, const size_t buflen) argument
[all...]
H A Dad_read.c62 ssize_t ad_read( struct adouble *ad, const u_int32_t eid, off_t off, char *buf, const size_t buflen) argument
72 if (buflen < cc)
77 cc = adf_pread(&ad->ad_data_fork, buf, buflen, off);
88 if (( cc = adf_pread( &ad->ad_resource_fork, buf, buflen, r_off )) < 0 ) {
H A Dad_write.c48 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
66 cc = adf_pwrite(&ad->ad_data_fork, buf, buflen, off);
77 cc = adf_pwrite(&ad->ad_resource_fork, buf, buflen, r_off);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/vfs/
H A Dea.c1132 * buflen (rw) length of names in attrnamebuf
1141 * Increments *buflen accordingly.
1146 int attrbuflen = *buflen, ret = AFP_OK, len;
1193 *buflen = attrbuflen;
H A Dea_sys.c208 * buflen (rw) length of names in attrnamebuf
221 ssize_t attrbuflen = *buflen;
282 *buflen = attrbuflen;

Completed in 109 milliseconds

1234567891011>>