Home
last modified time | relevance | path

Searched refs:idp (Results 1 – 13 of 13) sorted by relevance

/linux-4.1.27/lib/
Didr.c66 static struct idr_layer *get_from_free_list(struct idr *idp) in get_from_free_list() argument
71 spin_lock_irqsave(&idp->lock, flags); in get_from_free_list()
72 if ((p = idp->id_free)) { in get_from_free_list()
73 idp->id_free = p->ary[0]; in get_from_free_list()
74 idp->id_free_cnt--; in get_from_free_list()
77 spin_unlock_irqrestore(&idp->lock, flags); in get_from_free_list()
153 static void __move_to_free_list(struct idr *idp, struct idr_layer *p) in __move_to_free_list() argument
155 p->ary[0] = idp->id_free; in __move_to_free_list()
156 idp->id_free = p; in __move_to_free_list()
157 idp->id_free_cnt++; in __move_to_free_list()
[all …]
/linux-4.1.27/include/linux/
Didr.h79 void *idr_find_slowpath(struct idr *idp, int id);
81 int idr_alloc(struct idr *idp, void *ptr, int start, int end, gfp_t gfp_mask);
83 int idr_for_each(struct idr *idp,
85 void *idr_get_next(struct idr *idp, int *nextid);
86 void *idr_replace(struct idr *idp, void *ptr, int id);
87 void idr_remove(struct idr *idp, int id);
88 void idr_destroy(struct idr *idp);
89 void idr_init(struct idr *idp);
90 bool idr_is_empty(struct idr *idp);
135 #define idr_for_each_entry(idp, entry, id) \ argument
[all …]
/linux-4.1.27/arch/x86/kernel/
Ddumpstack_64.c35 unsigned *usedp, char **idp) in in_exception_stack() argument
65 *idp = x86_stack_ids[k]; in in_exception_stack()
91 *idp = x86_stack_ids[j]; in in_exception_stack()
/linux-4.1.27/drivers/media/pci/saa7134/
Dsaa7134-tvaudio.c383 __u32 idp, nicam, nicam_status; in tvaudio_getstereo() local
391 idp = (saa_readb(SAA7134_IDENT_SIF) & 0xe0) >> 5; in tvaudio_getstereo()
392 dprintk("getstereo: fm/stereo: idp=0x%x\n",idp); in tvaudio_getstereo()
393 if (0x03 == (idp & 0x03)) in tvaudio_getstereo()
395 else if (0x05 == (idp & 0x05)) in tvaudio_getstereo()
397 else if (0x01 == (idp & 0x01)) in tvaudio_getstereo()
/linux-4.1.27/drivers/scsi/
Dosst.h195 unsigned idp :1; /* Should be 0 */ member
201 unsigned idp :1; /* Should be 0 */ member
/linux-4.1.27/drivers/input/touchscreen/
Dmigor_ts.c133 const struct i2c_device_id *idp) in migor_ts_probe() argument
Deeti_ts.c158 const struct i2c_device_id *idp) in eeti_ts_probe() argument
/linux-4.1.27/drivers/infiniband/core/
Duverbs.h178 void idr_remove_uobj(struct idr *idp, struct ib_uobject *uobj);
/linux-4.1.27/arch/arm/mach-pxa/
DMakefile36 obj-$(CONFIG_ARCH_PXA_IDP) += idp.o
/linux-4.1.27/drivers/iommu/
Dtegra-smmu.c204 static int tegra_smmu_alloc_asid(struct tegra_smmu *smmu, unsigned int *idp) in tegra_smmu_alloc_asid() argument
217 *idp = id; in tegra_smmu_alloc_asid()
/linux-4.1.27/drivers/staging/iio/light/
Dtsl2583.c804 const struct i2c_device_id *idp) in taos_probe() argument
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/
Decho_client.c1452 echo_get_stripe_off_id(struct lov_stripe_md *lsm, u64 *offp, u64 *idp) in echo_get_stripe_off_id() argument
1476 *idp = ostid_id(&lsm->lsm_oinfo[stripe_index]->loi_oi); in echo_get_stripe_off_id()
/linux-4.1.27/Documentation/
Ddevices.txt740 40 = /dev/inet/idp
753 /dev/idp -> /dev/inet/idp