Searched refs:cmax (Results 1 - 4 of 4) sorted by relevance
/linux-4.1.27/drivers/s390/scsi/ |
H A D | zfcp_sysfs.c | 385 unsigned long long fsum, fmin, fmax, csum, cmin, cmax, cc; \ 393 cmax = lat->_name.channel.max * adapter->timer_ticks; \ 402 do_div(cmax, 1000); \ 405 fmin, fmax, fsum, cmin, cmax, csum, cc); \
|
/linux-4.1.27/net/ipv6/ |
H A D | sit.c | 295 unsigned int cmax, c = 0, ca, len; ipip6_tunnel_get_prl() local 300 cmax = kprl.datalen / sizeof(kprl); ipip6_tunnel_get_prl() 301 if (cmax > 1 && kprl.addr != htonl(INADDR_ANY)) ipip6_tunnel_get_prl() 302 cmax = 1; ipip6_tunnel_get_prl() 307 kp = (cmax <= 1 || capable(CAP_NET_ADMIN)) ? ipip6_tunnel_get_prl() 308 kcalloc(cmax, sizeof(*kp), GFP_KERNEL) : ipip6_tunnel_get_prl() 313 ca = t->prl_count < cmax ? t->prl_count : cmax; ipip6_tunnel_get_prl() 330 if (c >= cmax) ipip6_tunnel_get_prl()
|
/linux-4.1.27/drivers/pci/ |
H A D | probe.c | 808 unsigned int cmax; pci_scan_bridge() local 832 cmax = pci_scan_child_bus(child); pci_scan_bridge() 833 if (cmax > subordinate) pci_scan_bridge() 835 subordinate, cmax); pci_scan_bridge()
|
/linux-4.1.27/drivers/regulator/ |
H A D | core.c | 888 int cmax = constraints->max_uV; machine_constraints_voltage() local 894 cmax = INT_MAX; machine_constraints_voltage() 896 constraints->max_uV = cmax; machine_constraints_voltage() 900 if ((cmin == 0) && (cmax == 0)) machine_constraints_voltage() 904 if (cmin <= 0 || cmax <= 0 || cmax < cmin) { machine_constraints_voltage() 909 /* initial: [cmin..cmax] valid, [min_uV..max_uV] not */ machine_constraints_voltage() 920 if (value <= cmax && value > max_uV) machine_constraints_voltage()
|
Completed in 206 milliseconds