Home
last modified time | relevance | path

Searched refs:vec (Results 1 – 25 of 159) sorted by relevance

1234567

/linux-3.4.99/mm/ !
Dmincore.c24 unsigned char *vec) in mincore_hugetlb_page_range() argument
41 *vec = present; in mincore_hugetlb_page_range()
42 vec++; in mincore_hugetlb_page_range()
91 unsigned char *vec) in mincore_unmapped_range() argument
101 vec[i] = mincore_page(vma->vm_file->f_mapping, pgoff); in mincore_unmapped_range()
104 vec[i] = 0; in mincore_unmapped_range()
110 unsigned char *vec) in mincore_pte_range() argument
123 mincore_unmapped_range(vma, addr, next, vec); in mincore_pte_range()
125 *vec = 1; in mincore_pte_range()
128 *vec = mincore_page(vma->vm_file->f_mapping, pgoff); in mincore_pte_range()
[all …]
/linux-3.4.99/net/sunrpc/xprtrdma/ !
Dsvc_rdma_sendto.c74 struct svc_rdma_req_map *vec) in fast_reg_xdr() argument
87 vec->frmr = frmr; in fast_reg_xdr()
94 vec->sge[sge_no].iov_base = xdr->head[0].iov_base; in fast_reg_xdr()
95 vec->sge[sge_no].iov_len = xdr->head[0].iov_len; in fast_reg_xdr()
96 vec->count = 2; in fast_reg_xdr()
124 vec->sge[sge_no].iov_base = frva + frmr->map_len + page_off; in fast_reg_xdr()
125 vec->sge[sge_no].iov_len = page_bytes; in fast_reg_xdr()
147 vec->count++; in fast_reg_xdr()
154 vec->count++; in fast_reg_xdr()
155 vec->sge[sge_no].iov_len = xdr->tail[0].iov_len; in fast_reg_xdr()
[all …]
/linux-3.4.99/arch/m68k/platform/68360/ !
Dcommproc.c74 void cpm_install_handler(int vec, void (*handler)(), void *dev_id);
180 vec = ((volatile immap_t *)IMAP_ADDR)->im_cpic.cpic_civr; in cpm_interrupt()
181 vec >>= 11; in cpm_interrupt()
184 if (cpm_vecs[vec].handler != 0) in cpm_interrupt()
185 (*cpm_vecs[vec].handler)(cpm_vecs[vec].dev_id); in cpm_interrupt()
187 ((immap_t *)IMAP_ADDR)->im_cpic.cpic_cimr &= ~(1 << vec); in cpm_interrupt()
192 ((immap_t *)IMAP_ADDR)->im_cpic.cpic_cisr |= (1 << vec); in cpm_interrupt()
210 cpm_install_handler(int vec, void (*handler)(), void *dev_id) in cpm_install_handler() argument
213 request_irq(vec, handler, 0, "timer", dev_id); in cpm_install_handler()
229 cpm_free_handler(int vec) in cpm_free_handler() argument
[all …]
/linux-3.4.99/scripts/ !
Ddocproc.c255 char **vec; in docfunctions() local
259 vec = malloc((2 + 2 * symcnt + 3) * sizeof(char *)); in docfunctions()
260 if (vec == NULL) { in docfunctions()
264 vec[idx++] = KERNELDOC; in docfunctions()
265 vec[idx++] = DOCBOOK; in docfunctions()
266 vec[idx++] = NODOCSECTIONS; in docfunctions()
270 vec[idx++] = type; in docfunctions()
272 vec[idx++] = sym->symbollist[j].name; in docfunctions()
275 vec[idx++] = filename; in docfunctions()
276 vec[idx] = NULL; in docfunctions()
[all …]
/linux-3.4.99/arch/powerpc/include/asm/ !
Dexception-64s.h64 #define __EXCEPTION_PROLOG_1(area, extra, vec) \ argument
73 extra(vec); \
78 #define EXCEPTION_PROLOG_1(area, extra, vec) \ argument
79 __EXCEPTION_PROLOG_1(area, extra, vec)
94 #define EXCEPTION_PROLOG_PSERIES(area, label, h, extra, vec) \ argument
95 EXCEPTION_PROLOG_1(area, extra, vec); \
217 #define STD_EXCEPTION_PSERIES(loc, vec, label) \ argument
224 EXC_STD, KVMTEST_PR, vec)
226 #define STD_EXCEPTION_HV(loc, vec, label) \ argument
233 EXC_HV, KVMTEST, vec)
[all …]
Dxics.h79 void (*mask_unknown)(struct ics *ics, unsigned long vec);
80 long (*get_server)(struct ics *ics, unsigned long vec);
98 static inline void xics_push_cppr(unsigned int vec) in xics_push_cppr() argument
105 if (vec == XICS_IPI) in xics_push_cppr()
146 extern void xics_mask_unknown_vec(unsigned int vec);
/linux-3.4.99/kernel/sched/ !
Dcpupri.c74 struct cpupri_vec *vec = &cp->pri_to_cpu[idx]; in cpupri_find() local
77 if (!atomic_read(&(vec)->count)) in cpupri_find()
103 if (cpumask_any_and(&p->cpus_allowed, vec->mask) >= nr_cpu_ids) in cpupri_find()
107 cpumask_and(lowest_mask, &p->cpus_allowed, vec->mask); in cpupri_find()
157 struct cpupri_vec *vec = &cp->pri_to_cpu[newpri]; in cpupri_set() local
159 cpumask_set_cpu(cpu, vec->mask); in cpupri_set()
166 atomic_inc(&(vec)->count); in cpupri_set()
170 struct cpupri_vec *vec = &cp->pri_to_cpu[oldpri]; in cpupri_set() local
191 atomic_dec(&(vec)->count); in cpupri_set()
193 cpumask_clear_cpu(cpu, vec->mask); in cpupri_set()
[all …]
/linux-3.4.99/drivers/staging/vme/devices/ !
Dvme_pio2_core.c78 int vec, i, channel, retval; in pio2_int() local
82 vec = vector & ~PIO2_VME_VECTOR_MASK; in pio2_int()
84 switch (vec) { in pio2_int()
94 PIO2_REGS_INT_STAT[vec - 1]); in pio2_int()
101 channel = ((vec - 1) * 8) + i; in pio2_int()
232 int vec; in pio2_probe() local
361 vec = card->irq_vector | PIO2_VME_VECTOR_SPUR; in pio2_probe()
363 retval = vme_irq_request(vdev, card->irq_level, vec, in pio2_probe()
368 vec, card->irq_level); in pio2_probe()
374 vec = card->irq_vector | PIO2_VECTOR_BANK[i]; in pio2_probe()
[all …]
/linux-3.4.99/arch/powerpc/kvm/ !
Dbook3s.c72 void kvmppc_inject_interrupt(struct kvm_vcpu *vcpu, int vec, u64 flags) in kvmppc_inject_interrupt() argument
76 kvmppc_set_pc(vcpu, kvmppc_interrupt_offset(vcpu) + vec); in kvmppc_inject_interrupt()
80 static int kvmppc_book3s_vec2irqprio(unsigned int vec) in kvmppc_book3s_vec2irqprio() argument
84 switch (vec) { in kvmppc_book3s_vec2irqprio()
108 unsigned int vec) in kvmppc_book3s_dequeue_irqprio() argument
112 clear_bit(kvmppc_book3s_vec2irqprio(vec), in kvmppc_book3s_dequeue_irqprio()
119 void kvmppc_book3s_queue_irqprio(struct kvm_vcpu *vcpu, unsigned int vec) in kvmppc_book3s_queue_irqprio() argument
123 set_bit(kvmppc_book3s_vec2irqprio(vec), in kvmppc_book3s_queue_irqprio()
126 printk(KERN_INFO "Queueing interrupt %x\n", vec); in kvmppc_book3s_queue_irqprio()
155 unsigned int vec = BOOK3S_INTERRUPT_EXTERNAL; in kvmppc_core_queue_external() local
[all …]
/linux-3.4.99/net/ceph/ !
Dbuffer.c18 b->vec.iov_base = kmalloc(len, gfp | __GFP_NOWARN); in ceph_buffer_new()
19 if (b->vec.iov_base) { in ceph_buffer_new()
22 b->vec.iov_base = __vmalloc(len, gfp | __GFP_HIGHMEM, PAGE_KERNEL); in ceph_buffer_new()
23 if (!b->vec.iov_base) { in ceph_buffer_new()
32 b->vec.iov_len = len; in ceph_buffer_new()
43 if (b->vec.iov_base) { in ceph_buffer_release()
45 vfree(b->vec.iov_base); in ceph_buffer_release()
47 kfree(b->vec.iov_base); in ceph_buffer_release()
64 ceph_decode_copy(p, (*b)->vec.iov_base, len); in ceph_decode_buffer()
Dauth_x.c257 (int)th->ticket_blob->vec.iov_len); in ceph_x_proc_ticket_reply()
283 (th->ticket_blob ? th->ticket_blob->vec.iov_len : 0); in ceph_x_build_authorizer()
303 msg_a = au->buf->vec.iov_base; in ceph_x_build_authorizer()
311 memcpy(msg_a->ticket_blob.blob, th->ticket_blob->vec.iov_base, in ceph_x_build_authorizer()
312 th->ticket_blob->vec.iov_len); in ceph_x_build_authorizer()
319 end = au->buf->vec.iov_base + au->buf->vec.iov_len; in ceph_x_build_authorizer()
329 au->buf->vec.iov_len = p - au->buf->vec.iov_base; in ceph_x_build_authorizer()
331 (int)au->buf->vec.iov_len); in ceph_x_build_authorizer()
332 BUG_ON(au->buf->vec.iov_len > maxlen); in ceph_x_build_authorizer()
348 const char *buf = th->ticket_blob->vec.iov_base; in ceph_x_encode_ticket()
[all …]
/linux-3.4.99/drivers/staging/ramster/ !
Dr2net.c162 struct kvec vec[1]; in ramster_remote_async_get() local
173 vec[0].iov_len = sizeof(*xh); in ramster_remote_async_get()
174 vec[0].iov_base = xh; in ramster_remote_async_get()
180 vec, veclen, remotenode, &status); in ramster_remote_async_get()
227 struct kvec vec[2]; in ramster_remote_put() local
236 vec[0].iov_len = sizeof(*xh); in ramster_remote_put()
237 vec[0].iov_base = xh; in ramster_remote_put()
238 vec[1].iov_len = size; in ramster_remote_put()
239 vec[1].iov_base = data; in ramster_remote_put()
262 ret = r2net_send_message_vec(msg_type, RMSTR_KEY, vec, veclen, in ramster_remote_put()
[all …]
/linux-3.4.99/arch/alpha/kernel/ !
Dsetup.c504 struct alpha_machine_vector *vec = NULL; in setup_arch() local
564 vec = get_sysvec_byname(p+9); in setup_arch()
630 if (!vec) { in setup_arch()
631 vec = get_sysvec(hwrpb->sys_type, hwrpb->sys_variation, in setup_arch()
635 if (!vec) { in setup_arch()
640 if (vec != &alpha_mv) { in setup_arch()
641 alpha_mv = *vec; in setup_arch()
916 struct alpha_machine_vector *vec; in get_sysvec() local
919 vec = NULL; in get_sysvec()
921 vec = systype_vecs[type]; in get_sysvec()
[all …]
/linux-3.4.99/kernel/ !
Dtimer.c69 struct list_head vec[TVN_SIZE]; member
73 struct list_head vec[TVR_SIZE]; member
340 struct list_head *vec; in internal_add_timer() local
344 vec = base->tv1.vec + i; in internal_add_timer()
347 vec = base->tv2.vec + i; in internal_add_timer()
350 vec = base->tv3.vec + i; in internal_add_timer()
353 vec = base->tv4.vec + i; in internal_add_timer()
359 vec = base->tv1.vec + (base->timer_jiffies & TVR_MASK); in internal_add_timer()
371 vec = base->tv5.vec + i; in internal_add_timer()
376 list_add_tail(&timer->entry, vec); in internal_add_timer()
[all …]
/linux-3.4.99/arch/powerpc/sysdev/xics/ !
Dics-opal.c164 static void ics_opal_mask_unknown(struct ics *ics, unsigned long vec);
165 static long ics_opal_get_server(struct ics *ics, unsigned long vec);
201 static void ics_opal_mask_unknown(struct ics *ics, unsigned long vec) in ics_opal_mask_unknown() argument
208 rc = opal_get_xive(vec, &server, &priority); in ics_opal_mask_unknown()
212 ics_opal_mask_real_irq(vec); in ics_opal_mask_unknown()
215 static long ics_opal_get_server(struct ics *ics, unsigned long vec) in ics_opal_get_server() argument
222 rc = opal_get_xive(vec, &server, &priority); in ics_opal_get_server()
Dicp-hv.c112 unsigned int vec = xirr & 0x00ffffff; in icp_hv_get_irq() local
115 if (vec == XICS_IRQ_SPURIOUS) in icp_hv_get_irq()
118 irq = irq_radix_revmap_lookup(xics_host, vec); in icp_hv_get_irq()
120 xics_push_cppr(vec); in icp_hv_get_irq()
125 xics_mask_unknown_vec(vec); in icp_hv_get_irq()
Dics-rtas.c27 static void ics_rtas_mask_unknown(struct ics *ics, unsigned long vec);
28 static long ics_rtas_get_server(struct ics *ics, unsigned long vec);
192 static void ics_rtas_mask_unknown(struct ics *ics, unsigned long vec) in ics_rtas_mask_unknown() argument
194 ics_rtas_mask_real_irq(vec); in ics_rtas_mask_unknown()
197 static long ics_rtas_get_server(struct ics *ics, unsigned long vec) in ics_rtas_get_server() argument
201 rc = rtas_call(ibm_get_xive, 1, 3, status, vec); in ics_rtas_get_server()
Dicp-native.c116 unsigned int vec = xirr & 0x00ffffff; in icp_native_get_irq() local
119 if (vec == XICS_IRQ_SPURIOUS) in icp_native_get_irq()
122 irq = irq_radix_revmap_lookup(xics_host, vec); in icp_native_get_irq()
124 xics_push_cppr(vec); in icp_native_get_irq()
129 xics_mask_unknown_vec(vec); in icp_native_get_irq()
/linux-3.4.99/arch/ia64/include/asm/ !
Dhw_irq.h134 extern void ia64_native_register_percpu_irq (ia64_vector vec, struct irqaction *action);
161 __ia64_local_vector_to_irq (ia64_vector vec) in __ia64_local_vector_to_irq() argument
163 return __get_cpu_var(vector_irq)[vec]; in __ia64_local_vector_to_irq()
190 local_vector_to_irq (ia64_vector vec) in local_vector_to_irq() argument
192 return platform_local_vector_to_irq(vec); in local_vector_to_irq()
/linux-3.4.99/arch/powerpc/sysdev/ !
Daxonram.c112 struct bio_vec *vec; in axon_ram_make_request() local
119 bio_for_each_segment(vec, bio, idx) { in axon_ram_make_request()
120 if (unlikely(phys_mem + vec->bv_len > phys_end)) { in axon_ram_make_request()
125 user_mem = page_address(vec->bv_page) + vec->bv_offset; in axon_ram_make_request()
127 memcpy(user_mem, (void *) phys_mem, vec->bv_len); in axon_ram_make_request()
129 memcpy((void *) phys_mem, user_mem, vec->bv_len); in axon_ram_make_request()
131 phys_mem += vec->bv_len; in axon_ram_make_request()
132 transfered += vec->bv_len; in axon_ram_make_request()
/linux-3.4.99/include/trace/events/ !
Dirq.h94 __field( unsigned int, vec )
98 __entry->vec = vec_nr;
101 TP_printk("vec=%u [action=%s]", __entry->vec,
102 show_softirq_name(__entry->vec))
/linux-3.4.99/net/rds/ !
Drdma.c56 static unsigned int rds_pages_in_vec(struct rds_iovec *vec) in rds_pages_in_vec() argument
58 if ((vec->addr + vec->bytes <= vec->addr) || in rds_pages_in_vec()
59 (vec->bytes > (u64)UINT_MAX)) in rds_pages_in_vec()
62 return ((vec->addr + vec->bytes + PAGE_SIZE - 1) >> PAGE_SHIFT) - in rds_pages_in_vec()
63 (vec->addr >> PAGE_SHIFT); in rds_pages_in_vec()
197 nr_pages = rds_pages_in_vec(&args->vec); in __rds_rdma_map()
204 args->vec.addr, args->vec.bytes, nr_pages); in __rds_rdma_map()
241 ret = rds_pin_pages(args->vec.addr, nr_pages, pages, 1); in __rds_rdma_map()
284 cookie = rds_rdma_make_cookie(mr->r_key, args->vec.addr & ~PAGE_MASK); in __rds_rdma_map()
346 new_args.vec = args.vec; in rds_get_mr_for_dest()
[all …]
/linux-3.4.99/include/linux/sunrpc/ !
Dsvc.h322 struct kvec *vec = &rqstp->rq_arg.head[0]; in xdr_argsize_check() local
323 return cp >= (char*)vec->iov_base in xdr_argsize_check()
324 && cp <= (char*)vec->iov_base + vec->iov_len; in xdr_argsize_check()
330 struct kvec *vec = &rqstp->rq_res.head[0]; in xdr_ressize_check() local
333 vec->iov_len = cp - (char*)vec->iov_base; in xdr_ressize_check()
335 return vec->iov_len <= PAGE_SIZE; in xdr_ressize_check()
/linux-3.4.99/tools/perf/scripts/python/ !
Dnetdev-times.py227 def irq__softirq_entry(name, context, cpu, sec, nsec, pid, comm, vec): argument
228 if symbol_str("irq__softirq_entry", "vec", vec) != "NET_RX":
230 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec)
233 def irq__softirq_exit(name, context, cpu, sec, nsec, pid, comm, vec): argument
234 if symbol_str("irq__softirq_entry", "vec", vec) != "NET_RX":
236 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec)
239 def irq__softirq_raise(name, context, cpu, sec, nsec, pid, comm, vec): argument
240 if symbol_str("irq__softirq_entry", "vec", vec) != "NET_RX":
242 event_info = (name, context, cpu, nsecs(sec, nsec), pid, comm, vec)
321 (name, context, cpu, time, pid, comm, vec) = event_info
[all …]
/linux-3.4.99/net/dccp/ !
Dfeat.c261 if (val == NULL || (type == FEAT_SP && val->sp.vec == NULL)) in dccp_feat_printval()
265 dccp_pr_debug_cat("%s%u", i ? " " : "", val->sp.vec[i]); in dccp_feat_printval()
275 dccp_feat_val fval = { .sp.vec = list, .sp.len = len }; in dccp_feat_printvals()
322 if (fval->sp.vec == NULL) { in __dccp_feat_activate()
331 val = fval->sp.vec[0]; in __dccp_feat_activate()
373 fval->sp.vec = kmemdup(val, len, gfp_any()); in dccp_feat_clone_sp_val()
374 if (fval->sp.vec == NULL) { in dccp_feat_clone_sp_val()
387 kfree(val->sp.vec); in dccp_feat_val_destructor()
405 original->val.sp.vec, in dccp_feat_clone_entry()
651 ptr = pos->val.sp.vec; in dccp_feat_insert_opts()
[all …]

1234567