Home
last modified time | relevance | path

Searched refs:ret_buf (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/fs/cifs/
Dmisc.c79 struct cifs_ses *ret_buf; in sesInfoAlloc() local
81 ret_buf = kzalloc(sizeof(struct cifs_ses), GFP_KERNEL); in sesInfoAlloc()
82 if (ret_buf) { in sesInfoAlloc()
84 ret_buf->status = CifsNew; in sesInfoAlloc()
85 ++ret_buf->ses_count; in sesInfoAlloc()
86 INIT_LIST_HEAD(&ret_buf->smb_ses_list); in sesInfoAlloc()
87 INIT_LIST_HEAD(&ret_buf->tcon_list); in sesInfoAlloc()
88 mutex_init(&ret_buf->session_mutex); in sesInfoAlloc()
89 spin_lock_init(&ret_buf->iface_lock); in sesInfoAlloc()
91 return ret_buf; in sesInfoAlloc()
[all …]
Dcifssmb.c3810 void **ret_buf) in smb_init_nttransact() argument
3820 *ret_buf = (void *)pSMB; in smb_init_nttransact()
/kernel/linux/linux-5.10/drivers/acpi/acpica/
Ddbdisply.c148 struct acpi_buffer ret_buf; in acpi_db_decode_and_display_object() local
169 ret_buf.length = sizeof(buffer); in acpi_db_decode_and_display_object()
170 ret_buf.pointer = buffer; in acpi_db_decode_and_display_object()
273 status = acpi_get_name(node, ACPI_FULL_PATHNAME_NO_TRAILING, &ret_buf); in acpi_db_decode_and_display_object()
280 node, (char *)ret_buf.pointer); in acpi_db_decode_and_display_object()
312 &ret_buf); in acpi_db_decode_and_display_object()
318 (char *)ret_buf.pointer); in acpi_db_decode_and_display_object()
737 struct acpi_buffer ret_buf; in acpi_db_display_gpes() local
740 ret_buf.length = sizeof(buffer); in acpi_db_display_gpes()
741 ret_buf.pointer = buffer; in acpi_db_display_gpes()
[all …]
Dexdump.c969 struct acpi_buffer ret_buf; in acpi_ex_dump_reference_obj() local
972 ret_buf.length = ACPI_ALLOCATE_LOCAL_BUFFER; in acpi_ex_dump_reference_obj()
978 &ret_buf, TRUE); in acpi_ex_dump_reference_obj()
988 (char *)ret_buf.pointer); in acpi_ex_dump_reference_obj()
989 ACPI_FREE(ret_buf.pointer); in acpi_ex_dump_reference_obj()
/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_debugfs.c140 char ret_buf[20]; in hinic_dbg_cmd_read() local
167 ret = snprintf(ret_buf, sizeof(ret_buf), "0x%llx\n", out); in hinic_dbg_cmd_read()
169 return simple_read_from_buffer(buffer, count, ppos, ret_buf, ret); in hinic_dbg_cmd_read()
/kernel/linux/linux-5.10/drivers/misc/
Dibmvmc.c327 struct ibmvmc_buffer *ret_buf = NULL; in ibmvmc_get_valid_hmc_buffer() local
339 ret_buf = &buffer[i]; in ibmvmc_get_valid_hmc_buffer()
344 return ret_buf; in ibmvmc_get_valid_hmc_buffer()
360 struct ibmvmc_buffer *ret_buf = NULL; in ibmvmc_get_free_hmc_buffer() local
375 ret_buf = &buffer[i]; in ibmvmc_get_free_hmc_buffer()
380 return ret_buf; in ibmvmc_get_free_hmc_buffer()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c1393 int bnx2x_nvram_read(struct bnx2x *bp, u32 offset, u8 *ret_buf, in bnx2x_nvram_read() argument
1426 memcpy(ret_buf, &val, 4); in bnx2x_nvram_read()
1430 ret_buf += sizeof(u32); in bnx2x_nvram_read()
1438 memcpy(ret_buf, &val, 4); in bnx2x_nvram_read()
Dbnx2x_cmn.h1400 int bnx2x_nvram_read(struct bnx2x *bp, u32 offset, u8 *ret_buf,
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/
Dbnx2.c4416 bnx2_nvram_read(struct bnx2 *bp, u32 offset, u8 *ret_buf, in bnx2_nvram_read() argument
4459 memcpy(ret_buf, buf + (offset & 3), pre_len); in bnx2_nvram_read()
4462 ret_buf += pre_len; in bnx2_nvram_read()
4481 memcpy(ret_buf, buf, 4 - extra); in bnx2_nvram_read()
4492 rc = bnx2_nvram_read_dword(bp, offset32, ret_buf, cmd_flags); in bnx2_nvram_read()
4496 ret_buf += 4; in bnx2_nvram_read()
4500 rc = bnx2_nvram_read_dword(bp, offset32, ret_buf, 0); in bnx2_nvram_read()
4504 ret_buf += 4; in bnx2_nvram_read()
4514 memcpy(ret_buf, buf, 4 - extra); in bnx2_nvram_read()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_debug.c3202 u32 nvram_size_bytes, u32 *ret_buf);
3943 u32 nvram_size_bytes, u32 *ret_buf) in qed_nvram_read() argument
3968 (u32 *)((u8 *)ret_buf + read_offset))) in qed_nvram_read()