Home
last modified time | relevance | path

Searched refs:newn (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/security/selinux/ss/
Dconditional.c646 struct cond_node *newn = &newp->cond_list[i]; in duplicate_policydb_cond_list() local
651 newn->cur_state = orign->cur_state; in duplicate_policydb_cond_list()
652 newn->expr.nodes = kmemdup(orign->expr.nodes, in duplicate_policydb_cond_list()
655 if (!newn->expr.nodes) in duplicate_policydb_cond_list()
658 newn->expr.len = orign->expr.len; in duplicate_policydb_cond_list()
660 rc = cond_dup_av_list(&newn->true_list, &orign->true_list, in duplicate_policydb_cond_list()
665 rc = cond_dup_av_list(&newn->false_list, &orign->false_list, in duplicate_policydb_cond_list()
/linux-6.1.9/fs/gfs2/
Drgrp.c866 struct rb_node **newn = &sdp->sd_rindex_tree.rb_node, *parent = NULL; in rgd_insert() local
869 while (*newn) { in rgd_insert()
870 struct gfs2_rgrpd *cur = rb_entry(*newn, struct gfs2_rgrpd, in rgd_insert()
873 parent = *newn; in rgd_insert()
875 newn = &((*newn)->rb_left); in rgd_insert()
877 newn = &((*newn)->rb_right); in rgd_insert()
882 rb_link_node(&rgd->rd_node, parent, newn); in rgd_insert()
1490 struct rb_node **newn, *parent = NULL; in rs_insert() local
1498 newn = &rgd->rd_rstree.rb_node; in rs_insert()
1499 while (*newn) { in rs_insert()
[all …]
/linux-6.1.9/scripts/dtc/libfdt/
Dfdt_rw.c71 int oldn, int newn) in fdt_splice_mem_rsv_() argument
73 int delta = (newn - oldn) * sizeof(*p); in fdt_splice_mem_rsv_()
75 err = fdt_splice_(fdt, p, oldn * sizeof(*p), newn * sizeof(*p)); in fdt_splice_mem_rsv_()
/linux-6.1.9/drivers/platform/x86/
Dthinkpad_acpi.c2327 oldn->__member != newn->__member) \
2370 struct tp_nvram_state *newn, in hotkey_compare_and_issue_event() argument
2400 if (newn->mute) { in hotkey_compare_and_issue_event()
2403 oldn->volume_toggle != newn->volume_toggle || in hotkey_compare_and_issue_event()
2404 oldn->volume_level != newn->volume_level) { in hotkey_compare_and_issue_event()
2407 issue_volchange(oldn->volume_level, newn->volume_level, in hotkey_compare_and_issue_event()
2417 if (oldn->volume_level != newn->volume_level) { in hotkey_compare_and_issue_event()
2418 issue_volchange(oldn->volume_level, newn->volume_level, in hotkey_compare_and_issue_event()
2420 } else if (oldn->volume_toggle != newn->volume_toggle) { in hotkey_compare_and_issue_event()
2422 if (newn->volume_level == 0) in hotkey_compare_and_issue_event()
[all …]
/linux-6.1.9/drivers/block/aoe/
Daoecmd.c1414 ulong oldn, newn; in grow_targets() local
1418 newn = oldn * 2; in grow_targets()
1419 tt = kcalloc(newn, sizeof(*d->targets), GFP_ATOMIC); in grow_targets()
1426 d->ntargets = newn; in grow_targets()
/linux-6.1.9/fs/dlm/
Dlock.c479 struct rb_node **newn = &tree->rb_node; in rsb_insert() local
483 while (*newn) { in rsb_insert()
484 struct dlm_rsb *cur = rb_entry(*newn, struct dlm_rsb, in rsb_insert()
487 parent = *newn; in rsb_insert()
490 newn = &parent->rb_left; in rsb_insert()
492 newn = &parent->rb_right; in rsb_insert()
501 rb_link_node(&rsb->res_hashnode, parent, newn); in rsb_insert()