Searched refs:ret_buf (Results 1 - 6 of 6) sorted by relevance
/linux-4.1.27/fs/cifs/ |
H A D | misc.c | 76 struct cifs_ses *ret_buf; sesInfoAlloc() local 78 ret_buf = kzalloc(sizeof(struct cifs_ses), GFP_KERNEL); sesInfoAlloc() 79 if (ret_buf) { sesInfoAlloc() 81 ret_buf->status = CifsNew; sesInfoAlloc() 82 ++ret_buf->ses_count; sesInfoAlloc() 83 INIT_LIST_HEAD(&ret_buf->smb_ses_list); sesInfoAlloc() 84 INIT_LIST_HEAD(&ret_buf->tcon_list); sesInfoAlloc() 85 mutex_init(&ret_buf->session_mutex); sesInfoAlloc() 87 return ret_buf; sesInfoAlloc() 115 struct cifs_tcon *ret_buf; tconInfoAlloc() local 116 ret_buf = kzalloc(sizeof(struct cifs_tcon), GFP_KERNEL); tconInfoAlloc() 117 if (ret_buf) { tconInfoAlloc() 119 ret_buf->tidStatus = CifsNew; tconInfoAlloc() 120 ++ret_buf->tc_count; tconInfoAlloc() 121 INIT_LIST_HEAD(&ret_buf->openFileList); tconInfoAlloc() 122 INIT_LIST_HEAD(&ret_buf->tcon_list); tconInfoAlloc() 124 spin_lock_init(&ret_buf->stat_lock); tconInfoAlloc() 127 return ret_buf; tconInfoAlloc() 149 struct smb_hdr *ret_buf = NULL; cifs_buf_get() local 165 ret_buf = mempool_alloc(cifs_req_poolp, GFP_NOFS); cifs_buf_get() 169 if (ret_buf) { cifs_buf_get() 170 memset(ret_buf, 0, buf_size + 3); cifs_buf_get() 177 return ret_buf; cifs_buf_get() 196 struct smb_hdr *ret_buf = NULL; cifs_small_buf_get() local 202 ret_buf = mempool_alloc(cifs_sm_req_poolp, GFP_NOFS); cifs_small_buf_get() 203 if (ret_buf) { cifs_small_buf_get() 205 /* memset(ret_buf, 0, sizeof(struct smb_hdr) + 27);*/ cifs_small_buf_get() 212 return ret_buf; cifs_small_buf_get()
|
H A D | cifssmb.c | 3737 void **ret_buf) smb_init_nttransact() 3747 *ret_buf = (void *)pSMB; smb_init_nttransact() 3735 smb_init_nttransact(const __u16 sub_command, const int setup_count, const int parm_len, struct cifs_tcon *tcon, void **ret_buf) smb_init_nttransact() argument
|
/linux-4.1.27/drivers/acpi/acpica/ |
H A D | exdump.c | 988 struct acpi_buffer ret_buf; acpi_ex_dump_reference_obj() local 991 ret_buf.length = ACPI_ALLOCATE_LOCAL_BUFFER; acpi_ex_dump_reference_obj() 998 &ret_buf); acpi_ex_dump_reference_obj() 1002 acpi_os_printf("%s\n", (char *)ret_buf.pointer); acpi_ex_dump_reference_obj() 1003 ACPI_FREE(ret_buf.pointer); acpi_ex_dump_reference_obj()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
H A D | bnx2.c | 4406 bnx2_nvram_read(struct bnx2 *bp, u32 offset, u8 *ret_buf, bnx2_nvram_read() argument 4449 memcpy(ret_buf, buf + (offset & 3), pre_len); bnx2_nvram_read() 4452 ret_buf += pre_len; bnx2_nvram_read() 4471 memcpy(ret_buf, buf, 4 - extra); bnx2_nvram_read() 4482 rc = bnx2_nvram_read_dword(bp, offset32, ret_buf, cmd_flags); bnx2_nvram_read() 4486 ret_buf += 4; bnx2_nvram_read() 4490 rc = bnx2_nvram_read_dword(bp, offset32, ret_buf, 0); bnx2_nvram_read() 4494 ret_buf += 4; bnx2_nvram_read() 4504 memcpy(ret_buf, buf, 4 - extra); bnx2_nvram_read()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_ethtool.c | 1319 static int bnx2x_nvram_read(struct bnx2x *bp, u32 offset, u8 *ret_buf, bnx2x_nvram_read() argument 1352 memcpy(ret_buf, &val, 4); bnx2x_nvram_read() 1356 ret_buf += sizeof(u32); bnx2x_nvram_read() 1364 memcpy(ret_buf, &val, 4); bnx2x_nvram_read()
|
/linux-4.1.27/drivers/scsi/qla2xxx/ |
H A D | qla_mbx.c | 2500 * ret_buf = pointer to link status return buffer.
|
Completed in 451 milliseconds