/openbmc/linux/security/safesetid/ |
H A D | lsm.c | 147 static bool id_permitted_for_cred(const struct cred *old, kid_t new_id, enum setid_type new_type) in id_permitted_for_cred() argument 153 if (uid_eq(new_id.uid, old->uid) || uid_eq(new_id.uid, old->euid) || in id_permitted_for_cred() 154 uid_eq(new_id.uid, old->suid)) in id_permitted_for_cred() 157 if (gid_eq(new_id.gid, old->gid) || gid_eq(new_id.gid, old->egid) || in id_permitted_for_cred() 158 gid_eq(new_id.gid, old->sgid)) in id_permitted_for_cred() 168 setid_policy_lookup((kid_t){.uid = old->uid}, new_id, new_type) != SIDPOL_CONSTRAINED; in id_permitted_for_cred() 174 __kuid_val(old->suid), __kuid_val(new_id.uid)); in id_permitted_for_cred() 178 __kgid_val(old->sgid), __kgid_val(new_id.gid)); in id_permitted_for_cred()
|
/openbmc/linux/drivers/gpu/drm/i915/gvt/ |
H A D | trace.h | 347 TP_PROTO(int old_id, int new_id, char *action, unsigned int reg, 350 TP_ARGS(old_id, new_id, action, reg, old_val, new_val), 354 __field(int, new_id) 363 __entry->new_id = new_id; 371 __entry->old_id, __entry->new_id,
|
/openbmc/linux/drivers/macintosh/ |
H A D | adb.c | 555 static int try_handler_change(int address, int new_id) in try_handler_change() argument 559 if (adb_handler[address].handler_id == new_id) in try_handler_change() 562 ADB_WRITEREG(address, 3), address | 0x20, new_id); in try_handler_change() 567 if (req.reply[2] != new_id) in try_handler_change() 575 adb_try_handler_change(int address, int new_id) in adb_try_handler_change() argument 580 ret = try_handler_change(address, new_id); in adb_try_handler_change() 583 pr_debug("adb handler change: [%d] 0x%X\n", address, new_id); in adb_try_handler_change()
|
/openbmc/linux/Documentation/pcmcia/ |
H A D | driver.rst | 13 /sys/bus/pcmcia/drivers/{driver}/new_id 28 /sys/bus/pcmcia/drivers/{driver}/new_id
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_hii.c | 862 efi_string_id_t new_id; in new_string() local 866 new_id = ++hii->max_string_id; in new_string() 867 if (stbl->nstrings < new_id) { in new_string() 870 * new_id); in new_string() 875 (new_id - stbl->nstrings) in new_string() 878 stbl->nstrings = new_id; in new_string() 885 stbl->strings[new_id - 1].string = str; in new_string() 886 *string_id = new_id; in new_string()
|
/openbmc/linux/include/linux/ |
H A D | adb.h | 64 int adb_try_handler_change(int address, int new_id);
|
/openbmc/linux/tools/lib/bpf/ |
H A D | btf.c | 3748 __u32 new_id = type_id; in btf_dedup_prim_type() local 3775 new_id = cand_id; in btf_dedup_prim_type() 3788 new_id = cand_id; in btf_dedup_prim_type() 3794 new_id = cand_id; in btf_dedup_prim_type() 3810 new_id = cand_id; in btf_dedup_prim_type() 3820 d->map[type_id] = new_id; in btf_dedup_prim_type() 3821 if (type_id == new_id && btf_dedup_table_add(d, h, type_id)) in btf_dedup_prim_type() 4294 __u32 new_id = type_id; in btf_dedup_struct_type() local 4336 new_id = cand_id; in btf_dedup_struct_type() 4340 d->map[type_id] = new_id; in btf_dedup_struct_type() [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-usb | 31 What: /sys/bus/usb/drivers/.../new_id 48 # echo "8086 10f5" > /sys/bus/usb/drivers/foo/new_id 53 # echo "0458 7045 0 0458 704c" > /sys/bus/usb/drivers/foo/new_id 59 # cat /sys/bus/usb/drivers/foo/new_id 67 What: /sys/bus/usb-serial/drivers/.../new_id 74 "/sys/bus/usb/drivers/.../new_id" apply. 81 that was dynamically added via the new_id sysfs entry. 91 "/sys/bus/usb/drivers/.../new_id"
|
H A D | sysfs-bus-pci | 33 What: /sys/bus/pci/drivers/.../new_id 34 What: /sys/devices/pciX/.../new_id 50 # echo "8086 10f5" > /sys/bus/pci/drivers/foo/new_id 58 that was dynamically added via the new_id sysfs entry.
|
/openbmc/linux/arch/s390/kernel/ |
H A D | debug.c | 797 debug_info_t *new_id; in debug_set_size() local 803 new_id = debug_info_alloc("", pages_per_area, nr_areas, id->buf_size, in debug_set_size() 805 if (!new_id) { in debug_set_size() 812 debug_events_append(new_id, id); in debug_set_size() 813 debug_areas_swap(new_id, id); in debug_set_size() 814 debug_info_free(new_id); in debug_set_size()
|
/openbmc/linux/arch/x86/kernel/apic/ |
H A D | io_apic.c | 2575 u8 new_id; in io_apic_unique_id() local 2593 new_id = reg_00.bits.ID; in io_apic_unique_id() 2594 if (!test_bit(new_id, used)) { in io_apic_unique_id() 2597 idx, new_id, id); in io_apic_unique_id() 2598 return new_id; in io_apic_unique_id() 2604 new_id = find_first_zero_bit(used, 256); in io_apic_unique_id() 2605 reg_00.bits.ID = new_id; in io_apic_unique_id() 2611 BUG_ON(reg_00.bits.ID != new_id); in io_apic_unique_id() 2613 return new_id; in io_apic_unique_id()
|
/openbmc/linux/include/uapi/linux/ |
H A D | jffs2.h | 215 jint32_t new_id; member
|
/openbmc/linux/drivers/md/ |
H A D | dm-thin-metadata.h | 102 uint64_t new_id);
|
/openbmc/linux/drivers/usb/serial/ |
H A D | bus.c | 127 static DRIVER_ATTR_RW(new_id);
|
/openbmc/openbmc/meta-raspberrypi/recipes-graphics/userland/files/ |
H A D | 0012-implement-buffer-wrapping-interface-for-dispmanx.patch | 81 + <arg name="id" type="new_id" interface="wl_buffer"/>
|
/openbmc/linux/drivers/iommu/iommufd/ |
H A D | io_pagetable.c | 1169 u32 new_id; in iopt_add_access() local 1174 rc = xa_alloc(&iopt->access_list, &new_id, access, xa_limit_16b, in iopt_add_access() 1182 xa_erase(&iopt->access_list, new_id); in iopt_add_access() 1185 access->iopt_access_list_id = new_id; in iopt_add_access()
|
/openbmc/linux/fs/jffs2/ |
H A D | nodelist.h | 322 jdev->new_id = cpu_to_je32(new_encode_dev(rdev)); in jffs2_encode_dev() 323 return sizeof(jdev->new_id); in jffs2_encode_dev()
|
H A D | fs.c | 328 f->metadata->size != sizeof(jdev.new_id)) { in jffs2_iget() 344 rdev = new_decode_dev(je32_to_cpu(jdev.new_id)); in jffs2_iget()
|
/openbmc/linux/arch/mips/alchemy/common/ |
H A D | dbdma.c | 223 static u16 new_id = 0x1000; in au1xxx_ddma_add_device() local 228 p->dev_id = DSCR_DEV2CUSTOM_ID(new_id, dev->dev_id); in au1xxx_ddma_add_device() 230 new_id++; in au1xxx_ddma_add_device()
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | gen.c | 2160 int new_id; in btfgen_get_btf() local 2184 new_id = err; in btfgen_get_btf() 2205 new_id = err; in btfgen_get_btf() 2209 ids[i] = new_id; in btfgen_get_btf()
|
/openbmc/linux/drivers/infiniband/ulp/srpt/ |
H A D | ib_srpt.c | 3728 struct rdma_cm_id *new_id = NULL; in srpt_rdma_cm_port_store() local 3741 new_id = srpt_create_rdma_id((struct sockaddr *)&addr6); in srpt_rdma_cm_port_store() 3742 if (IS_ERR(new_id)) { in srpt_rdma_cm_port_store() 3744 new_id = srpt_create_rdma_id((struct sockaddr *)&addr4); in srpt_rdma_cm_port_store() 3745 if (IS_ERR(new_id)) { in srpt_rdma_cm_port_store() 3746 ret = PTR_ERR(new_id); in srpt_rdma_cm_port_store() 3754 swap(rdma_cm_id, new_id); in srpt_rdma_cm_port_store() 3757 if (new_id) in srpt_rdma_cm_port_store() 3758 rdma_destroy_id(new_id); in srpt_rdma_cm_port_store()
|
/openbmc/linux/Documentation/translations/zh_CN/PCI/ |
H A D | pci.rst | 104 /sys/bus/pci/drivers/{driver}/new_id
|
/openbmc/linux/Documentation/admin-guide/media/ |
H A D | bt8xx.rst | 152 /sys/bus/pci/drivers/bt878/new_id
|
/openbmc/qemu/ |
H A D | blockdev.c | 947 char *new_id; in drive_new() local 953 new_id = g_strdup_printf("%s%i%s%i", if_name[type], bus_id, in drive_new() 956 new_id = g_strdup_printf("%s%s%i", if_name[type], in drive_new() 959 qdict_put_str(bs_opts, "id", new_id); in drive_new() 960 g_free(new_id); in drive_new()
|
/openbmc/linux/drivers/isdn/mISDN/ |
H A D | tei.c | 315 new_id(struct manager *mgr) in new_id() function 398 mISDN_HEAD_ID(skb) = new_id(mgr); in dl_unit_data() 447 skb = _alloc_mISDN_skb(PH_DATA_REQ, new_id(mgr), 8, bp, GFP_ATOMIC); in put_tei_msg()
|