Searched refs:ibdev_name (Results 1 – 3 of 3) sorted by relevance
/third_party/selinux/libsepol/src/ |
D | ibendport_record.c | 14 char *ibdev_name; member 25 char *ibdev_name; member 33 char **ibdev_name) in sepol_ibendport_alloc_ibdev_name() argument 35 *ibdev_name = calloc(1, IB_DEVICE_NAME_MAX); in sepol_ibendport_alloc_ibdev_name() 37 if (!*ibdev_name) in sepol_ibendport_alloc_ibdev_name() 50 const char *ibdev_name, in sepol_ibendport_key_create() argument 62 if (sepol_ibendport_alloc_ibdev_name(handle, &tmp_key->ibdev_name) < 0) in sepol_ibendport_key_create() 65 strncpy(tmp_key->ibdev_name, ibdev_name, IB_DEVICE_NAME_MAX - 1); in sepol_ibendport_key_create() 77 ibdev_name, port); in sepol_ibendport_key_create() 83 const char **ibdev_name, int *port) in sepol_ibendport_key_unpack() argument [all …]
|
D | ibendports.c | 21 char *ibdev_name = NULL; in ibendport_from_record() local 34 &ibdev_name) < 0) in ibendport_from_record() 37 strncpy(tmp_ibendport->u.ibendport.dev_name, ibdev_name, IB_DEVICE_NAME_MAX - 1); in ibendport_from_record() 39 free(ibdev_name); in ibendport_from_record() 40 ibdev_name = NULL; in ibendport_from_record() 66 free(ibdev_name); in ibendport_from_record() 133 const char *ibdev_name; in sepol_ibendport_exists() local 135 sepol_ibendport_key_unpack(key, &ibdev_name, &port); in sepol_ibendport_exists() 143 (!strcmp(ibdev_name, ibdev_name2))) { in sepol_ibendport_exists() 161 const char *ibdev_name; in sepol_ibendport_query() local [all …]
|
/third_party/selinux/libsepol/include/sepol/ |
D | ibendport_record.h | 24 const char *ibdev_name, 29 const char **ibdev_name, 33 char **ibdev_name); 47 char **ibdev_name); 51 const char *ibdev_name);
|