Searched defs:bufsize (Results 1 - 8 of 8) sorted by relevance

/net/sunrpc/auth_gss/
H A Dgss_generic_token.c115 decrements bufsize */
118 der_read_length(unsigned char **buf, int *bufsize) argument
123 if (*bufsize < 1)
126 (*bufsize)--;
128 if ((sf &= 0x7f) > ((*bufsize)-1))
135 (*bufsize)--;
H A Dgss_mech_switch.c386 gss_import_sec_context(const void *input_token, size_t bufsize, argument
396 return mech->gm_ops->gss_import_sec_context(input_token, bufsize,
/net/dccp/
H A Dprobe.c42 static int bufsize = 64 * 1024; variable
172 if (kfifo_alloc(&dccpw.fifo, bufsize, GFP_KERNEL))
203 MODULE_PARM_DESC(bufsize, "Log buffer size (default 64k)");
204 module_param(bufsize, int, 0);
/net/mac80211/
H A Ddebugfs_key.c222 int i, bufsize = 2 * key->conf.keylen + 2; local
223 char *buf = kmalloc(bufsize, GFP_KERNEL);
231 p += scnprintf(p, bufsize + buf - p, "%02x", key->conf.key[i]);
232 p += scnprintf(p, bufsize+buf-p, "\n");
/net/sunrpc/
H A Dsvc.c423 __svc_create(struct svc_program *prog, unsigned int bufsize, int npools, argument
437 if (bufsize > RPCSVC_MAXPAYLOAD)
438 bufsize = RPCSVC_MAXPAYLOAD;
439 serv->sv_max_payload = bufsize? bufsize : 4096;
490 svc_create(struct svc_program *prog, unsigned int bufsize, argument
493 return __svc_create(prog, bufsize, /*npools*/1, shutdown);
498 svc_create_pooled(struct svc_program *prog, unsigned int bufsize, argument
505 serv = __svc_create(prog, bufsize, npools, shutdown);
H A Dclnt.c940 * @bufsize: length of target buffer
944 size_t rpc_peeraddr(struct rpc_clnt *clnt, struct sockaddr *buf, size_t bufsize) argument
953 if (bytes > bufsize)
954 bytes = bufsize;
H A Dcache.c1213 int qword_get(char **bpp, char *dest, int bufsize) argument
1224 while (len < bufsize) {
1241 while (*bp != ' ' && *bp != '\n' && *bp && len < bufsize-1) {
/net/wireless/
H A Dutil.c1060 u8 *buf, unsigned int bufsize)
1099 memcpy(out, iedata, min(bufsize, copy));
1100 out += min(bufsize, copy);
1101 bufsize -= min(bufsize, copy);
1132 memcpy(out, iedata, min(bufsize, copy));
1133 out += min(bufsize, copy);
1134 bufsize -= min(bufsize, copy);
1058 cfg80211_get_p2p_attr(const u8 *ies, unsigned int len, enum ieee80211_p2p_attr_id attr, u8 *buf, unsigned int bufsize) argument

Completed in 151 milliseconds