Searched refs:buflen (Results 101 - 125 of 360) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/etc/afpd/
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...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/
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...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/proc/
H A Dvmcore.c102 size_t buflen, loff_t *fpos)
109 if (buflen == 0 || *fpos >= vmcore_size)
112 /* trim buflen to not go beyond EOF */
113 if (buflen > vmcore_size - *fpos)
114 buflen = vmcore_size - *fpos;
119 if (buflen < tsz)
120 tsz = buflen;
123 buflen -= tsz;
129 if (buflen == 0)
136 if ((tsz = (PAGE_SIZE - (start & ~PAGE_MASK))) > buflen)
101 read_vmcore(struct file *file, char __user *buffer, size_t buflen, loff_t *fpos) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ata/
H A Dpata_qdi.c127 static void qdi_data_xfer(struct ata_device *adev, unsigned char *buf, unsigned int buflen, int write_data) argument
130 int slop = buflen & 3;
134 iowrite32_rep(ap->ioaddr.data_addr, buf, buflen >> 2);
136 ioread32_rep(ap->ioaddr.data_addr, buf, buflen >> 2);
141 memcpy(&pad, buf + buflen - slop, slop);
147 memcpy(buf + buflen - slop, &pad, slop);
151 ata_data_xfer(adev, buf, buflen, write_data);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/scsi/
H A Dzfcp_dbf.c82 char *buffer, int buflen, int offset, int total_size)
89 while (buflen--) {
483 u32 s_id, u32 d_id, void *buffer, int buflen)
515 min(buflen - (int)sizeof(struct ct_hdr), ZFCP_DBF_CT_PAYLOAD);
549 u32 d_id, u8 ls_code, void *buffer, int buflen)
567 buflen = min(buflen, ZFCP_DBF_ELS_MAX_PAYLOAD);
568 rec->type.els.payload_size = buflen;
570 buffer, min(buflen, ZFCP_DBF_ELS_PAYLOAD));
571 offset += min(buflen, ZFCP_DBF_ELS_PAYLOA
81 zfcp_dbf_view_dump(char *out_buf, const char *label, char *buffer, int buflen, int offset, int total_size) argument
482 _zfcp_san_dbf_event_common_ct(const char *tag, struct zfcp_fsf_req *fsf_req, u32 s_id, u32 d_id, void *buffer, int buflen) argument
547 _zfcp_san_dbf_event_common_els(const char *tag, int level, struct zfcp_fsf_req *fsf_req, u32 s_id, u32 d_id, u8 ls_code, void *buffer, int buflen) argument
631 int buflen = 0, total = 0; local
717 int offset = 0, buflen = 0; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-dnsconfd/
H A Dmain.c436 size_t buflen = 0; local
512 if ((r = read(fd, buf, sizeof(buf) - buflen - 1)) <= 0) {
517 buflen += r;
518 assert(buflen <= sizeof(buf)-1);
520 while ((n = memchr(buf, '\n', buflen))) {
526 buflen -= (n - buf);
527 memmove(buf, n, buflen);
530 if (buflen >= sizeof(buf)-1) {
537 buflen = 0;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/l2tpd-0.69/
H A Dmisc.c86 void bufferDump (char *buf, int buflen) argument
92 for (i = 0; i < buflen / bufferDumpWIDTH; i++)
102 log (LOG_WARN, "%s: buflen=%d, buffer[%d]: *%s*\n", __FUNCTION__,
103 buflen, i, line);
107 for (j = 0; j < buflen % bufferDumpWIDTH; j++)
110 buf[(buflen / bufferDumpWIDTH) * bufferDumpWIDTH +
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/dvb-usb/
H A Dgp8psk.c106 u16 buflen = ptr[0] + 4; local
107 if (ptr + buflen >= fw->data + fw->size) {
111 memcpy(buf, ptr, buflen);
112 if (dvb_usb_generic_write(d, buf, buflen)) {
116 ptr += buflen;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/libiproute/
H A Dutils.c282 void *addr, char *buf, int buflen)
287 return inet_ntop(af, addr, buf, buflen);
294 const char *format_host(int af, int len, void *addr, char *buf, int buflen) argument
314 safe_strncpy(buf, h_ent->h_name, buflen);
320 return rt_addr_n2a(af, len, addr, buf, buflen);
281 rt_addr_n2a(int af, int ATTRIBUTE_UNUSED len, void *addr, char *buf, int buflen) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/vfs/
H A Dunix.c199 size_t buflen; local
232 buflen = cc;
233 while (buflen > 0) {
234 if ((cc = write(dfd, filebuf, buflen)) < 0) {
242 buflen -= cc;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/vfs/
H A Dunix.c188 size_t buflen; local
221 buflen = cc;
222 while (buflen > 0) {
223 if ((cc = write(dfd, filebuf, buflen)) < 0) {
231 buflen -= cc;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/security/keys/
H A Drequest_key_auth.c74 char __user *buffer, size_t buflen)
84 if (buffer && buflen > 0) {
85 if (buflen > datalen)
86 buflen = datalen;
88 if (copy_to_user(buffer, rka->callout_info, buflen) != 0)
73 request_key_auth_read(const struct key *key, char __user *buffer, size_t buflen) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/libfuse-lite/
H A Dmount_util.c200 unsigned buflen = strlen(buf); local
201 if (buflen && buf[buflen-1] == '/')
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/prom/
H A Dmisc.c277 char *buf, int buflen)
285 buflen, buf, P1275_SIZE(buflen),
275 prom_getunumber(int syndrome_code, unsigned long phys_addr, char *buf, int buflen) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfs/
H A Dinternal.h134 char *buffer, ssize_t buflen);
151 char *buffer, ssize_t buflen)
154 dentry, buffer, buflen);
149 nfs_devname(const struct vfsmount *mnt_parent, const struct dentry *dentry, char *buffer, ssize_t buflen) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/tests/
H A Drandom.c83 readn (int fd, void *buf, size_t buflen, size_t *ret_nread) argument
85 size_t nleft = buflen;
104 *ret_nread = buflen - nleft;
H A Dfipsdrv.c323 size_t buflen; local
332 buflen = 0;
341 nread = fread (buffer + buflen, 1, NCHUNK, fp);
347 buflen += nread;
356 for (s=buffer,p=buffer,nread=0; nread+1 < buflen; s += 2, nread +=2 )
365 if (nread != buflen)
370 buflen = p - buffer;
373 *r_length = buflen;
467 parse_tag (unsigned char const **buffer, size_t *buflen, struct tag_info *ti) argument
472 size_t length = *buflen;
554 size_t buflen; local
646 size_t buflen; local
739 size_t buflen; local
771 size_t buflen; local
961 run_external_rng_test(void *context, void *buffer, size_t buflen) argument
1123 get_current_iv(gcry_cipher_hd_t hd, void *buffer, size_t buflen) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/lib/
H A Dbitmap.c283 * @buflen: reserved size of @buf, in bytes
290 int bitmap_scnprintf(char *buf, unsigned int buflen, argument
309 len += scnprintf(buf+len, buflen-len, "%s%0*lx", sep,
321 * @buflen: buffer size in bytes. If string is smaller than this
334 int __bitmap_parse(const char *buf, unsigned int buflen, argument
349 while (buflen) {
357 buflen--;
398 } while (buflen && c == ',');
430 * bscnl_emit(buf, buflen, rbot, rtop, bp)
433 * or range to buf, suppressing output past buf+buflen, wit
437 bscnl_emit(char *buf, int buflen, int rbot, int rtop, int len) argument
465 bitmap_scnlistprintf(char *buf, unsigned int buflen, const unsigned long *maskp, int nmaskbits) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/lib/
H A Dsetup-os400.h129 extern int Curl_os400_sendto(int sd, char * buffer, int buflen, int flags,
131 extern int Curl_os400_recvfrom(int sd, char * buffer, int buflen, int flags,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/modules/
H A Dvjcompress.c437 vj_uncompress_uncomp(buf, buflen, comp)
439 int buflen;
449 || hlen + sizeof(struct tcphdr) > buflen
451 > buflen
469 * The first buflen bytes are at buf; this must include the entire
475 vj_uncompress_tcp(buf, buflen, total_len, comp, hdrp, hlenp)
477 int buflen, total_len;
565 buflen -= vjlen;
566 if (buflen < 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/openssl/crypto/
H A Do_time.c97 short buflen; member in struct:__anon1401
109 itemlist[0].buflen = sizeof(logvalue);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/openssl-0.9.8e/crypto/
H A Do_time.c97 short buflen; member in struct:__anon2940
109 itemlist[0].buflen = sizeof(logvalue);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ocfs2/
H A Dsymlink.c107 int buflen)
126 ret = vfs_readlink(dentry, buffer, buflen, link);
105 ocfs2_readlink(struct dentry *dentry, char __user *buffer, int buflen) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/mac80211/
H A Ddebugfs.c58 #define DEBUGFS_READONLY_FILE(name, buflen, fmt, value...) \
63 char buf[buflen]; \
66 res = scnprintf(buf, buflen, fmt "\n", ##value); \
130 #define DEBUGFS_STATS_FILE(name, buflen, fmt, value...) \
131 DEBUGFS_READONLY_FILE(stats_ ##name, buflen, fmt, ##value)
137 int buflen))
159 char *buf, int buflen) \
161 return scnprintf(buf, buflen, "%u\n", stats->name); \
133 format_devstat_counter(struct ieee80211_local *local, char __user *userbuf, size_t count, loff_t *ppos, int (*printvalue)(struct ieee80211_low_level_stats *stats, char *buf, int buflen)) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/udev/
H A Dudev_utils_file.c156 size_t buf_get_line(const char *buf, size_t buflen, size_t cur) argument
161 for (count = cur; count < buflen; count++) {

Completed in 277 milliseconds

1234567891011>>