Home
last modified time | relevance | path

Searched refs:cnum (Results 1 – 15 of 15) sorted by relevance

/linux-2.4.37.9/arch/ia64/kernel/
Dperfmon_mckinley.h15 static int pfm_mck_reserved(struct task_struct *task, unsigned int cnum, unsigned long *val, struct…
16 static int pfm_mck_pmc_check(struct task_struct *task, unsigned int cnum, unsigned long *val, struc…
78 pfm_mck_reserved(struct task_struct *task, unsigned int cnum, unsigned long *val, struct pt_regs *r… in pfm_mck_reserved() argument
83 tmp1 = ival & PMC_RSVD_MASK(cnum); in pfm_mck_reserved()
86 tmp2 = PMC_DFL_VAL(cnum) & ~PMC_RSVD_MASK(cnum); in pfm_mck_reserved()
91 cnum, ival, PMC_RSVD_MASK(cnum), PMC_DFL_VAL(cnum), *val)); in pfm_mck_reserved()
96 pfm_mck_pmc_check(struct task_struct *task, unsigned int cnum, unsigned long *val, struct pt_regs *… in pfm_mck_pmc_check() argument
104 pfm_mck_reserved(task, cnum, val, regs); in pfm_mck_pmc_check()
110 if (cnum == 13 && (*val & (0xfUL << 45)) && ctx->ctx_fl_using_dbreg == 0) { in pfm_mck_pmc_check()
126 if (cnum == 14 && ((*val & 0x2222) != 0x2222) && ctx->ctx_fl_using_dbreg == 0) { in pfm_mck_pmc_check()
[all …]
Dperfmon.c328 …int (*read_check)(struct task_struct *task, unsigned int cnum, unsigned long *val, struct pt_reg…
329 …int (*write_check)(struct task_struct *task, unsigned int cnum, unsigned long *val, struct pt_re…
335 #define PMC_PM(cnum, val) (((val) >> (pmu_conf.pmc_desc[cnum].pm_pos)) & 0x1) argument
336 #define PMC_WR_FUNC(cnum) (pmu_conf.pmc_desc[cnum].write_check) argument
337 #define PMD_WR_FUNC(cnum) (pmu_conf.pmd_desc[cnum].write_check) argument
338 #define PMD_RD_FUNC(cnum) (pmu_conf.pmd_desc[cnum].read_check) argument
1493 unsigned int cnum, reg_flags, flags; in pfm_write_pmcs() local
1510 cnum = tmp.reg_num; in pfm_write_pmcs()
1516 is_counting = PMC_IS_COUNTING(cnum); in pfm_write_pmcs()
1517 is_monitor = PMC_IS_MONITOR(cnum); in pfm_write_pmcs()
[all …]
Dperfmon_itanium.h15 static int pfm_ita_pmc_check(struct task_struct *task, unsigned int cnum, unsigned long *val, struc…
72 pfm_ita_pmc_check(struct task_struct *task, unsigned int cnum, unsigned long *val, struct pt_regs *… in pfm_ita_pmc_check() argument
81 if (cnum == 13 && ((*val & 0x1) == 0UL) && ctx->ctx_fl_using_dbreg == 0) { in pfm_ita_pmc_check()
98 if (cnum == 11 && ((*val >> 28)& 0x1) == 0 && ctx->ctx_fl_using_dbreg == 0) { in pfm_ita_pmc_check()
/linux-2.4.37.9/arch/sparc64/kernel/
Dsbus.c137 unsigned long cnum, ent, nent, flush_point, found; in alloc_streaming_cluster() local
139 cnum = 0; in alloc_streaming_cluster()
141 while ((1UL << cnum) < npages) in alloc_streaming_cluster()
142 cnum++; in alloc_streaming_cluster()
143 if(cnum >= NCLUSTERS) { in alloc_streaming_cluster()
144 nent = 1UL << (cnum - NCLUSTERS); in alloc_streaming_cluster()
145 cnum = NCLUSTERS - 1; in alloc_streaming_cluster()
147 iopte = iommu->page_table + (cnum * CLUSTER_NPAGES); in alloc_streaming_cluster()
149 if (cnum == 0) in alloc_streaming_cluster()
155 iopte += ((ent = iommu->alloc_info[cnum].next) << cnum); in alloc_streaming_cluster()
[all …]
Dpci_iommu.c95 unsigned long cnum, ent, flush_point; in alloc_streaming_cluster() local
97 cnum = 0; in alloc_streaming_cluster()
98 while ((1UL << cnum) < npages) in alloc_streaming_cluster()
99 cnum++; in alloc_streaming_cluster()
101 (cnum << (iommu->page_table_sz_bits - PBM_LOGCLUSTERS))); in alloc_streaming_cluster()
103 if (cnum == 0) in alloc_streaming_cluster()
110 iopte += ((ent = iommu->alloc_info[cnum].next) << cnum); in alloc_streaming_cluster()
111 flush_point = iommu->alloc_info[cnum].flush; in alloc_streaming_cluster()
116 if ((iopte + (1 << cnum)) >= limit) in alloc_streaming_cluster()
120 iommu->alloc_info[cnum].next = ent; in alloc_streaming_cluster()
[all …]
/linux-2.4.37.9/fs/ntfs/
Dattr.c214 int ntfs_insert_run(ntfs_attribute *attr, int cnum, ntfs_cluster_t cluster, in ntfs_insert_run() argument
246 if (attr->d.r.len > cnum) in ntfs_insert_run()
247 ntfs_memmove(attr->d.r.runlist + cnum + 1, in ntfs_insert_run()
248 attr->d.r.runlist + cnum, in ntfs_insert_run()
249 (attr->d.r.len - cnum) * sizeof(ntfs_runlist)); in ntfs_insert_run()
250 attr->d.r.runlist[cnum].lcn = cluster; in ntfs_insert_run()
251 attr->d.r.runlist[cnum].len = len; in ntfs_insert_run()
554 int vcn, cnum; in ntfs_process_runs() local
570 for (cnum = 0, vcn = 0; cnum < attr->d.r.len; cnum++) in ntfs_process_runs()
571 vcn += attr->d.r.runlist[cnum].len; in ntfs_process_runs()
[all …]
Dattr.h36 int ntfs_insert_run(ntfs_attribute *attr, int cnum, ntfs_cluster_t cluster,
/linux-2.4.37.9/drivers/scsi/aacraid/
Daachba.c1201 if (qd.cnum == -1) in query_disk()
1202 qd.cnum = TARGET_LUN_TO_CONTAINER(qd.target, qd.lun); in query_disk()
1205 if (qd.cnum < 0 || qd.cnum > MAXIMUM_NUM_CONTAINERS) in query_disk()
1209 qd.target = CONTAINER_TO_TARGET(qd.cnum); in query_disk()
1210 qd.lun = CONTAINER_TO_LUN(qd.cnum); in query_disk()
1214 qd.valid = fsa_dev_ptr->valid[qd.cnum]; in query_disk()
1215 qd.locked = fsa_dev_ptr->locked[qd.cnum]; in query_disk()
1216 qd.deleted = fsa_dev_ptr->deleted[qd.cnum]; in query_disk()
1218 if (fsa_dev_ptr->devno[qd.cnum] == -1) in query_disk()
1223 get_sd_devname(fsa_dev_ptr->devno[qd.cnum], qd.name); in query_disk()
[all …]
Daacraid.h1220 s32 cnum; member
1234 u32 cnum; member
/linux-2.4.37.9/net/bluetooth/cmtp/
Dcmtp.h57 __u32 cnum; member
Dsock.c116 if (cl.cnum <= 0) in cmtp_sock_ioctl()
Dcore.c462 if (++n >= req->cnum) in cmtp_get_connlist()
467 req->cnum = n; in cmtp_get_connlist()
/linux-2.4.37.9/net/bluetooth/bnep/
Dbnep.h142 __u32 cnum; member
Dsock.c124 if (cl.cnum <= 0) in bnep_sock_ioctl()
Dcore.c663 if (++n >= req->cnum) in bnep_get_connlist()
668 req->cnum = n; in bnep_get_connlist()