Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/security/selinux/ss/
H A 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 = kcalloc(orign->expr.len, in duplicate_policydb_cond_list()
653 sizeof(*newn->expr.nodes), GFP_KERNEL); in duplicate_policydb_cond_list()
654 if (!newn->expr.nodes) in duplicate_policydb_cond_list()
657 newn->expr.nodes[j] = orign->expr.nodes[j]; 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()
/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86Option.c658 char *n, *newn; in ParseOptionValue() local
667 newn = n + 2; in ParseOptionValue()
675 newn = n; in ParseOptionValue()
677 if ((s = xf86findOptionValue(options, newn)) != NULL) { in ParseOptionValue()
679 xf86MarkOptionUsedByName(options, newn); in ParseOptionValue()
686 "Option \"%s\" requires a boolean value\n", newn); in ParseOptionValue()
694 xf86DrvMsgVerb(scrnIndex, X_CONFIG, 2, "Option \"%s\"", newn); in ParseOptionValue()
/OK3568_Linux_fs/kernel/fs/gfs2/
H A Drgrp.c850 struct rb_node **newn = &sdp->sd_rindex_tree.rb_node, *parent = NULL; in rgd_insert() local
853 while (*newn) { in rgd_insert()
854 struct gfs2_rgrpd *cur = rb_entry(*newn, struct gfs2_rgrpd, in rgd_insert()
857 parent = *newn; in rgd_insert()
859 newn = &((*newn)->rb_left); in rgd_insert()
861 newn = &((*newn)->rb_right); in rgd_insert()
866 rb_link_node(&rgd->rd_node, parent, newn); in rgd_insert()
1461 struct rb_node **newn, *parent = NULL; in rs_insert() local
1470 newn = &rgd->rd_rstree.rb_node; in rs_insert()
1471 while (*newn) { in rs_insert()
[all …]
/OK3568_Linux_fs/external/xserver/hw/xwin/
H A Dwinconfig.c897 char *n, *newn; in ParseOptionValue() local
906 newn = n + 2; in ParseOptionValue()
917 newn = n; in ParseOptionValue()
919 if ((s = winFindOptionValue(options, newn)) != NULL) { in ParseOptionValue()
926 "Option \"%s\" requires a boolean value\n", newn); in ParseOptionValue()
934 winDrvMsgVerb(scrnIndex, X_CONFIG, 2, "Option \"%s\"", newn); in ParseOptionValue()
/OK3568_Linux_fs/kernel/scripts/dtc/libfdt/
H A 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_()
/OK3568_Linux_fs/u-boot/scripts/dtc/libfdt/
H A Dfdt_rw.c113 int oldn, int newn) in _fdt_splice_mem_rsv() argument
115 int delta = (newn - oldn) * sizeof(*p); in _fdt_splice_mem_rsv()
117 err = _fdt_splice(fdt, p, oldn * sizeof(*p), newn * sizeof(*p)); in _fdt_splice_mem_rsv()
/OK3568_Linux_fs/kernel/drivers/platform/x86/
H A Dthinkpad_acpi.c2439 oldn->__member != newn->__member) \
2482 struct tp_nvram_state *newn, in hotkey_compare_and_issue_event() argument
2512 if (newn->mute) { in hotkey_compare_and_issue_event()
2515 oldn->volume_toggle != newn->volume_toggle || in hotkey_compare_and_issue_event()
2516 oldn->volume_level != newn->volume_level) { in hotkey_compare_and_issue_event()
2519 issue_volchange(oldn->volume_level, newn->volume_level, in hotkey_compare_and_issue_event()
2529 if (oldn->volume_level != newn->volume_level) { in hotkey_compare_and_issue_event()
2530 issue_volchange(oldn->volume_level, newn->volume_level, in hotkey_compare_and_issue_event()
2532 } else if (oldn->volume_toggle != newn->volume_toggle) { in hotkey_compare_and_issue_event()
2534 if (newn->volume_level == 0) in hotkey_compare_and_issue_event()
[all …]
/OK3568_Linux_fs/kernel/drivers/block/aoe/
H A Daoecmd.c1422 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()
/OK3568_Linux_fs/kernel/fs/dlm/
H A Dlock.c472 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()