Searched refs:IB_DEVICE_NAME_MAX (Results 1 – 5 of 5) sorted by relevance
/third_party/selinux/libsepol/src/ |
D | ibendport_record.c | 35 *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()
|
D | ibendports.c | 37 strncpy(tmp_ibendport->u.ibendport.dev_name, ibdev_name, IB_DEVICE_NAME_MAX - 1); in ibendport_from_record()
|
D | policydb.c | 3052 if (len == 0 || len > IB_DEVICE_NAME_MAX - 1) in ocontext_read_selinux()
|
/third_party/selinux/libsepol/include/sepol/policydb/ |
D | policydb.h | 76 #define IB_DEVICE_NAME_MAX 64 macro
|
/third_party/selinux/checkpolicy/ |
D | policy_define.c | 5141 if (strlen(newc->u.ibendport.dev_name) > IB_DEVICE_NAME_MAX - 1) { in define_ibendport_context()
|