Searched refs:smallbuf (Results 1 – 4 of 4) sorted by relevance
864 char *smallbuf = NULL; in usb_cache_string() local874 smallbuf = kmalloc(++len, GFP_NOIO); in usb_cache_string()875 if (!smallbuf) in usb_cache_string()877 memcpy(smallbuf, buf, len); in usb_cache_string()881 return smallbuf; in usb_cache_string()
458 if (!server->smallbuf) { in allocate_buffers()459 server->smallbuf = (char *)cifs_small_buf_get(); in allocate_buffers()460 if (!server->smallbuf) { in allocate_buffers()469 memset(server->smallbuf, 0, HEADER_SIZE(server)); in allocate_buffers()699 server->smallbuf = NULL; in handle_mid()795 char *buf = server->smallbuf; in standard_receive3()873 buf = server->smallbuf; in cifs_demultiplex_thread()941 if (server->smallbuf) /* no sense logging a debug message if NULL */ in cifs_demultiplex_thread()942 cifs_small_buf_release(server->smallbuf); in cifs_demultiplex_thread()
617 char *smallbuf; /* pointer to current "small" buffer */ member
1401 unsigned int rfclen = get_rfc1002_length(server->smallbuf); in discard_remaining_data()1436 char *buf = server->smallbuf; in cifs_readv_receive()