Home
last modified time | relevance | path

Searched refs:old_num (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/pinctrl/
Dpinctrl-utils.c35 unsigned old_num = *reserved_maps; in pinctrl_utils_reserve_map() local
39 if (old_num >= new_num) in pinctrl_utils_reserve_map()
48 memset(new_map + old_num, 0, (new_num - old_num) * sizeof(*new_map)); in pinctrl_utils_reserve_map()
103 unsigned old_num = *num_configs; in pinctrl_utils_add_config() local
104 unsigned new_num = old_num + 1; in pinctrl_utils_add_config()
114 new_configs[old_num] = config; in pinctrl_utils_add_config()
/linux-5.19.10/net/core/
Dnet-sysfs.h8 int net_rx_queue_update_kobjects(struct net_device *, int old_num, int new_num);
10 int old_num, int new_num);
Dnet-sysfs.c1103 net_rx_queue_update_kobjects(struct net_device *dev, int old_num, int new_num) in net_rx_queue_update_kobjects() argument
1113 for (i = old_num; i < new_num; i++) { in net_rx_queue_update_kobjects()
1116 new_num = old_num; in net_rx_queue_update_kobjects()
1704 netdev_queue_update_kobjects(struct net_device *dev, int old_num, int new_num) in netdev_queue_update_kobjects() argument
1714 WARN(dev->reg_state == NETREG_UNREGISTERING && new_num > old_num, in netdev_queue_update_kobjects()
1717 for (i = old_num; i < new_num; i++) { in netdev_queue_update_kobjects()
1720 new_num = old_num; in netdev_queue_update_kobjects()
/linux-5.19.10/drivers/pinctrl/samsung/
Dpinctrl-samsung.c83 unsigned old_num = *reserved_maps; in reserve_map() local
87 if (old_num >= new_num) in reserve_map()
94 memset(new_map + old_num, 0, (new_num - old_num) * sizeof(*new_map)); in reserve_map()
144 unsigned old_num = *num_configs; in add_config() local
145 unsigned new_num = old_num + 1; in add_config()
153 new_configs[old_num] = config; in add_config()