Home
last modified time | relevance | path

Searched refs:HMDFS_CID_SIZE (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/fs/hmdfs/comm/
Ddevice_node.h28 uint8_t cid[HMDFS_CID_SIZE];
34 uint8_t cid[HMDFS_CID_SIZE];
39 uint8_t remote_cid[HMDFS_CID_SIZE];
56 uint8_t remote_cid[HMDFS_CID_SIZE];
Dconnection.h23 #define HMDFS_CID_SIZE 64 macro
171 char cid[HMDFS_CID_SIZE + 1];
Dconnection.c357 char buf[HMDFS_CID_SIZE] = { 0 }; in do_send_handshake()
359 len = scnprintf(buf, HMDFS_CID_SIZE, "%llu", 0ULL); in do_send_handshake()
577 memcpy(param.remote_cid, node->cid, HMDFS_CID_SIZE); in connection_handshake_notify()
1050 if (strncmp(con->cid, cid, HMDFS_CID_SIZE) != 0) in hmdfs_lookup_from_cid()
1066 if (!strncmp(node->cid, cid, HMDFS_CID_SIZE)) { in lookup_peer_by_cid_unsafe()
1156 memcpy(node->cid, cid, HMDFS_CID_SIZE); in alloc_peer()
Dsocket_adapter.h21 #define HMDFS_CID_SIZE 64 macro
Dtransport.c1004 memcpy(param.remote_cid, peer->cid, HMDFS_CID_SIZE); in hmdfs_get_connection()
1020 memcpy(param.remote_cid, peer->cid, HMDFS_CID_SIZE); in connection_notify_to_close()
Dsocket_adapter.c157 HMDFS_CID_SIZE); in hmdfs_sendmessage()
/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_share.h30 char cid[HMDFS_CID_SIZE];
36 char cid[HMDFS_CID_SIZE];
Dfile_root.c94 remote_device_name = kmalloc(HMDFS_CID_SIZE + 1, GFP_KERNEL); in hmdfs_device_iterate()
101 snprintf(remote_device_name, HMDFS_CID_SIZE + 1, "%s", in hmdfs_device_iterate()
Dinode_root.c150 cid = kzalloc(HMDFS_CID_SIZE + 1, GFP_KERNEL); in hmdfs_device_lookup()
156 strncpy(cid, d_name, HMDFS_CID_SIZE); in hmdfs_device_lookup()
157 cid[HMDFS_CID_SIZE] = '\0'; in hmdfs_device_lookup()
Dhmdfs_share.c17 return strncmp(src_cid, dst_cid, HMDFS_CID_SIZE) == 0; in is_dst_device()
111 memcpy(new_item->cid, cid, HMDFS_CID_SIZE); in insert_share_item()
136 memcpy(item->cid, cid, HMDFS_CID_SIZE); in update_share_item()
Dhmdfs.h58 #define HMDFS_CID_SIZE 64 macro
Dinode_merge.c559 max((int)HMDFS_CID_SIZE + 1, (int)sizeof(DEVICE_VIEW_LOCAL)); in do_lookup_merge_root()
581 memcpy(buf, peer->cid, HMDFS_CID_SIZE); in do_lookup_merge_root()
Dstash.c45 #define HMDFS_STASH_PATH_LEN (HMDFS_CID_SIZE + HMDFS_STASH_FILE_NAME_LEN + 1)