Searched refs:rce (Results 1 – 4 of 4) sorted by relevance
79 struct rmtacl_ctl_entry *rce; in rce_alloc() local81 rce = kzalloc(sizeof(*rce), GFP_NOFS); in rce_alloc()82 if (!rce) in rce_alloc()85 INIT_LIST_HEAD(&rce->rce_list); in rce_alloc()86 rce->rce_key = key; in rce_alloc()87 rce->rce_ops = ops; in rce_alloc()89 return rce; in rce_alloc()92 static void rce_free(struct rmtacl_ctl_entry *rce) in rce_free() argument94 if (!list_empty(&rce->rce_list)) in rce_free()95 list_del(&rce->rce_list); in rce_free()[all …]
115 struct rmtacl_ctl_entry *rce = NULL; in ll_setxattr_common() local150 rce = rct_search(&sbi->ll_rct, current_pid()); in ll_setxattr_common()151 if (rce == NULL || in ll_setxattr_common()152 (rce->rce_ops != RMT_LSETFACL && in ll_setxattr_common()153 rce->rce_ops != RMT_RSETFACL)) in ll_setxattr_common()156 if (rce->rce_ops == RMT_LSETFACL) { in ll_setxattr_common()176 } else if (rce->rce_ops == RMT_RSETFACL) { in ll_setxattr_common()188 valid |= rce_ops2valid(rce->rce_ops); in ll_setxattr_common()290 struct rmtacl_ctl_entry *rce = NULL; in ll_getxattr_common() local324 rce = rct_search(&sbi->ll_rct, current_pid()); in ll_getxattr_common()[all …]
480 struct of_changeset_entry *rce) in __of_changeset_entry_invert() argument482 memcpy(rce, ce, sizeof(*rce)); in __of_changeset_entry_invert()486 rce->action = OF_RECONFIG_DETACH_NODE; in __of_changeset_entry_invert()489 rce->action = OF_RECONFIG_ATTACH_NODE; in __of_changeset_entry_invert()492 rce->action = OF_RECONFIG_REMOVE_PROPERTY; in __of_changeset_entry_invert()495 rce->action = OF_RECONFIG_ADD_PROPERTY; in __of_changeset_entry_invert()498 rce->old_prop = ce->prop; in __of_changeset_entry_invert()499 rce->prop = ce->old_prop; in __of_changeset_entry_invert()
1499 DS1685_RTC_SYSFS_CTRL_REG_RW(rce);