Home
last modified time | relevance | path

Searched refs:IB_DEVICE_NAME_MAX (Results 1 – 5 of 5) sorted by relevance

/third_party/selinux/libsepol/src/
Dibendport_record.c35 *ibdev_name = calloc(1, IB_DEVICE_NAME_MAX); in sepol_ibendport_alloc_ibdev_name()
65 strncpy(tmp_key->ibdev_name, ibdev_name, IB_DEVICE_NAME_MAX - 1); in sepol_ibendport_key_create()
169 strncpy(tmp_ibdev_name, ibendport->ibdev_name, IB_DEVICE_NAME_MAX - 1); in sepol_ibendport_get_ibdev_name()
189 strncpy(tmp, ibdev_name, IB_DEVICE_NAME_MAX - 1); in sepol_ibendport_set_ibdev_name()
233 strncpy(new_ibendport->ibdev_name, ibendport->ibdev_name, IB_DEVICE_NAME_MAX - 1); in sepol_ibendport_clone()
Dibendports.c37 strncpy(tmp_ibendport->u.ibendport.dev_name, ibdev_name, IB_DEVICE_NAME_MAX - 1); in ibendport_from_record()
Dpolicydb.c3052 if (len == 0 || len > IB_DEVICE_NAME_MAX - 1) in ocontext_read_selinux()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h76 #define IB_DEVICE_NAME_MAX 64 macro
/third_party/selinux/checkpolicy/
Dpolicy_define.c5141 if (strlen(newc->u.ibendport.dev_name) > IB_DEVICE_NAME_MAX - 1) { in define_ibendport_context()