Searched refs:gid_op (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/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-6.1.9/security/integrity/ima/ |
D | ima_policy.c | 87 bool (*gid_op)(kgid_t cred_gid, kgid_t rule_gid); member 591 if ((rule->flags & IMA_GID) && !rule->gid_op(cred->gid, rule->gid)) in ima_match_rules() 595 if (!rule->gid_op(cred->egid, rule->gid) in ima_match_rules() 596 && !rule->gid_op(cred->sgid, rule->gid) in ima_match_rules() 597 && !rule->gid_op(cred->gid, rule->gid)) in ima_match_rules() 599 } else if (!rule->gid_op(cred->egid, rule->gid)) in ima_match_rules() 1392 entry->gid_op = &gid_eq; in ima_parse_rule() 1638 entry->gid_op = &gid_gt; in ima_parse_rule() 1643 entry->gid_op = &gid_lt; in ima_parse_rule() 2151 if (entry->gid_op == &gid_gt) in ima_policy_show() [all …]
|