Searched refs:cmax (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/pci/ |
D | probe.c | 1300 unsigned int cmax, buses; in pci_scan_bridge_extend() local 1326 cmax = pci_scan_child_bus_extend(child, buses); in pci_scan_bridge_extend() 1327 if (cmax > subordinate) in pci_scan_bridge_extend() 1329 subordinate, cmax); in pci_scan_bridge_extend() 2872 unsigned int devfn, cmax, max = start; in pci_scan_child_bus_extend() local 2913 cmax = max; in pci_scan_child_bus_extend() 2921 if (max - cmax > 1) in pci_scan_child_bus_extend() 2922 used_buses += max - cmax - 1; in pci_scan_child_bus_extend() 2946 cmax = max; in pci_scan_child_bus_extend() 2947 max = pci_scan_bridge_extend(bus, dev, cmax, buses, 1); in pci_scan_child_bus_extend() [all …]
|
/linux-6.1.9/net/ipv6/ |
D | sit.c | 307 unsigned int cmax, c = 0, ca, len; in ipip6_tunnel_get_prl() local 315 cmax = kprl.datalen / sizeof(kprl); in ipip6_tunnel_get_prl() 316 if (cmax > 1 && kprl.addr != htonl(INADDR_ANY)) in ipip6_tunnel_get_prl() 317 cmax = 1; in ipip6_tunnel_get_prl() 322 kp = (cmax <= 1 || capable(CAP_NET_ADMIN)) ? in ipip6_tunnel_get_prl() 323 kcalloc(cmax, sizeof(*kp), GFP_KERNEL_ACCOUNT | __GFP_NOWARN) : in ipip6_tunnel_get_prl() 326 ca = min(t->prl_count, cmax); in ipip6_tunnel_get_prl() 344 if (c >= cmax) in ipip6_tunnel_get_prl()
|
/linux-6.1.9/drivers/s390/scsi/ |
D | zfcp_sysfs.c | 553 unsigned long long fsum, fmin, fmax, csum, cmin, cmax, cc; \ 561 cmax = lat->_name.channel.max * adapter->timer_ticks; \ 570 do_div(cmax, 1000); \ 573 fmin, fmax, fsum, cmin, cmax, csum, cc); \
|
/linux-6.1.9/drivers/regulator/ |
D | core.c | 1245 int cmax = constraints->max_uV; in machine_constraints_voltage() local 1252 cmax = INT_MAX; in machine_constraints_voltage() 1254 constraints->max_uV = cmax; in machine_constraints_voltage() 1258 if ((cmin == 0) && (cmax == 0)) in machine_constraints_voltage() 1262 if (cmin <= 0 || cmax <= 0 || cmax < cmin) { in machine_constraints_voltage() 1282 if (value <= cmax && value > max_uV) in machine_constraints_voltage()
|