Searched refs:gid_op (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/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() 822 enum gid_op_type gid_op; in addr_event() local 829 gid_op = GID_ADD; in addr_event() 833 gid_op = GID_DEL; in addr_event() 847 work->gid_op = gid_op; in addr_event()
|
/Linux-v6.6/security/integrity/ima/ |
D | ima_policy.c | 111 bool (*gid_op)(kgid_t cred_gid, kgid_t rule_gid); member 615 if ((rule->flags & IMA_GID) && !rule->gid_op(cred->gid, rule->gid)) in ima_match_rules() 619 if (!rule->gid_op(cred->egid, rule->gid) in ima_match_rules() 620 && !rule->gid_op(cred->sgid, rule->gid) in ima_match_rules() 621 && !rule->gid_op(cred->gid, rule->gid)) in ima_match_rules() 623 } else if (!rule->gid_op(cred->egid, rule->gid)) in ima_match_rules() 1421 entry->gid_op = &gid_eq; in ima_parse_rule() 1669 entry->gid_op = &gid_gt; in ima_parse_rule() 1674 entry->gid_op = &gid_lt; in ima_parse_rule() 2178 if (entry->gid_op == &gid_gt) in ima_policy_show() [all …]
|