Searched refs:gid_op (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/infiniband/core/ |
D | roce_gid_mgmt.c | 56 enum gid_op_type gid_op; member 98 static void update_gid(enum gid_op_type gid_op, struct ib_device *ib_dev, in update_gid() argument 108 switch (gid_op) { in update_gid() 282 static void update_gid_ip(enum gid_op_type gid_op, in update_gid_ip() argument 294 update_gid(gid_op, ib_dev, port, &gid, &gid_attr); in update_gid_ip() 525 return update_gid(parsed->gid_op, device, in callback_for_addr_gid_device_scan() 821 enum gid_op_type gid_op; in addr_event() local 828 gid_op = GID_ADD; in addr_event() 832 gid_op = GID_DEL; in addr_event() 846 work->gid_op = gid_op; in addr_event()
|
/linux-6.12.1/security/integrity/ima/ |
D | ima_policy.c | 111 bool (*gid_op)(kgid_t cred_gid, kgid_t rule_gid); member 617 if ((rule->flags & IMA_GID) && !rule->gid_op(cred->gid, rule->gid)) in ima_match_rules() 621 if (!rule->gid_op(cred->egid, rule->gid) in ima_match_rules() 622 && !rule->gid_op(cred->sgid, rule->gid) in ima_match_rules() 623 && !rule->gid_op(cred->gid, rule->gid)) in ima_match_rules() 625 } else if (!rule->gid_op(cred->egid, rule->gid)) in ima_match_rules() 1424 entry->gid_op = &gid_eq; in ima_parse_rule() 1672 entry->gid_op = &gid_gt; in ima_parse_rule() 1677 entry->gid_op = &gid_lt; in ima_parse_rule() 2181 if (entry->gid_op == &gid_gt) in ima_policy_show() [all …]
|