Searched refs:newn (Results 1 – 6 of 6) sorted by relevance
/Linux-v5.10/security/selinux/ss/ |
D | conditional.c | 645 struct cond_node *newn = &newp->cond_list[i]; in duplicate_policydb_cond_list() local 650 newn->cur_state = orign->cur_state; in duplicate_policydb_cond_list() 651 newn->expr.nodes = kcalloc(orign->expr.len, in duplicate_policydb_cond_list() 652 sizeof(*newn->expr.nodes), GFP_KERNEL); in duplicate_policydb_cond_list() 653 if (!newn->expr.nodes) in duplicate_policydb_cond_list() 656 newn->expr.nodes[j] = orign->expr.nodes[j]; in duplicate_policydb_cond_list() 657 newn->expr.len = orign->expr.len; in duplicate_policydb_cond_list() 659 rc = cond_dup_av_list(&newn->true_list, &orign->true_list, in duplicate_policydb_cond_list() 664 rc = cond_dup_av_list(&newn->false_list, &orign->false_list, in duplicate_policydb_cond_list()
|
/Linux-v5.10/fs/gfs2/ |
D | rgrp.c | 849 struct rb_node **newn = &sdp->sd_rindex_tree.rb_node, *parent = NULL; in rgd_insert() local 852 while (*newn) { in rgd_insert() 853 struct gfs2_rgrpd *cur = rb_entry(*newn, struct gfs2_rgrpd, in rgd_insert() 856 parent = *newn; in rgd_insert() 858 newn = &((*newn)->rb_left); in rgd_insert() 860 newn = &((*newn)->rb_right); in rgd_insert() 865 rb_link_node(&rgd->rd_node, parent, newn); in rgd_insert() 1458 struct rb_node **newn, *parent = NULL; in rs_insert() local 1467 newn = &rgd->rd_rstree.rb_node; in rs_insert() 1468 while (*newn) { in rs_insert() [all …]
|
/Linux-v5.10/scripts/dtc/libfdt/ |
D | fdt_rw.c | 71 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-v5.10/drivers/platform/x86/ |
D | thinkpad_acpi.c | 2448 oldn->__member != newn->__member) \ 2491 struct tp_nvram_state *newn, in hotkey_compare_and_issue_event() argument 2521 if (newn->mute) { in hotkey_compare_and_issue_event() 2524 oldn->volume_toggle != newn->volume_toggle || in hotkey_compare_and_issue_event() 2525 oldn->volume_level != newn->volume_level) { in hotkey_compare_and_issue_event() 2528 issue_volchange(oldn->volume_level, newn->volume_level, in hotkey_compare_and_issue_event() 2538 if (oldn->volume_level != newn->volume_level) { in hotkey_compare_and_issue_event() 2539 issue_volchange(oldn->volume_level, newn->volume_level, in hotkey_compare_and_issue_event() 2541 } else if (oldn->volume_toggle != newn->volume_toggle) { in hotkey_compare_and_issue_event() 2543 if (newn->volume_level == 0) in hotkey_compare_and_issue_event() [all …]
|
/Linux-v5.10/drivers/block/aoe/ |
D | aoecmd.c | 1422 ulong oldn, newn; in grow_targets() local 1426 newn = oldn * 2; in grow_targets() 1427 tt = kcalloc(newn, sizeof(*d->targets), GFP_ATOMIC); in grow_targets() 1434 d->ntargets = newn; in grow_targets()
|
/Linux-v5.10/fs/dlm/ |
D | lock.c | 472 struct rb_node **newn = &tree->rb_node; in rsb_insert() local 476 while (*newn) { in rsb_insert() 477 struct dlm_rsb *cur = rb_entry(*newn, struct dlm_rsb, in rsb_insert() 480 parent = *newn; in rsb_insert() 483 newn = &parent->rb_left; in rsb_insert() 485 newn = &parent->rb_right; in rsb_insert() 494 rb_link_node(&rsb->res_hashnode, parent, newn); in rsb_insert()
|