Home
last modified time | relevance | path

Searched refs:new_id (Results 1 – 25 of 43) sorted by relevance

12

/Linux-v6.6/security/safesetid/
Dlsm.c147 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()
/Linux-v6.6/drivers/gpu/drm/i915/gvt/
Dtrace.h347 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,
/Linux-v6.6/drivers/macintosh/
Dadb.c555 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()
/Linux-v6.6/Documentation/pcmcia/
Ddriver.rst13 /sys/bus/pcmcia/drivers/{driver}/new_id
28 /sys/bus/pcmcia/drivers/{driver}/new_id
/Linux-v6.6/include/linux/
Dadb.h64 int adb_try_handler_change(int address, int new_id);
/Linux-v6.6/tools/lib/bpf/
Dbtf.c3748 __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 …]
Dlinker.c2221 int new_id = id_map[*type_id]; in remap_type_id() local
2224 if (new_id == 0 && *type_id != 0) { in remap_type_id()
2356 int new_id = obj->btf_type_map[src_var->type]; in linker_append_btf() local
2359 t = btf_type_by_id(linker->btf, new_id); in linker_append_btf()
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-bus-usb31 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"
Dsysfs-bus-pci33 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.
/Linux-v6.6/arch/s390/kernel/
Ddebug.c797 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()
/Linux-v6.6/arch/x86/kernel/apic/
Dio_apic.c2584 u8 new_id; in io_apic_unique_id() local
2602 new_id = reg_00.bits.ID; in io_apic_unique_id()
2603 if (!test_bit(new_id, used)) { in io_apic_unique_id()
2606 idx, new_id, id); in io_apic_unique_id()
2607 return new_id; in io_apic_unique_id()
2613 new_id = find_first_zero_bit(used, 256); in io_apic_unique_id()
2614 reg_00.bits.ID = new_id; in io_apic_unique_id()
2620 BUG_ON(reg_00.bits.ID != new_id); in io_apic_unique_id()
2622 return new_id; in io_apic_unique_id()
/Linux-v6.6/drivers/md/
Ddm-thin-metadata.h102 uint64_t new_id);
Ddm-thin-metadata.c1294 uint64_t new_id) in dm_pool_set_metadata_transaction_id() argument
1308 pmd->trans_id = new_id; in dm_pool_set_metadata_transaction_id()
/Linux-v6.6/include/uapi/linux/
Djffs2.h215 jint32_t new_id; member
/Linux-v6.6/drivers/usb/serial/
Dbus.c127 static DRIVER_ATTR_RW(new_id);
/Linux-v6.6/fs/jffs2/
Dnodelist.h322 jdev->new_id = cpu_to_je32(new_encode_dev(rdev)); in jffs2_encode_dev()
323 return sizeof(jdev->new_id); in jffs2_encode_dev()
Dfs.c328 f->metadata->size != sizeof(jdev.new_id)) { in jffs2_iget()
344 rdev = new_decode_dev(je32_to_cpu(jdev.new_id)); in jffs2_iget()
/Linux-v6.6/arch/mips/alchemy/common/
Ddbdma.c223 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()
/Linux-v6.6/tools/bpf/bpftool/
Dgen.c2157 int new_id; in btfgen_get_btf() local
2181 new_id = err; in btfgen_get_btf()
2202 new_id = err; in btfgen_get_btf()
2206 ids[i] = new_id; in btfgen_get_btf()
/Linux-v6.6/drivers/infiniband/ulp/srpt/
Dib_srpt.c3668 struct rdma_cm_id *new_id = NULL; in srpt_rdma_cm_port_store() local
3681 new_id = srpt_create_rdma_id((struct sockaddr *)&addr6); in srpt_rdma_cm_port_store()
3682 if (IS_ERR(new_id)) { in srpt_rdma_cm_port_store()
3684 new_id = srpt_create_rdma_id((struct sockaddr *)&addr4); in srpt_rdma_cm_port_store()
3685 if (IS_ERR(new_id)) { in srpt_rdma_cm_port_store()
3686 ret = PTR_ERR(new_id); in srpt_rdma_cm_port_store()
3694 swap(rdma_cm_id, new_id); in srpt_rdma_cm_port_store()
3697 if (new_id) in srpt_rdma_cm_port_store()
3698 rdma_destroy_id(new_id); in srpt_rdma_cm_port_store()
/Linux-v6.6/Documentation/translations/zh_CN/PCI/
Dpci.rst104 /sys/bus/pci/drivers/{driver}/new_id
/Linux-v6.6/Documentation/admin-guide/media/
Dbt8xx.rst152 /sys/bus/pci/drivers/bt878/new_id
/Linux-v6.6/drivers/isdn/mISDN/
Dtei.c315 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()
/Linux-v6.6/fs/nfsd/
Dnfs4state.c941 int new_id; in nfs4_alloc_stid() local
950 new_id = idr_alloc_cyclic(&cl->cl_stateids, stid, 1, 0, GFP_NOWAIT); in nfs4_alloc_stid()
953 if (new_id < 0) in nfs4_alloc_stid()
958 stid->sc_stateid.si_opaque.so_id = new_id; in nfs4_alloc_stid()
986 int new_id; in nfs4_init_cp_state() local
993 new_id = idr_alloc_cyclic(&nn->s2s_cp_stateids, stid, 0, 0, GFP_NOWAIT); in nfs4_init_cp_state()
994 stid->cs_stid.si_opaque.so_id = new_id; in nfs4_init_cp_state()
998 if (new_id < 0) in nfs4_init_cp_state()
/Linux-v6.6/Documentation/usb/
Dgadget_serial.rst245 echo 0x0525 0xA4A6 >/sys/bus/usb-serial/drivers/generic/new_id

12