Searched refs:safe_strncpy (Results 1 – 2 of 2) sorted by relevance
52 static inline char *safe_strncpy(char *dst, const char *src, size_t size) in safe_strncpy() function
1617 safe_strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in get_driver_name()1624 safe_strncpy(drvname, drv.driver, sizeof(drvname)); in get_driver_name()1650 safe_strncpy(ifr.ifr_name, ifname, sizeof(ifr.ifr_name)); in get_mac_addr()