Searched refs:CTCM_ID_SIZE (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/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() 1336 snprintf(ch->id, CTCM_ID_SIZE, "ch-%s", dev_name(&cdev->dev)); in add_channel() 1419 if (*c && (!strncmp((*c)->id, ch->id, CTCM_ID_SIZE))) { in add_channel() 1477 char read_id[CTCM_ID_SIZE]; in ctcm_new_device() 1478 char write_id[CTCM_ID_SIZE]; in ctcm_new_device() 1501 snprintf(read_id, CTCM_ID_SIZE, "ch-%s", dev_name(&cdev0->dev)); in ctcm_new_device() 1502 snprintf(write_id, CTCM_ID_SIZE, "ch-%s", dev_name(&cdev1->dev)); in ctcm_new_device()
|