Home
last modified time | relevance | path

Searched refs:u (Results 1 – 25 of 364) sorted by relevance

12345678910>>...15

/linux-4.19.296/drivers/xen/
Devtchn.c95 static unsigned int evtchn_ring_offset(struct per_user_data *u, in evtchn_ring_offset() argument
98 return idx & (u->ring_size - 1); in evtchn_ring_offset()
101 static evtchn_port_t *evtchn_ring_entry(struct per_user_data *u, in evtchn_ring_entry() argument
104 return u->ring + evtchn_ring_offset(u, idx); in evtchn_ring_entry()
107 static int add_evtchn(struct per_user_data *u, struct user_evtchn *evtchn) in add_evtchn() argument
109 struct rb_node **new = &(u->evtchns.rb_node), *parent = NULL; in add_evtchn()
111 u->nr_evtchns++; in add_evtchn()
129 rb_insert_color(&evtchn->node, &u->evtchns); in add_evtchn()
134 static void del_evtchn(struct per_user_data *u, struct user_evtchn *evtchn) in del_evtchn() argument
136 u->nr_evtchns--; in del_evtchn()
[all …]
Defi.c37 .u.efi_runtime_call.function = XEN_EFI_##name, \
38 .u.efi_runtime_call.misc = 0}
40 #define efi_data(op) (op.u.efi_runtime_call)
50 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.get_time.time)); in xen_efi_get_time()
51 memcpy(tm, &efi_data(op).u.get_time.time, sizeof(*tm)); in xen_efi_get_time()
55 tc->resolution = efi_data(op).u.get_time.resolution; in xen_efi_get_time()
56 tc->accuracy = efi_data(op).u.get_time.accuracy; in xen_efi_get_time()
69 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.set_time)); in xen_efi_set_time()
70 memcpy(&efi_data(op).u.set_time, tm, sizeof(*tm)); in xen_efi_set_time()
88 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.get_wakeup_time)); in xen_efi_get_wakeup_time()
[all …]
Dfallback.c14 memcpy(&op.u, arg, sizeof(op.u)); in xen_event_channel_op_compat()
27 memcpy(arg, &op.u.eop, sizeof(op.u.eop)); \ in xen_event_channel_op_compat()
53 memcpy(&op.u, arg, sizeof(op.u)); in xen_physdev_op_compat()
66 memcpy(arg, &op.u.fld, sizeof(op.u.fld)); \ in xen_physdev_op_compat()
/linux-4.19.296/drivers/xen/xenbus/
Dxenbus_dev_frontend.c112 } u; member
129 struct xenbus_file_priv *u = filp->private_data; in xenbus_file_read() local
134 mutex_lock(&u->reply_mutex); in xenbus_file_read()
136 while (list_empty(&u->read_buffers)) { in xenbus_file_read()
137 mutex_unlock(&u->reply_mutex); in xenbus_file_read()
141 ret = wait_event_interruptible(u->read_waitq, in xenbus_file_read()
142 !list_empty(&u->read_buffers)); in xenbus_file_read()
145 mutex_lock(&u->reply_mutex); in xenbus_file_read()
148 rb = list_entry(u->read_buffers.next, struct read_buffer, list); in xenbus_file_read()
168 if (list_empty(&u->read_buffers)) in xenbus_file_read()
[all …]
/linux-4.19.296/fs/proc/
Dpage.c93 u64 u; in stable_page_flags() local
103 u = 0; in stable_page_flags()
112 u |= 1 << KPF_MMAP; in stable_page_flags()
114 u |= 1 << KPF_ANON; in stable_page_flags()
116 u |= 1 << KPF_KSM; in stable_page_flags()
123 u |= 1 << KPF_COMPOUND_HEAD; in stable_page_flags()
125 u |= 1 << KPF_COMPOUND_TAIL; in stable_page_flags()
127 u |= 1 << KPF_HUGE; in stable_page_flags()
138 u |= 1 << KPF_THP; in stable_page_flags()
140 u |= 1 << KPF_ZERO_PAGE; in stable_page_flags()
[all …]
/linux-4.19.296/lib/mpi/
Dmpi-cmp.c23 int mpi_cmp_ui(MPI u, unsigned long v) in mpi_cmp_ui() argument
27 mpi_normalize(u); in mpi_cmp_ui()
28 if (u->nlimbs == 0) { in mpi_cmp_ui()
34 if (u->sign) in mpi_cmp_ui()
36 if (u->nlimbs > 1) in mpi_cmp_ui()
39 if (u->d[0] == limb) in mpi_cmp_ui()
41 else if (u->d[0] > limb) in mpi_cmp_ui()
48 int mpi_cmp(MPI u, MPI v) in mpi_cmp() argument
53 mpi_normalize(u); in mpi_cmp()
55 usize = u->nlimbs; in mpi_cmp()
[all …]
/linux-4.19.296/lib/zstd/
Dzstd_opt.h40 unsigned u; in ZSTD_rescaleFreqs() local
50 for (u = 0; u <= MaxLit; u++) in ZSTD_rescaleFreqs()
51 ssPtr->litFreq[u] = 0; in ZSTD_rescaleFreqs()
52 for (u = 0; u < srcSize; u++) in ZSTD_rescaleFreqs()
53 ssPtr->litFreq[src[u]]++; in ZSTD_rescaleFreqs()
61 for (u = 0; u <= MaxLit; u++) { in ZSTD_rescaleFreqs()
62 ssPtr->litFreq[u] = 1 + (ssPtr->litFreq[u] >> ZSTD_FREQ_DIV); in ZSTD_rescaleFreqs()
63 ssPtr->litSum += ssPtr->litFreq[u]; in ZSTD_rescaleFreqs()
65 for (u = 0; u <= MaxLL; u++) in ZSTD_rescaleFreqs()
66 ssPtr->litLengthFreq[u] = 1; in ZSTD_rescaleFreqs()
[all …]
/linux-4.19.296/fs/isofs/
Drock.c45 if (rr->u.SP.magic[0] != 0xbe) in check_sp()
47 if (rr->u.SP.magic[1] != 0xef) in check_sp()
49 ISOFS_SB(inode->i_sb)->s_rock_offset = rr->u.SP.skip; in check_sp()
89 const int min_de_size = offsetof(struct rock_ridge, u); in rock_continue()
184 len += offsetof(struct rock_ridge, u); in rock_check_overflow()
241 if ((rr->u.RR.flags[0] & RR_NM) == 0) in get_rock_ridge_filename()
249 rs.cont_extent = isonum_733(rr->u.CE.extent); in get_rock_ridge_filename()
250 rs.cont_offset = isonum_733(rr->u.CE.offset); in get_rock_ridge_filename()
251 rs.cont_size = isonum_733(rr->u.CE.size); in get_rock_ridge_filename()
265 if (rr->u.NM.flags & 6) in get_rock_ridge_filename()
[all …]
/linux-4.19.296/fs/hpfs/
Danode.c26 if (le32_to_cpu(btree->u.internal[i].file_secno) > sec) { in hpfs_bplus_lookup()
27 a = le32_to_cpu(btree->u.internal[i].down); in hpfs_bplus_lookup()
38 if (le32_to_cpu(btree->u.external[i].file_secno) <= sec && in hpfs_bplus_lookup()
39 … le32_to_cpu(btree->u.external[i].file_secno) + le32_to_cpu(btree->u.external[i].length) > sec) { in hpfs_bplus_lookup()
40 …a = le32_to_cpu(btree->u.external[i].disk_secno) + sec - le32_to_cpu(btree->u.external[i].file_sec… in hpfs_bplus_lookup()
47 hpfs_inode->i_file_sec = le32_to_cpu(btree->u.external[i].file_secno); in hpfs_bplus_lookup()
48 hpfs_inode->i_disk_sec = le32_to_cpu(btree->u.external[i].disk_secno); in hpfs_bplus_lookup()
49 hpfs_inode->i_n_secs = le32_to_cpu(btree->u.external[i].length); in hpfs_bplus_lookup()
87 a = le32_to_cpu(btree->u.internal[n].down); in hpfs_add_sector_to_btree()
88 btree->u.internal[n].file_secno = cpu_to_le32(-1); in hpfs_add_sector_to_btree()
[all …]
/linux-4.19.296/lib/
Dtest_bpf.c79 } u; member
108 self->u.ptr.insns = insn; in bpf_fill_maxinsns1()
109 self->u.ptr.len = len; in bpf_fill_maxinsns1()
127 self->u.ptr.insns = insn; in bpf_fill_maxinsns2()
128 self->u.ptr.len = len; in bpf_fill_maxinsns2()
154 self->u.ptr.insns = insn; in bpf_fill_maxinsns3()
155 self->u.ptr.len = len; in bpf_fill_maxinsns3()
173 self->u.ptr.insns = insn; in bpf_fill_maxinsns4()
174 self->u.ptr.len = len; in bpf_fill_maxinsns4()
196 self->u.ptr.insns = insn; in bpf_fill_maxinsns5()
[all …]
/linux-4.19.296/fs/orangefs/
Dorangefs-kernel.h240 unsigned char u[8]; in orangefs_khandle_to_ino() member
244 ihandle.u[0] = khandle->u[0] ^ khandle->u[4]; in orangefs_khandle_to_ino()
245 ihandle.u[1] = khandle->u[1] ^ khandle->u[5]; in orangefs_khandle_to_ino()
246 ihandle.u[2] = khandle->u[2] ^ khandle->u[6]; in orangefs_khandle_to_ino()
247 ihandle.u[3] = khandle->u[3] ^ khandle->u[7]; in orangefs_khandle_to_ino()
248 ihandle.u[4] = khandle->u[12] ^ khandle->u[8]; in orangefs_khandle_to_ino()
249 ihandle.u[5] = khandle->u[13] ^ khandle->u[9]; in orangefs_khandle_to_ino()
250 ihandle.u[6] = khandle->u[14] ^ khandle->u[10]; in orangefs_khandle_to_ino()
251 ihandle.u[7] = khandle->u[15] ^ khandle->u[11]; in orangefs_khandle_to_ino()
/linux-4.19.296/include/asm-generic/
Dtermios.h72 struct termios2 __user *u) in user_termios_to_kernel_termios() argument
74 return copy_from_user(k, u, sizeof(struct termios2)); in user_termios_to_kernel_termios()
77 static inline int kernel_termios_to_user_termios(struct termios2 __user *u, in kernel_termios_to_user_termios() argument
80 return copy_to_user(u, k, sizeof(struct termios2)); in kernel_termios_to_user_termios()
84 struct termios __user *u) in user_termios_to_kernel_termios_1() argument
86 return copy_from_user(k, u, sizeof(struct termios)); in user_termios_to_kernel_termios_1()
89 static inline int kernel_termios_to_user_termios_1(struct termios __user *u, in kernel_termios_to_user_termios_1() argument
92 return copy_to_user(u, k, sizeof(struct termios)); in kernel_termios_to_user_termios_1()
96 struct termios __user *u) in user_termios_to_kernel_termios() argument
98 return copy_from_user(k, u, sizeof(struct termios)); in user_termios_to_kernel_termios()
[all …]
Dtermios-base.h66 #define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios)) argument
70 #define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios)) argument
73 #define user_termios_to_kernel_termios_1(k, u) copy_from_user(k, u, sizeof(struct termios)) argument
74 #define kernel_termios_to_user_termios_1(u, k) copy_to_user(u, k, sizeof(struct termios)) argument
/linux-4.19.296/include/net/netfilter/
Dnf_conntrack_tuple.h31 union nf_conntrack_man_proto u; member
65 } u; member
78 union nf_conntrack_man_proto u; member
87 &t->src.u3.ip, ntohs(t->src.u.all), in nf_ct_dump_tuple_ip()
88 &t->dst.u3.ip, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ip()
97 t->src.u3.all, ntohs(t->src.u.all), in nf_ct_dump_tuple_ipv6()
98 t->dst.u3.all, ntohs(t->dst.u.all)); in nf_ct_dump_tuple_ipv6()
128 t1->src.u.all == t2->src.u.all && in __nf_ct_tuple_src_equal()
136 t1->dst.u.all == t2->dst.u.all && in __nf_ct_tuple_dst_equal()
152 m1->src.u.all == m2->src.u.all); in nf_ct_tuple_mask_equal()
[all …]
/linux-4.19.296/include/net/
Ddst_metadata.h25 } u; member
45 return &md_dst->u.tun_info; in skb_tunnel_info()
79 return memcmp(&a->u.port_info, &b->u.port_info, in skb_metadata_dst_cmp()
80 sizeof(a->u.port_info)); in skb_metadata_dst_cmp()
82 return memcmp(&a->u.tun_info, &b->u.tun_info, in skb_metadata_dst_cmp()
83 sizeof(a->u.tun_info) + in skb_metadata_dst_cmp()
84 a->u.tun_info.options_len); in skb_metadata_dst_cmp()
105 tun_dst->u.tun_info.options_len = 0; in tun_rx_dst()
106 tun_dst->u.tun_info.mode = 0; in tun_rx_dst()
119 md_size = md_dst->u.tun_info.options_len; in tun_dst_unclone()
[all …]
/linux-4.19.296/drivers/hid/
Duhid.c142 ev->u.start.dev_flags |= UHID_DEV_NUMBERED_FEATURE_REPORTS; in uhid_hid_start()
144 ev->u.start.dev_flags |= UHID_DEV_NUMBERED_OUTPUT_REPORTS; in uhid_hid_start()
146 ev->u.start.dev_flags |= UHID_DEV_NUMBERED_INPUT_REPORTS; in uhid_hid_start()
251 ev->u.get_report.rnum = rnum; in uhid_hid_get_report()
252 ev->u.get_report.rtype = rtype; in uhid_hid_get_report()
261 ret = __uhid_report_queue_and_wait(uhid, ev, &ev->u.get_report.id); in uhid_hid_get_report()
265 req = &uhid->report_buf.u.get_report_reply; in uhid_hid_get_report()
293 ev->u.set_report.rnum = rnum; in uhid_hid_set_report()
294 ev->u.set_report.rtype = rtype; in uhid_hid_set_report()
295 ev->u.set_report.size = count; in uhid_hid_set_report()
[all …]
/linux-4.19.296/include/linux/qed/
Dqed_chain.h130 } u; member
195 return p_chain->u.chain16.prod_idx; in qed_chain_get_prod_idx()
200 return p_chain->u.chain16.cons_idx; in qed_chain_get_cons_idx()
205 return p_chain->u.chain32.cons_idx; in qed_chain_get_cons_idx_u32()
211 u32 prod = p_chain->u.chain16.prod_idx; in qed_chain_get_elem_left()
212 u32 cons = p_chain->u.chain16.cons_idx; in qed_chain_get_elem_left()
228 u64 prod = p_chain->u.chain32.prod_idx; in qed_chain_get_elem_left_u32()
229 u64 cons = p_chain->u.chain32.cons_idx; in qed_chain_get_elem_left_u32()
307 (((p)->u.chain16.idx & (p)->elem_per_page_mask) == (p)->usable_per_page)
310 (((p)->u.chain32.idx & (p)->elem_per_page_mask) == (p)->usable_per_page)
[all …]
/linux-4.19.296/fs/nls/
Dnls_base.c86 int utf32_to_utf8(unicode_t u, u8 *s, int maxout) in utf32_to_utf8() argument
95 l = u; in utf32_to_utf8()
137 unicode_t u; in utf8s_to_utf16s() local
142 size = utf8_to_utf32(s, inlen, &u); in utf8s_to_utf16s()
148 if (u >= PLANE_SIZE) { in utf8s_to_utf16s()
151 u -= PLANE_SIZE; in utf8s_to_utf16s()
153 ((u >> 10) & SURROGATE_BITS), in utf8s_to_utf16s()
157 (u & SURROGATE_BITS), in utf8s_to_utf16s()
161 put_utf16(op++, u, endian); in utf8s_to_utf16s()
191 unsigned long u, v; in utf16s_to_utf8s() local
[all …]
/linux-4.19.296/drivers/s390/net/
Dqeth_l3.h47 } u; member
66 return ipv6_addr_equal(&a1->u.a6.addr, &a2->u.a6.addr); in qeth_l3_addr_match_ip()
67 return a1->u.a4.addr == a2->u.a4.addr; in qeth_l3_addr_match_ip()
88 return a1->u.a6.pfxlen == a2->u.a6.pfxlen; in qeth_l3_addr_match_all()
89 return a1->u.a4.mask == a2->u.a4.mask; in qeth_l3_addr_match_all()
98 point = (u8 *) &addr->u.a6.addr; in qeth_l3_ipaddr_hash()
103 point = (u8 *) &addr->u.a4.addr; in qeth_l3_ipaddr_hash()
/linux-4.19.296/fs/jfs/
Djfs_dinode.h96 #define di_dirtable u._dir._table
97 #define di_dtroot u._dir._dtroot
109 #define di_gengen u._file._u1._imap._gengen
131 #define di_xtroot u._file._u2._xtroot
132 #define di_dxd u._file._u2._special._dxd
134 #define di_inlinedata u._file._u2._special._u
135 #define di_rdev u._file._u2._special._u._rdev
136 #define di_fastsymlink u._file._u2._special._u._fastsymlink
137 #define di_inlineea u._file._u2._special._inlineea
138 } u; member
/linux-4.19.296/drivers/virt/vboxguest/
Dvboxguest_utils.c209 buf = (void *)src_parm->u.pointer.u.linear_addr; in hgcm_call_preprocess_linaddr()
210 len = src_parm->u.pointer.size; in hgcm_call_preprocess_linaddr()
282 buf = (void *)src_parm->u.pointer.u.linear_addr; in hgcm_call_preprocess()
283 len = src_parm->u.pointer.size; in hgcm_call_preprocess()
337 dst_parm->u.pointer.size = 0; in hgcm_call_init_linaddr()
338 dst_parm->u.pointer.u.linear_addr = 0; in hgcm_call_init_linaddr()
347 dst_parm->u.page_list.size = len; in hgcm_call_init_linaddr()
348 dst_parm->u.page_list.offset = *off_extra; in hgcm_call_init_linaddr()
402 src_parm->u.pointer.size, in hgcm_call_init_call()
409 buf = (void *)src_parm->u.pointer.u.linear_addr; in hgcm_call_init_call()
[all …]
/linux-4.19.296/drivers/ntb/hw/intel/
Dntb_hw_gen3.c263 union { u64 v64; u32 v32; u16 v16; } u; in ndev_ntb3_debugfs_read() local
320 u.v64 = ndev_db_read(ndev, mmio + ndev->self_reg->db_mask); in ndev_ntb3_debugfs_read()
322 "Doorbell Mask -\t\t%#llx\n", u.v64); in ndev_ntb3_debugfs_read()
324 u.v64 = ndev_db_read(ndev, mmio + ndev->self_reg->db_bell); in ndev_ntb3_debugfs_read()
326 "Doorbell Bell -\t\t%#llx\n", u.v64); in ndev_ntb3_debugfs_read()
331 u.v64 = ioread64(mmio + GEN3_IMBAR1XBASE_OFFSET); in ndev_ntb3_debugfs_read()
333 "IMBAR1XBASE -\t\t%#018llx\n", u.v64); in ndev_ntb3_debugfs_read()
335 u.v64 = ioread64(mmio + GEN3_IMBAR2XBASE_OFFSET); in ndev_ntb3_debugfs_read()
337 "IMBAR2XBASE -\t\t%#018llx\n", u.v64); in ndev_ntb3_debugfs_read()
339 u.v64 = ioread64(mmio + GEN3_IMBAR1XLMT_OFFSET); in ndev_ntb3_debugfs_read()
[all …]
/linux-4.19.296/drivers/media/usb/dvb-usb-v2/
Dusb_urb.c155 stream->props.u.bulk.buffersize, in usb_urb_alloc_bulk_urbs()
173 stream->props.u.isoc.framesperurb, GFP_ATOMIC); in usb_urb_alloc_isoc_urbs()
189 urb->interval = stream->props.u.isoc.interval; in usb_urb_alloc_isoc_urbs()
190 urb->number_of_packets = stream->props.u.isoc.framesperurb; in usb_urb_alloc_isoc_urbs()
191 urb->transfer_buffer_length = stream->props.u.isoc.framesize * in usb_urb_alloc_isoc_urbs()
192 stream->props.u.isoc.framesperurb; in usb_urb_alloc_isoc_urbs()
195 for (j = 0; j < stream->props.u.isoc.framesperurb; j++) { in usb_urb_alloc_isoc_urbs()
198 stream->props.u.isoc.framesize; in usb_urb_alloc_isoc_urbs()
199 frame_offset += stream->props.u.isoc.framesize; in usb_urb_alloc_isoc_urbs()
260 buf_size = stream->props.u.bulk.buffersize; in usb_urb_reconfig()
[all …]
/linux-4.19.296/include/linux/
Duuid.h76 extern void guid_gen(guid_t *u);
77 extern void uuid_gen(uuid_t *u);
84 int guid_parse(const char *uuid, guid_t *u);
85 int uuid_parse(const char *uuid, uuid_t *u);
88 #define uuid_le_gen(u) guid_gen(u) argument
89 #define uuid_le_to_bin(guid, u) guid_parse(guid, u) argument
/linux-4.19.296/drivers/parport/
Dprobe.c71 char *u; in parse_data() local
74 u = sep + strlen (sep) - 1; in parse_data()
75 while (u >= p && *u == ' ') in parse_data()
76 *u-- = '\0'; in parse_data()
77 u = p; in parse_data()
78 while (*u) { in parse_data()
79 *u = toupper(*u); in parse_data()
80 u++; in parse_data()
93 for (u = sep; *u; u++) in parse_data()
94 *u = toupper(*u); in parse_data()

12345678910>>...15