Searched refs:HMDFS_CID_SIZE (Results 1 – 13 of 13) sorted by relevance
/kernel/linux/linux-5.10/fs/hmdfs/comm/ |
D | device_node.h | 28 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];
|
D | connection.h | 23 #define HMDFS_CID_SIZE 64 macro 171 char cid[HMDFS_CID_SIZE + 1];
|
D | connection.c | 357 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()
|
D | socket_adapter.h | 21 #define HMDFS_CID_SIZE 64 macro
|
D | transport.c | 1004 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()
|
D | socket_adapter.c | 157 HMDFS_CID_SIZE); in hmdfs_sendmessage()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | hmdfs_share.h | 30 char cid[HMDFS_CID_SIZE]; 36 char cid[HMDFS_CID_SIZE];
|
D | file_root.c | 94 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()
|
D | inode_root.c | 150 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()
|
D | hmdfs_share.c | 17 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()
|
D | hmdfs.h | 58 #define HMDFS_CID_SIZE 64 macro
|
D | inode_merge.c | 559 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()
|
D | stash.c | 45 #define HMDFS_STASH_PATH_LEN (HMDFS_CID_SIZE + HMDFS_STASH_FILE_NAME_LEN + 1)
|