Home
last modified time | relevance | path

Searched refs:CTCM_ID_SIZE (Results 1 – 2 of 2) sorted by relevance

/drivers/s390/net/
Dctcm_main.h101 #define CTCM_ID_SIZE 20+3 macro
118 char id[CTCM_ID_SIZE];
Dctcm_main.c202 char chid[CTCM_ID_SIZE+1]; in channel_remove()
208 strncpy(chid, ch->id, CTCM_ID_SIZE); in channel_remove()
256 while (ch && (strncmp(ch->id, id, CTCM_ID_SIZE) || (ch->type != type))) in channel_get()
1374 snprintf(ch->id, CTCM_ID_SIZE, "ch-%s", dev_name(&cdev->dev)); in add_channel()
1457 if (*c && (!strncmp((*c)->id, ch->id, CTCM_ID_SIZE))) { in add_channel()
1515 char read_id[CTCM_ID_SIZE]; in ctcm_new_device()
1516 char write_id[CTCM_ID_SIZE]; in ctcm_new_device()
1534 snprintf(read_id, CTCM_ID_SIZE, "ch-%s", dev_name(&cdev0->dev)); in ctcm_new_device()
1535 snprintf(write_id, CTCM_ID_SIZE, "ch-%s", dev_name(&cdev1->dev)); in ctcm_new_device()