Home
last modified time | relevance | path

Searched refs:smallbuf (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/usb/core/
Dmessage.c864 char *smallbuf = NULL; in usb_cache_string() local
874 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()
/linux-4.1.27/fs/cifs/
Dconnect.c447 if (!server->smallbuf) { in allocate_buffers()
448 server->smallbuf = (char *)cifs_small_buf_get(); in allocate_buffers()
449 if (!server->smallbuf) { in allocate_buffers()
458 memset(server->smallbuf, 0, HEADER_SIZE(server)); in allocate_buffers()
688 server->smallbuf = NULL; in handle_mid()
784 char *buf = server->smallbuf; in standard_receive3()
862 buf = server->smallbuf; in cifs_demultiplex_thread()
930 if (server->smallbuf) /* no sense logging a debug message if NULL */ in cifs_demultiplex_thread()
931 cifs_small_buf_release(server->smallbuf); in cifs_demultiplex_thread()
Dcifsglob.h605 char *smallbuf; /* pointer to current "small" buffer */ member
Dcifssmb.c1400 unsigned int rfclen = get_rfc1002_length(server->smallbuf); in discard_remaining_data()
1435 char *buf = server->smallbuf; in cifs_readv_receive()