Searched refs:name_copy (Results 1 – 2 of 2) sorted by relevance
235 char name_copy[TIPC_MAX_BEARER_NAME]; in bearer_name_validate() local243 name_copy[TIPC_MAX_BEARER_NAME - 1] = 0; in bearer_name_validate()245 strncpy(name_copy, name, TIPC_MAX_BEARER_NAME); in bearer_name_validate()246 if (name_copy[TIPC_MAX_BEARER_NAME - 1] != 0) in bearer_name_validate()251 media_name = name_copy; in bearer_name_validate()
168 char name_copy[TIPC_MAX_LINK_NAME]; in link_name_validate() local181 name_copy[TIPC_MAX_LINK_NAME - 1] = 0; in link_name_validate()183 strncpy(name_copy, name, TIPC_MAX_LINK_NAME); in link_name_validate()184 if (name_copy[TIPC_MAX_LINK_NAME - 1] != 0) in link_name_validate()189 addr_local = name_copy; in link_name_validate()