Searched refs:CTCM_ID_SIZE (Results 1 – 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/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() 1376 snprintf(ch->id, CTCM_ID_SIZE, "ch-%s", dev_name(&cdev->dev)); in add_channel() 1459 if (*c && (!strncmp((*c)->id, ch->id, CTCM_ID_SIZE))) { in add_channel() 1517 char read_id[CTCM_ID_SIZE]; in ctcm_new_device() 1518 char write_id[CTCM_ID_SIZE]; in ctcm_new_device() 1541 snprintf(read_id, CTCM_ID_SIZE, "ch-%s", dev_name(&cdev0->dev)); in ctcm_new_device() 1542 snprintf(write_id, CTCM_ID_SIZE, "ch-%s", dev_name(&cdev1->dev)); in ctcm_new_device()
|