Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/s390/net/
Dctcm_sysfs.c38 unsigned int bs1; in ctcm_buffer_write() local
49 rc = kstrtouint(buf, 0, &bs1); in ctcm_buffer_write()
52 if (bs1 > CTCM_BUFSIZE_LIMIT) in ctcm_buffer_write()
54 if (bs1 < (576 + LL_HEADER_LENGTH + 2)) in ctcm_buffer_write()
56 priv->buffer_size = bs1; /* just to overwrite the default */ in ctcm_buffer_write()
59 (bs1 < (ndev->mtu + LL_HEADER_LENGTH + 2))) in ctcm_buffer_write()
62 priv->channel[CTCM_READ]->max_bufsize = bs1; in ctcm_buffer_write()
63 priv->channel[CTCM_WRITE]->max_bufsize = bs1; in ctcm_buffer_write()
65 ndev->mtu = bs1 - LL_HEADER_LENGTH - 2; in ctcm_buffer_write()
Dnetiucv.c1522 unsigned int bs1; in buffer_write() local
1529 rc = kstrtouint(buf, 0, &bs1); in buffer_write()
1536 if ((rc == -ERANGE) || (bs1 > NETIUCV_BUFSIZE_MAX)) { in buffer_write()
1539 bs1); in buffer_write()
1543 (bs1 < (ndev->mtu + NETIUCV_HDRLEN + 2))) { in buffer_write()
1546 bs1); in buffer_write()
1549 if (bs1 < (576 + NETIUCV_HDRLEN + NETIUCV_HDRLEN)) { in buffer_write()
1552 bs1); in buffer_write()
1556 priv->conn->max_buffsize = bs1; in buffer_write()
1558 ndev->mtu = bs1 - NETIUCV_HDRLEN - NETIUCV_HDRLEN; in buffer_write()