Searched refs:CTCM_ID_SIZE (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/s390/net/ |
D | ctcm_main.h | 116 #define CTCM_ID_SIZE 20+3 macro 133 char id[CTCM_ID_SIZE];
|
D | ctcm_main.c | 203 char chid[CTCM_ID_SIZE+1]; in channel_remove() 209 strncpy(chid, ch->id, CTCM_ID_SIZE); in channel_remove() 257 while (ch && (strncmp(ch->id, id, CTCM_ID_SIZE) || (ch->type != type))) in channel_get() 1383 snprintf(ch->id, CTCM_ID_SIZE, "ch-%s", dev_name(&cdev->dev)); in add_channel() 1466 if (*c && (!strncmp((*c)->id, ch->id, CTCM_ID_SIZE))) { in add_channel() 1524 char read_id[CTCM_ID_SIZE]; in ctcm_new_device() 1525 char write_id[CTCM_ID_SIZE]; in ctcm_new_device() 1548 snprintf(read_id, CTCM_ID_SIZE, "ch-%s", dev_name(&cdev0->dev)); in ctcm_new_device() 1549 snprintf(write_id, CTCM_ID_SIZE, "ch-%s", dev_name(&cdev1->dev)); in ctcm_new_device()
|