Searched refs:lvl (Results 1 – 4 of 4) sorted by relevance
/net/netlabel/ |
D | netlabel_cipso_v4.c | 191 doi_def->map.std->lvl.local_size) in netlbl_cipsov4_add_std() 192 doi_def->map.std->lvl.local_size = in netlbl_cipsov4_add_std() 200 doi_def->map.std->lvl.cipso_size) in netlbl_cipsov4_add_std() 201 doi_def->map.std->lvl.cipso_size = in netlbl_cipsov4_add_std() 206 doi_def->map.std->lvl.local = kcalloc(doi_def->map.std->lvl.local_size, in netlbl_cipsov4_add_std() 209 if (doi_def->map.std->lvl.local == NULL) { in netlbl_cipsov4_add_std() 213 doi_def->map.std->lvl.cipso = kcalloc(doi_def->map.std->lvl.cipso_size, in netlbl_cipsov4_add_std() 216 if (doi_def->map.std->lvl.cipso == NULL) { in netlbl_cipsov4_add_std() 220 for (iter = 0; iter < doi_def->map.std->lvl.local_size; iter++) in netlbl_cipsov4_add_std() 221 doi_def->map.std->lvl.local[iter] = CIPSO_V4_INV_LVL; in netlbl_cipsov4_add_std() [all …]
|
/net/ipv4/ |
D | cipso_ipv4.c | 553 kfree(doi_def->map.std->lvl.cipso); in cipso_v4_doi_free() 554 kfree(doi_def->map.std->lvl.local); in cipso_v4_doi_free() 738 if (doi_def->map.std->lvl.cipso[level] < CIPSO_V4_INV_LVL) in cipso_v4_map_lvl_valid() 767 if (host_lvl < doi_def->map.std->lvl.local_size && in cipso_v4_map_lvl_hton() 768 doi_def->map.std->lvl.local[host_lvl] < CIPSO_V4_INV_LVL) { in cipso_v4_map_lvl_hton() 769 *net_lvl = doi_def->map.std->lvl.local[host_lvl]; in cipso_v4_map_lvl_hton() 802 if (net_lvl < map_tbl->lvl.cipso_size && in cipso_v4_map_lvl_ntoh() 803 map_tbl->lvl.cipso[net_lvl] < CIPSO_V4_INV_LVL) { in cipso_v4_map_lvl_ntoh() 804 *host_lvl = doi_def->map.std->lvl.cipso[net_lvl]; in cipso_v4_map_lvl_ntoh() 1276 secattr->attr.mls.lvl, in cipso_v4_gentag_rbm() [all …]
|
/net/caif/ |
D | caif_socket.c | 677 int lvl, int opt, char __user *ov, unsigned int ol) in setsockopt() argument 690 if (lvl != SOL_CAIF) in setsockopt() 700 if (lvl != SOL_CAIF) in setsockopt()
|
/net/tipc/ |
D | socket.c | 2552 static int tipc_setsockopt(struct socket *sock, int lvl, int opt, in tipc_setsockopt() argument 2560 if ((lvl == IPPROTO_TCP) && (sock->type == SOCK_STREAM)) in tipc_setsockopt() 2562 if (lvl != SOL_TIPC) in tipc_setsockopt() 2611 static int tipc_getsockopt(struct socket *sock, int lvl, int opt, in tipc_getsockopt() argument 2620 if ((lvl == IPPROTO_TCP) && (sock->type == SOCK_STREAM)) in tipc_getsockopt() 2622 if (lvl != SOL_TIPC) in tipc_getsockopt()
|