Home
last modified time | relevance | path

Searched refs:bufsize (Results 1 – 12 of 12) sorted by relevance

/net/sunrpc/auth_gss/
Dgss_generic_token.c118 der_read_length(unsigned char **buf, int *bufsize) in der_read_length() argument
123 if (*bufsize < 1) in der_read_length()
126 (*bufsize)--; in der_read_length()
128 if ((sf &= 0x7f) > ((*bufsize)-1)) in der_read_length()
135 (*bufsize)--; in der_read_length()
Dgss_mech_switch.c353 gss_import_sec_context(const void *input_token, size_t bufsize, in gss_import_sec_context() argument
363 return mech->gm_ops->gss_import_sec_context(input_token, bufsize, in gss_import_sec_context()
/net/smc/
Dsmc_core.c1956 bool is_rmb, int bufsize) in smcr_new_buf_create() argument
1965 buf_desc->order = get_order(bufsize); in smcr_new_buf_create()
1975 buf_desc->len = bufsize; in smcr_new_buf_create()
2008 bool is_dmb, int bufsize) in smcd_new_buf_create() argument
2018 rc = smc_ism_register_dmb(lgr, bufsize, buf_desc); in smcd_new_buf_create()
2029 buf_desc->len = bufsize - sizeof(struct smcd_cdc_msg); in smcd_new_buf_create()
2031 buf_desc->cpu_addr = kzalloc(bufsize, GFP_KERNEL | in smcd_new_buf_create()
2038 buf_desc->len = bufsize; in smcd_new_buf_create()
2049 int bufsize, bufsize_short; in __smc_buf_create() local
2070 bufsize = smc_uncompress_bufsize(bufsize_short); in __smc_buf_create()
[all …]
Daf_smc.c461 int bufsize = smc_uncompress_bufsize(clc->r0.rmbe_size); in smcr_conn_save_peer_info() local
465 smc->conn.peer_rmbe_size = bufsize; in smcr_conn_save_peer_info()
467 smc->conn.tx_off = bufsize * (smc->conn.peer_rmbe_idx - 1); in smcr_conn_save_peer_info()
483 int bufsize = smc_uncompress_bufsize(clc->d0.dmbe_size); in smcd_conn_save_peer_info() local
488 smc->conn.peer_rmbe_size = bufsize - sizeof(struct smcd_cdc_msg); in smcd_conn_save_peer_info()
490 smc->conn.tx_off = bufsize * smc->conn.peer_rmbe_idx; in smcd_conn_save_peer_info()
/net/sunrpc/
Dsvc.c426 __svc_create(struct svc_program *prog, unsigned int bufsize, int npools, in __svc_create() argument
440 if (bufsize > RPCSVC_MAXPAYLOAD) in __svc_create()
441 bufsize = RPCSVC_MAXPAYLOAD; in __svc_create()
442 serv->sv_max_payload = bufsize? bufsize : 4096; in __svc_create()
491 svc_create(struct svc_program *prog, unsigned int bufsize, in svc_create() argument
494 return __svc_create(prog, bufsize, /*npools*/1, ops); in svc_create()
499 svc_create_pooled(struct svc_program *prog, unsigned int bufsize, in svc_create_pooled() argument
505 serv = __svc_create(prog, bufsize, npools, ops); in svc_create_pooled()
Dcache.c1262 int qword_get(char **bpp, char *dest, int bufsize) in qword_get() argument
1273 while (len < bufsize - 1) { in qword_get()
1290 while (*bp != ' ' && *bp != '\n' && *bp && len < bufsize-1) { in qword_get()
Dclnt.c1296 size_t rpc_peeraddr(struct rpc_clnt *clnt, struct sockaddr *buf, size_t bufsize) in rpc_peeraddr() argument
1305 if (bytes > bufsize) in rpc_peeraddr()
1306 bytes = bufsize; in rpc_peeraddr()
/net/mac80211/
Ddebugfs_key.c303 int i, bufsize = 2 * key->conf.keylen + 2; in key_key_read() local
304 char *buf = kmalloc(bufsize, GFP_KERNEL); in key_key_read()
312 p += scnprintf(p, bufsize + buf - p, "%02x", key->conf.key[i]); in key_key_read()
313 p += scnprintf(p, bufsize+buf-p, "\n"); in key_key_read()
/net/wireless/
Dutil.c1591 u8 *buf, unsigned int bufsize) in cfg80211_get_p2p_attr() argument
1630 memcpy(out, iedata, min(bufsize, copy)); in cfg80211_get_p2p_attr()
1631 out += min(bufsize, copy); in cfg80211_get_p2p_attr()
1632 bufsize -= min(bufsize, copy); in cfg80211_get_p2p_attr()
1663 memcpy(out, iedata, min(bufsize, copy)); in cfg80211_get_p2p_attr()
1664 out += min(bufsize, copy); in cfg80211_get_p2p_attr()
1665 bufsize -= min(bufsize, copy); in cfg80211_get_p2p_attr()
Dnl80211.c13273 if (tokens_size > rdev->wiphy.wowlan->tcp->tok->bufsize) in nl80211_parse_wowlan_tcp()
/net/rxrpc/
Dsendmsg.c338 size_t remain, bufsize, chunk, offset; in rxrpc_send_data() local
351 &bufsize, &chunk, &offset); in rxrpc_send_data()
355 _debug("SIZE: %zu/%zu @%zu", chunk, bufsize, offset); in rxrpc_send_data()
359 sk, bufsize, msg->msg_flags & MSG_DONTWAIT, &ret); in rxrpc_send_data()
/net/sched/
Dsch_cake.c902 void *buf, unsigned int bufsize) in cake_get_tcphdr() argument
950 min(__tcp_hdrlen(tcph), bufsize), buf); in cake_get_tcphdr()