Searched refs:xs (Results 1 - 77 of 77) sorted by relevance

/linux-4.1.27/arch/mips/math-emu/
H A Dsp_fdp.c25 static inline union ieee754sp ieee754sp_nan_fdp(int xs, u64 xm) ieee754sp_nan_fdp() argument
27 return buildsp(xs, SP_EMAX + 1 + SP_EBIAS, ieee754sp_nan_fdp()
47 return ieee754sp_nanxcpt(ieee754sp_nan_fdp(xs, xm)); ieee754sp_fdp()
50 y = ieee754sp_nan_fdp(xs, xm); ieee754sp_fdp()
57 return ieee754sp_inf(xs); ieee754sp_fdp()
60 return ieee754sp_zero(xs); ieee754sp_fdp()
66 if ((ieee754_csr.rm == FPU_CSR_RU && !xs) || ieee754sp_fdp()
67 (ieee754_csr.rm == FPU_CSR_RD && xs)) ieee754sp_fdp()
68 return ieee754sp_mind(xs); ieee754sp_fdp()
69 return ieee754sp_zero(xs); ieee754sp_fdp()
81 return ieee754sp_format(xs, xe, rm); ieee754sp_fdp()
H A Ddp_fsp.c25 static inline union ieee754dp ieee754dp_nan_fsp(int xs, u64 xm) ieee754dp_nan_fsp() argument
27 return builddp(xs, DP_EMAX + 1 + DP_EBIAS, ieee754dp_nan_fsp()
43 return ieee754dp_nanxcpt(ieee754dp_nan_fsp(xs, xm)); ieee754dp_fsp()
46 return ieee754dp_nan_fsp(xs, xm); ieee754dp_fsp()
49 return ieee754dp_inf(xs); ieee754dp_fsp()
52 return ieee754dp_zero(xs); ieee754dp_fsp()
73 return builddp(xs, xe + DP_EBIAS, ieee754dp_fsp()
H A Ddp_fint.c28 int xs; ieee754dp_fint() local
39 xs = (x < 0); ieee754dp_fint()
40 if (xs) { ieee754dp_fint()
55 return builddp(xs, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT); ieee754dp_fint()
H A Ddp_flong.c28 int xs; ieee754dp_flong() local
39 xs = (x < 0); ieee754dp_flong()
40 if (xs) { ieee754dp_flong()
64 return ieee754dp_format(xs, xe, xm); ieee754dp_flong()
H A Dsp_fint.c28 int xs; ieee754sp_fint() local
39 xs = (x < 0); ieee754sp_fint()
40 if (xs) { ieee754sp_fint()
64 return ieee754sp_format(xs, xe, xm); ieee754sp_fint()
H A Dsp_flong.c28 int xs; ieee754sp_flong() local
39 xs = (x < 0); ieee754sp_flong()
40 if (xs) { ieee754sp_flong()
63 return ieee754sp_format(xs, xe, xm); ieee754sp_flong()
H A Ddp_add.c73 if (xs == ys) ieee754dp_add()
92 if (xs == ys) ieee754dp_add()
148 if (xs == ys) { ieee754dp_add()
151 * leaving result in xm, xs and xe. ieee754dp_add()
164 xs = ys; ieee754dp_add()
178 return ieee754dp_format(xs, xe, xm); ieee754dp_add()
H A Dieee754int.h53 unsigned xm; int xe; int xs __maybe_unused; int xc
82 #define EXPLODEXSP EXPLODESP(x, xc, xs, xe, xm)
87 u64 xm; int xe; int xs __maybe_unused; int xc
116 #define EXPLODEXDP EXPLODEDP(x, xc, xs, xe, xm)
141 #define FLUSHXDP FLUSHDP(x, xc, xs, xe, xm)
143 #define FLUSHXSP FLUSHSP(x, xc, xs, xe, xm)
H A Dsp_add.c73 if (xs == ys) ieee754sp_add()
92 if (xs == ys) ieee754sp_add()
146 if (xs == ys) { ieee754sp_add()
149 * leaving result in xm, xs and xe. ieee754sp_add()
161 xs = ys; ieee754sp_add()
175 return ieee754sp_format(xs, xe, xm); ieee754sp_add()
H A Ddp_tint.c84 if ((round || sticky) && !xs) ieee754dp_tint()
88 if ((round || sticky) && xs) ieee754dp_tint()
93 if ((xm >> 31) != 0 && (xs == 0 || xm != 0x80000000)) { ieee754dp_tint()
101 if (xs) ieee754dp_tint()
H A Ddp_tlong.c54 if (xe == 63 && xs && xm == DP_HIDDEN_BIT) ieee754dp_tlong()
89 if ((round || sticky) && !xs) ieee754dp_tlong()
93 if ((round || sticky) && xs) ieee754dp_tlong()
105 if (xs) ieee754dp_tlong()
H A Dsp_tint.c54 if (xe == 31 && xs && xm == SP_HIDDEN_BIT) ieee754sp_tint()
89 if ((round || sticky) && !xs) ieee754sp_tint()
93 if ((round || sticky) && xs) ieee754sp_tint()
105 if (xs) ieee754sp_tint()
H A Dsp_tlong.c55 if (xe == 63 && xs && xm == SP_HIDDEN_BIT) ieee754sp_tlong()
86 if ((round || sticky) && !xs) ieee754sp_tlong()
90 if ((round || sticky) && xs) ieee754sp_tlong()
102 if (xs) ieee754sp_tlong()
H A Ddp_div.c81 return ieee754dp_zero(xs ^ ys); ieee754dp_div()
86 return ieee754dp_inf(xs ^ ys); ieee754dp_div()
98 return ieee754dp_inf(xs ^ ys); ieee754dp_div()
102 return ieee754dp_zero(xs == ys ? 0 : 1); ieee754dp_div()
154 return ieee754dp_format(xs == ys ? 0 : 1, re, rm); ieee754dp_div()
H A Dsp_div.c81 return ieee754sp_zero(xs ^ ys); ieee754sp_div()
86 return ieee754sp_inf(xs ^ ys); ieee754sp_div()
98 return ieee754sp_inf(xs ^ ys); ieee754sp_div()
102 return ieee754sp_zero(xs == ys ? 0 : 1); ieee754sp_div()
153 return ieee754sp_format(xs == ys ? 0 : 1, re, rm); ieee754sp_div()
H A Dsp_sub.c73 if (xs != ys) ieee754sp_sub()
92 if (xs != ys) ieee754sp_sub()
148 if (xs == ys) { ieee754sp_sub()
161 xs = ys; ieee754sp_sub()
177 return ieee754sp_format(xs, xe, xm); ieee754sp_sub()
H A Dsp_sqrt.c50 if (xs) { ieee754sp_sqrt()
60 if (xs) { ieee754sp_sqrt()
H A Ddp_sub.c73 if (xs != ys) ieee754dp_sub()
92 if (xs != ys) ieee754dp_sub()
153 if (xs == ys) { ieee754dp_sub()
167 xs = ys; ieee754dp_sub()
184 return ieee754dp_format(xs, xe, xm); ieee754dp_sub()
H A Ddp_mul.c92 return ieee754dp_inf(xs ^ ys); ieee754dp_mul()
99 return ieee754dp_zero(xs ^ ys); ieee754dp_mul()
121 rs = xs ^ ys; ieee754dp_mul()
H A Dsp_mul.c92 return ieee754sp_inf(xs ^ ys); ieee754sp_mul()
99 return ieee754sp_zero(xs ^ ys); ieee754sp_mul()
121 rs = xs ^ ys; ieee754sp_mul()
H A Ddp_sqrt.c57 if (xs) { ieee754dp_sqrt()
70 if (xs) { ieee754dp_sqrt()
/linux-4.1.27/arch/m68k/lib/
H A Dmemset.c12 void *xs = s; memset() local
16 return xs; memset()
72 return xs; memset()
/linux-4.1.27/drivers/staging/fbtft/
H A Dfb_hx8353d.c79 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
82 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
85 write_reg(par, 0x2a, xs >> 8, xs & 0xff, xe >> 8, xe & 0xff); set_addr_win()
H A Dfb_ili9481.c58 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
61 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
64 write_reg(par, 0x2a, xs >> 8, xs & 0xff, xe >> 8, xe & 0xff); set_addr_win()
H A Dfb_ili9486.c62 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
65 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
68 write_reg(par, 0x2A, xs >> 8, xs & 0xFF, xe >> 8, xe & 0xFF); set_addr_win()
H A Dfb_tinylcd.c65 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
68 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
71 write_reg(par, 0x2A, xs >> 8, xs & 0xFF, xe >> 8, xe & 0xFF); set_addr_win()
H A Dfb_bd663474.c123 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
126 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
131 write_reg(par, 0x0200, xs); set_addr_win()
135 write_reg(par, 0x0200, WIDTH - 1 - xs); set_addr_win()
140 write_reg(par, 0x0201, xs); set_addr_win()
144 write_reg(par, 0x0201, HEIGHT - 1 - xs); set_addr_win()
H A Dfb_agm1264k-fl.c238 int xs, ys_page, xe, ye_page; member in struct:__anon9784
242 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
244 addr_win.xs = xs; set_addr_win()
250 "%s(xs=%d, ys_page=%d, xe=%d, ye_page=%d)\n", __func__, set_addr_win()
251 addr_win.xs, addr_win.ys_page, addr_win.xe, addr_win.ye_page); set_addr_win()
256 int xs, int xe, int y) construct_line_bitmap()
260 for (x = xs; x < xe; ++x) { construct_line_bitmap()
365 if (addr_win.xs < par->info->var.xres / 2) { write_vmem()
367 addr_win.xs, par->info->var.xres / 2, y); write_vmem()
369 len = par->info->var.xres / 2 - addr_win.xs; write_vmem()
374 write_reg(par, 0x00, (1 << 6) | (u8)addr_win.xs); write_vmem()
255 construct_line_bitmap(struct fbtft_par *par, u8 *dest, signed short *src, int xs, int xe, int y) construct_line_bitmap() argument
H A Dfb_hx8347d.c93 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
96 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
98 write_reg(par, 0x02, (xs >> 8) & 0xFF); set_addr_win()
99 write_reg(par, 0x03, xs & 0xFF); set_addr_win()
H A Dfb_ili9340.c99 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
102 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
105 write_reg(par, 0x2A, xs >> 8, xs & 0xFF, xe >> 8, xe & 0xFF); set_addr_win()
H A Dfb_ili9341.c83 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
86 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
90 (xs >> 8) & 0xFF, xs & 0xFF, (xe >> 8) & 0xFF, xe & 0xFF); set_addr_win()
H A Dfb_s6d02a1.c103 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
106 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
109 write_reg(par, 0x2A, xs >> 8, xs & 0xFF, xe >> 8, xe & 0xFF); set_addr_win()
H A Dfb_st7735r.c97 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
100 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
103 write_reg(par, 0x2A, xs >> 8, xs & 0xFF, xe >> 8, xe & 0xFF); set_addr_win()
H A Dflexfb.c137 static void flexfb_set_addr_win_1(struct fbtft_par *par, int xs, int ys, int xe, int ye) flexfb_set_addr_win_1() argument
139 fbtft_par_dbg(DEBUG_SET_ADDR_WIN, par, "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); flexfb_set_addr_win_1()
144 write_reg(par, 0x0020, xs); flexfb_set_addr_win_1()
148 write_reg(par, 0x0020, width - 1 - xs); flexfb_set_addr_win_1()
153 write_reg(par, 0x0021, xs); flexfb_set_addr_win_1()
157 write_reg(par, 0x0021, height - 1 - xs); flexfb_set_addr_win_1()
164 static void flexfb_set_addr_win_2(struct fbtft_par *par, int xs, int ys, int xe, int ye) flexfb_set_addr_win_2() argument
166 fbtft_par_dbg(DEBUG_SET_ADDR_WIN, par, "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); flexfb_set_addr_win_2()
172 write_reg(par, 0x4e, xs); flexfb_set_addr_win_2()
176 write_reg(par, 0x4e, par->info->var.xres - 1 - xs); flexfb_set_addr_win_2()
181 write_reg(par, 0x4f, xs); flexfb_set_addr_win_2()
185 write_reg(par, 0x4f, par->info->var.xres - 1 - xs); flexfb_set_addr_win_2()
194 static void set_addr_win_3(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win_3() argument
196 fbtft_par_dbg(DEBUG_SET_ADDR_WIN, par, "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win_3()
198 write_reg(par, 0x15, xs, xe); set_addr_win_3()
H A Dfb_ili9320.c124 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
127 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
133 write_reg(par, 0x0020, xs); set_addr_win()
137 write_reg(par, 0x0020, WIDTH - 1 - xs); set_addr_win()
142 write_reg(par, 0x0021, xs); set_addr_win()
146 write_reg(par, 0x0021, HEIGHT - 1 - xs); set_addr_win()
H A Dfb_ili9325.c177 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
180 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
185 write_reg(par, 0x0020, xs); set_addr_win()
189 write_reg(par, 0x0020, WIDTH - 1 - xs); set_addr_win()
194 write_reg(par, 0x0021, xs); set_addr_win()
198 write_reg(par, 0x0021, HEIGHT - 1 - xs); set_addr_win()
H A Dfb_s6d1121.c87 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
90 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
95 write_reg(par, 0x0020, xs); set_addr_win()
99 write_reg(par, 0x0020, WIDTH - 1 - xs); set_addr_win()
104 write_reg(par, 0x0021, xs); set_addr_win()
108 write_reg(par, 0x0021, HEIGHT - 1 - xs); set_addr_win()
H A Dfb_ssd1289.c85 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
88 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
94 write_reg(par, 0x4e, xs); set_addr_win()
98 write_reg(par, 0x4e, par->info->var.xres - 1 - xs); set_addr_win()
103 write_reg(par, 0x4f, xs); set_addr_win()
107 write_reg(par, 0x4f, par->info->var.xres - 1 - xs); set_addr_win()
H A Dfb_upd161704.c132 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
135 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
140 write_reg(par, 0x0006, xs); set_addr_win()
144 write_reg(par, 0x0006, WIDTH - 1 - xs); set_addr_win()
149 write_reg(par, 0x0007, xs); set_addr_win()
153 write_reg(par, 0x0007, HEIGHT - 1 - xs); set_addr_win()
H A Dfb_ili9163.c149 static void set_addr_win(struct fbtft_par *par, int xs, int ys, set_addr_win() argument
153 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
157 write_reg(par, CMD_CLMADRS, xs >> 8, xs & 0xff, xe >> 8, set_addr_win()
165 (xs + __OFFSET) >> 8, (xs + __OFFSET) & 0xff, set_addr_win()
172 write_reg(par, CMD_CLMADRS, xs >> 8, xs & 0xff, xe >> 8, set_addr_win()
H A Dfb_ra8875.c193 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
196 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
199 write_reg(par, 0x30, xs & 0x00FF); set_addr_win()
200 write_reg(par, 0x31, (xs & 0xFF00) >> 8); set_addr_win()
203 write_reg(par, 0x34, (xs+xe) & 0x00FF); set_addr_win()
204 write_reg(par, 0x35, ((xs+xe) & 0xFF00) >> 8); set_addr_win()
209 write_reg(par, 0x46, xs & 0xff); set_addr_win()
210 write_reg(par, 0x47, (xs >> 8) & 0x03); set_addr_win()
H A Dfb_ssd1331.c55 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
58 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
60 write_reg(par, 0x15, xs, xe); set_addr_win()
H A Dfb_pcd8544.c102 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
104 fbtft_par_dbg(DEBUG_SET_ADDR_WIN, par, "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", set_addr_win()
105 __func__, xs, ys, xe, ye); set_addr_win()
H A Dfb_tls8204.c84 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
86 fbtft_par_dbg(DEBUG_SET_ADDR_WIN, par, "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
H A Dfb_uc1701.c132 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
134 fbtft_par_dbg(DEBUG_SET_ADDR_WIN, par, "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
H A Dfb_ssd1351.c62 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
65 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
67 write_reg(par, 0x15, xs, xe); set_addr_win()
H A Dfb_ssd1306.c133 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
136 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); set_addr_win()
H A Dfb_hx8340bn.c109 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
111 write_reg(par, FBTFT_CASET, 0x00, xs, 0x00, xe); set_addr_win()
H A Dfbtft_device.c132 int xs, int ys, int xe, int ye);
1173 int xs, int ys, int xe, int ye) adafruit18_green_tab_set_addr_win()
1176 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); adafruit18_green_tab_set_addr_win()
1177 write_reg(par, 0x2A, 0, xs + 2, 0, xe + 2); adafruit18_green_tab_set_addr_win()
1172 adafruit18_green_tab_set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) adafruit18_green_tab_set_addr_win() argument
H A Dfb_watterott.c199 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) set_addr_win() argument
H A Dfbtft-core.c331 static void fbtft_set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, fbtft_set_addr_win() argument
335 "%s(xs=%d, ys=%d, xe=%d, ye=%d)\n", __func__, xs, ys, xe, ye); fbtft_set_addr_win()
339 (xs >> 8) & 0xFF, xs & 0xFF, (xe >> 8) & 0xFF, xe & 0xFF); fbtft_set_addr_win()
H A Dfbtft.h91 int xs, int ys, int xe, int ye);
/linux-4.1.27/tools/perf/scripts/perl/Perf-Trace-Util/
H A DContext.c3 * contents of Context.xs. Do not edit this file, edit Context.xs instead.
12 #line 1 "Context.xs"
14 * Context.xs. XS interfaces for perf script.
/linux-4.1.27/arch/x86/boot/
H A Dvideo.c259 int xs = boot_params.screen_info.orig_video_cols; restore_screen() local
279 int copy = (xs < saved.x) ? xs : saved.x; restore_screen()
283 npad = (xs < saved.x) ? 0 : xs-saved.x; restore_screen()
285 npad = xs; restore_screen()
303 if (saved.curx >= xs) restore_screen()
304 saved.curx = xs-1; restore_screen()
/linux-4.1.27/drivers/tty/vt/
H A Dselection.c170 { unsigned short xs, ys, xe, ye; set_selection() local
174 __get_user(xs, &sel->xs); set_selection()
179 xs--; ys--; xe--; ye--; set_selection()
180 xs = limit(xs, vc->vc_cols - 1); set_selection()
184 ps = ys * vc->vc_size_row + (xs << 1); set_selection()
194 mouse_report(tty, sel_mode & TIOCL_SELBUTTONMASK, xs, ys); set_selection()
/linux-4.1.27/arch/nios2/lib/
H A Dmemset.c24 char *xs = (char *) s; memset() local
27 *xs++ = c; memset()
/linux-4.1.27/arch/arm/boot/compressed/
H A Dstring.c118 char *xs = s; memset() local
120 *xs++ = c; memset()
/linux-4.1.27/fs/ocfs2/
H A Dxattr.c260 struct ocfs2_xattr_search *xs);
265 struct ocfs2_xattr_search *xs);
273 struct ocfs2_xattr_search *xs,
278 struct ocfs2_xattr_search *xs,
1063 struct ocfs2_xattr_search *xs) ocfs2_xattr_find_entry()
1073 entry = xs->here; ocfs2_xattr_find_entry()
1074 for (i = 0; i < le16_to_cpu(xs->header->xh_count); i++) { ocfs2_xattr_find_entry()
1079 cmp = memcmp(name, (xs->base + ocfs2_xattr_find_entry()
1086 xs->here = entry; ocfs2_xattr_find_entry()
1148 struct ocfs2_xattr_search *xs) ocfs2_xattr_ibody_get()
1151 struct ocfs2_dinode *di = (struct ocfs2_dinode *)xs->inode_bh->b_data; ocfs2_xattr_ibody_get()
1159 xs->end = (void *)di + inode->i_sb->s_blocksize; ocfs2_xattr_ibody_get()
1160 xs->header = (struct ocfs2_xattr_header *) ocfs2_xattr_ibody_get()
1161 (xs->end - le16_to_cpu(di->i_xattr_inline_size)); ocfs2_xattr_ibody_get()
1162 xs->base = (void *)xs->header; ocfs2_xattr_ibody_get()
1163 xs->here = xs->header->xh_entries; ocfs2_xattr_ibody_get()
1165 ret = ocfs2_xattr_find_entry(name_index, name, xs); ocfs2_xattr_ibody_get()
1168 size = le64_to_cpu(xs->here->xe_value_size); ocfs2_xattr_ibody_get()
1172 if (ocfs2_xattr_is_local(xs->here)) { ocfs2_xattr_ibody_get()
1173 memcpy(buffer, (void *)xs->base + ocfs2_xattr_ibody_get()
1174 le16_to_cpu(xs->here->xe_name_offset) + ocfs2_xattr_ibody_get()
1175 OCFS2_XATTR_SIZE(xs->here->xe_name_len), size); ocfs2_xattr_ibody_get()
1178 (xs->base + le16_to_cpu( ocfs2_xattr_ibody_get()
1179 xs->here->xe_name_offset) + ocfs2_xattr_ibody_get()
1180 OCFS2_XATTR_SIZE(xs->here->xe_name_len)); ocfs2_xattr_ibody_get()
1198 struct ocfs2_xattr_search *xs) ocfs2_xattr_block_get()
1206 xs->bucket = ocfs2_xattr_bucket_new(inode); ocfs2_xattr_block_get()
1207 if (!xs->bucket) { ocfs2_xattr_block_get()
1213 ret = ocfs2_xattr_block_find(inode, name_index, name, xs); ocfs2_xattr_block_get()
1219 if (xs->not_found) { ocfs2_xattr_block_get()
1224 xb = (struct ocfs2_xattr_block *)xs->xattr_bh->b_data; ocfs2_xattr_block_get()
1225 size = le64_to_cpu(xs->here->xe_value_size); ocfs2_xattr_block_get()
1231 name_offset = le16_to_cpu(xs->here->xe_name_offset); ocfs2_xattr_block_get()
1232 name_len = OCFS2_XATTR_SIZE(xs->here->xe_name_len); ocfs2_xattr_block_get()
1233 i = xs->here - xs->header->xh_entries; ocfs2_xattr_block_get()
1237 bucket_xh(xs->bucket), ocfs2_xattr_block_get()
1245 xs->base = bucket_block(xs->bucket, block_off); ocfs2_xattr_block_get()
1247 if (ocfs2_xattr_is_local(xs->here)) { ocfs2_xattr_block_get()
1248 memcpy(buffer, (void *)xs->base + ocfs2_xattr_block_get()
1252 (xs->base + name_offset + name_len); ocfs2_xattr_block_get()
1263 ocfs2_xattr_bucket_free(xs->bucket); ocfs2_xattr_block_get()
1265 brelse(xs->xattr_bh); ocfs2_xattr_block_get()
1266 xs->xattr_bh = NULL; ocfs2_xattr_block_get()
2665 struct ocfs2_xattr_search *xs) ocfs2_xattr_ibody_find()
2668 struct ocfs2_dinode *di = (struct ocfs2_dinode *)xs->inode_bh->b_data; ocfs2_xattr_ibody_find()
2683 xs->xattr_bh = xs->inode_bh; ocfs2_xattr_ibody_find()
2684 xs->end = (void *)di + inode->i_sb->s_blocksize; ocfs2_xattr_ibody_find()
2686 xs->header = (struct ocfs2_xattr_header *) ocfs2_xattr_ibody_find()
2687 (xs->end - le16_to_cpu(di->i_xattr_inline_size)); ocfs2_xattr_ibody_find()
2689 xs->header = (struct ocfs2_xattr_header *) ocfs2_xattr_ibody_find()
2690 (xs->end - OCFS2_SB(inode->i_sb)->s_xattr_inline_size); ocfs2_xattr_ibody_find()
2691 xs->base = (void *)xs->header; ocfs2_xattr_ibody_find()
2692 xs->here = xs->header->xh_entries; ocfs2_xattr_ibody_find()
2696 ret = ocfs2_xattr_find_entry(name_index, name, xs); ocfs2_xattr_ibody_find()
2699 xs->not_found = ret; ocfs2_xattr_ibody_find()
2760 struct ocfs2_xattr_search *xs, ocfs2_xattr_ibody_set()
2772 ret = ocfs2_xattr_ibody_init(inode, xs->inode_bh, ctxt); ocfs2_xattr_ibody_set()
2780 ocfs2_init_dinode_xa_loc(&loc, inode, xs->inode_bh, ocfs2_xattr_ibody_set()
2781 xs->not_found ? NULL : xs->here); ocfs2_xattr_ibody_set()
2788 xs->here = loc.xl_entry; ocfs2_xattr_ibody_set()
2805 struct ocfs2_xattr_search *xs) ocfs2_xattr_block_find()
2807 struct ocfs2_dinode *di = (struct ocfs2_dinode *)xs->inode_bh->b_data; ocfs2_xattr_block_find()
2822 xs->xattr_bh = blk_bh; ocfs2_xattr_block_find()
2826 xs->header = &xb->xb_attrs.xb_header; ocfs2_xattr_block_find()
2827 xs->base = (void *)xs->header; ocfs2_xattr_block_find()
2828 xs->end = (void *)(blk_bh->b_data) + blk_bh->b_size; ocfs2_xattr_block_find()
2829 xs->here = xs->header->xh_entries; ocfs2_xattr_block_find()
2831 ret = ocfs2_xattr_find_entry(name_index, name, xs); ocfs2_xattr_block_find()
2835 name, xs); ocfs2_xattr_block_find()
2838 xs->xattr_bh = NULL; ocfs2_xattr_block_find()
2841 xs->not_found = ret; ocfs2_xattr_block_find()
2943 struct ocfs2_xattr_search *xs, ocfs2_xattr_block_set()
2951 if (!xs->xattr_bh) { ocfs2_xattr_block_set()
2952 ret = ocfs2_create_xattr_block(inode, xs->inode_bh, ctxt, ocfs2_xattr_block_set()
2959 xs->xattr_bh = new_bh; ocfs2_xattr_block_set()
2960 xblk = (struct ocfs2_xattr_block *)xs->xattr_bh->b_data; ocfs2_xattr_block_set()
2961 xs->header = &xblk->xb_attrs.xb_header; ocfs2_xattr_block_set()
2962 xs->base = (void *)xs->header; ocfs2_xattr_block_set()
2963 xs->end = (void *)xblk + inode->i_sb->s_blocksize; ocfs2_xattr_block_set()
2964 xs->here = xs->header->xh_entries; ocfs2_xattr_block_set()
2966 xblk = (struct ocfs2_xattr_block *)xs->xattr_bh->b_data; ocfs2_xattr_block_set()
2969 ocfs2_init_xattr_block_xa_loc(&loc, inode, xs->xattr_bh, ocfs2_xattr_block_set()
2970 xs->not_found ? NULL : xs->here); ocfs2_xattr_block_set()
2974 xs->here = loc.xl_entry; ocfs2_xattr_block_set()
2978 ret = ocfs2_xattr_create_index_block(inode, xs, ctxt); ocfs2_xattr_block_set()
2985 ret = ocfs2_xattr_set_entry_index_block(inode, xi, xs, ctxt); ocfs2_xattr_block_set()
2994 struct ocfs2_xattr_search *xs) ocfs2_xattr_can_be_in_inode()
2998 size_t min_offs = xs->end - xs->base; ocfs2_xattr_can_be_in_inode()
3000 if (!xs->header) ocfs2_xattr_can_be_in_inode()
3003 last = xs->header->xh_entries; ocfs2_xattr_can_be_in_inode()
3005 for (i = 0; i < le16_to_cpu(xs->header->xh_count); i++) { ocfs2_xattr_can_be_in_inode()
3012 free = min_offs - ((void *)last - xs->base) - OCFS2_XATTR_HEADER_GAP; ocfs2_xattr_can_be_in_inode()
3016 BUG_ON(!xs->not_found); ocfs2_xattr_can_be_in_inode()
3808 struct ocfs2_xattr_search *xs) ocfs2_xattr_bucket_find()
3891 ret = ocfs2_read_xattr_bucket(xs->bucket, lower_blkno); ocfs2_xattr_bucket_find()
3897 xs->header = bucket_xh(xs->bucket); ocfs2_xattr_bucket_find()
3898 xs->base = bucket_block(xs->bucket, 0); ocfs2_xattr_bucket_find()
3899 xs->end = xs->base + inode->i_sb->s_blocksize; ocfs2_xattr_bucket_find()
3902 xs->here = &xs->header->xh_entries[index]; ocfs2_xattr_bucket_find()
3905 (unsigned long long)bucket_blkno(xs->bucket), ocfs2_xattr_bucket_find()
3919 struct ocfs2_xattr_search *xs) ocfs2_xattr_index_block_find()
3953 p_blkno, first_hash, num_clusters, xs); ocfs2_xattr_index_block_find()
4247 struct ocfs2_xattr_search *xs, ocfs2_xattr_update_xattr_search()
4255 xs->header = bucket_xh(xs->bucket); ocfs2_xattr_update_xattr_search()
4256 xs->base = bucket_block(xs->bucket, 0); ocfs2_xattr_update_xattr_search()
4257 xs->end = xs->base + inode->i_sb->s_blocksize; ocfs2_xattr_update_xattr_search()
4259 if (xs->not_found) ocfs2_xattr_update_xattr_search()
4262 i = xs->here - old_xh->xh_entries; ocfs2_xattr_update_xattr_search()
4263 xs->here = &xs->header->xh_entries[i]; ocfs2_xattr_update_xattr_search()
4267 struct ocfs2_xattr_search *xs, ocfs2_xattr_create_index_block()
4275 struct buffer_head *xb_bh = xs->xattr_bh; ocfs2_xattr_create_index_block()
4285 BUG_ON(!xs->bucket); ocfs2_xattr_create_index_block()
4317 ret = ocfs2_init_xattr_bucket(xs->bucket, blkno, 1); ocfs2_xattr_create_index_block()
4323 ret = ocfs2_xattr_bucket_journal_access(handle, xs->bucket, ocfs2_xattr_create_index_block()
4330 ocfs2_cp_xattr_block_to_bucket(inode, xb_bh, xs->bucket); ocfs2_xattr_create_index_block()
4331 ocfs2_xattr_bucket_journal_dirty(handle, xs->bucket); ocfs2_xattr_create_index_block()
4333 ocfs2_xattr_update_xattr_search(inode, xs, xb_bh); ocfs2_xattr_create_index_block()
5540 struct ocfs2_xattr_search *xs, ocfs2_xattr_set_entry_bucket()
5548 ocfs2_init_xattr_bucket_xa_loc(&loc, xs->bucket, ocfs2_xattr_set_entry_bucket()
5549 xs->not_found ? NULL : xs->here); ocfs2_xattr_set_entry_bucket()
5552 xs->here = loc.xl_entry; ocfs2_xattr_set_entry_bucket()
5562 xs->bucket); ocfs2_xattr_set_entry_bucket()
5570 xs->here = loc.xl_entry; ocfs2_xattr_set_entry_bucket()
5583 struct ocfs2_xattr_search *xs, ocfs2_xattr_set_entry_index_block()
5590 ret = ocfs2_xattr_set_entry_bucket(inode, xi, xs, ctxt); ocfs2_xattr_set_entry_index_block()
5607 xs->bucket, ocfs2_xattr_set_entry_index_block()
5615 xs->xattr_bh, ocfs2_xattr_set_entry_index_block()
5616 xs->bucket, ocfs2_xattr_set_entry_index_block()
5625 * xs->bucket if it moved, but it will not have updated ocfs2_xattr_set_entry_index_block()
5630 ocfs2_xattr_bucket_relse(xs->bucket); ocfs2_xattr_set_entry_index_block()
5631 ret = ocfs2_xattr_index_block_find(inode, xs->xattr_bh, ocfs2_xattr_set_entry_index_block()
5633 xi->xi_name, xs); ocfs2_xattr_set_entry_index_block()
5636 xs->not_found = ret; ocfs2_xattr_set_entry_index_block()
5639 ret = ocfs2_xattr_set_entry_bucket(inode, xi, xs, ctxt); ocfs2_xattr_set_entry_index_block()
1061 ocfs2_xattr_find_entry(int name_index, const char *name, struct ocfs2_xattr_search *xs) ocfs2_xattr_find_entry() argument
1143 ocfs2_xattr_ibody_get(struct inode *inode, int name_index, const char *name, void *buffer, size_t buffer_size, struct ocfs2_xattr_search *xs) ocfs2_xattr_ibody_get() argument
1193 ocfs2_xattr_block_get(struct inode *inode, int name_index, const char *name, void *buffer, size_t buffer_size, struct ocfs2_xattr_search *xs) ocfs2_xattr_block_get() argument
2662 ocfs2_xattr_ibody_find(struct inode *inode, int name_index, const char *name, struct ocfs2_xattr_search *xs) ocfs2_xattr_ibody_find() argument
2758 ocfs2_xattr_ibody_set(struct inode *inode, struct ocfs2_xattr_info *xi, struct ocfs2_xattr_search *xs, struct ocfs2_xattr_set_ctxt *ctxt) ocfs2_xattr_ibody_set() argument
2802 ocfs2_xattr_block_find(struct inode *inode, int name_index, const char *name, struct ocfs2_xattr_search *xs) ocfs2_xattr_block_find() argument
2941 ocfs2_xattr_block_set(struct inode *inode, struct ocfs2_xattr_info *xi, struct ocfs2_xattr_search *xs, struct ocfs2_xattr_set_ctxt *ctxt) ocfs2_xattr_block_set() argument
2992 ocfs2_xattr_can_be_in_inode(struct inode *inode, struct ocfs2_xattr_info *xi, struct ocfs2_xattr_search *xs) ocfs2_xattr_can_be_in_inode() argument
3801 ocfs2_xattr_bucket_find(struct inode *inode, int name_index, const char *name, u32 name_hash, u64 p_blkno, u32 first_hash, u32 num_clusters, struct ocfs2_xattr_search *xs) ocfs2_xattr_bucket_find() argument
3915 ocfs2_xattr_index_block_find(struct inode *inode, struct buffer_head *root_bh, int name_index, const char *name, struct ocfs2_xattr_search *xs) ocfs2_xattr_index_block_find() argument
4246 ocfs2_xattr_update_xattr_search(struct inode *inode, struct ocfs2_xattr_search *xs, struct buffer_head *old_bh) ocfs2_xattr_update_xattr_search() argument
4266 ocfs2_xattr_create_index_block(struct inode *inode, struct ocfs2_xattr_search *xs, struct ocfs2_xattr_set_ctxt *ctxt) ocfs2_xattr_create_index_block() argument
5538 ocfs2_xattr_set_entry_bucket(struct inode *inode, struct ocfs2_xattr_info *xi, struct ocfs2_xattr_search *xs, struct ocfs2_xattr_set_ctxt *ctxt) ocfs2_xattr_set_entry_bucket() argument
5581 ocfs2_xattr_set_entry_index_block(struct inode *inode, struct ocfs2_xattr_info *xi, struct ocfs2_xattr_search *xs, struct ocfs2_xattr_set_ctxt *ctxt) ocfs2_xattr_set_entry_index_block() argument
/linux-4.1.27/arch/s390/boot/compressed/
H A Dmisc.c75 char *xs; memset() local
77 xs = s; memset()
79 *xs++ = c; memset()
/linux-4.1.27/include/trace/events/
H A Dsunrpc.h412 TP_PROTO(struct sock_xprt *xs),
414 TP_ARGS(xs),
417 __string(addr, xs->xprt.address_strings[RPC_DISPLAY_ADDR])
418 __string(port, xs->xprt.address_strings[RPC_DISPLAY_PORT])
427 __assign_str(addr, xs->xprt.address_strings[RPC_DISPLAY_ADDR]);
428 __assign_str(port, xs->xprt.address_strings[RPC_DISPLAY_PORT]);
429 __entry->xid = xs->tcp_xid;
430 __entry->flags = xs->tcp_flags;
431 __entry->copied = xs->tcp_copied;
432 __entry->reclen = xs->tcp_reclen;
433 __entry->offset = xs->tcp_offset;
/linux-4.1.27/drivers/media/rc/keymaps/
H A Drc-terratec-cinergy-xs.c1 /* terratec-cinergy-xs.h - Keytable for terratec_cinergy_xs Remote Controller
H A Drc-nec-terratec-cinergy-xs.c1 /* nec-terratec-cinergy-xs.h - Keytable for nec_terratec_cinergy_xs Remote Controller
/linux-4.1.27/include/uapi/linux/
H A Dtiocl.h14 unsigned short xs; /* X start */ member in struct:tiocl_selection
/linux-4.1.27/drivers/net/fddi/skfp/h/
H A Dskfbi.h428 #define B5_XS_D 0x02c0 /* 4*32 bit current transmit Descriptor (xs) */
429 #define B5_XS_DA 0x02d0 /* 32 bit current tx desc address (xs) */
430 #define B5_XS_AC 0x02d4 /* 32 bit current transmit Address Count(xs) */
431 #define B5_XS_BC 0x02d8 /* 32 bit current transmit Byte Counter (xs) */
432 #define B5_XS_CSR 0x02dc /* 32 bit BMU Control/Status Register (xs) */
433 #define B5_XS_F 0x02e0 /* 32 bit flag register (xs) */
434 #define B5_XS_T1 0x02e4 /* 32 bit Test Register 1 (xs) */
435 #define B5_XS_T1_TR 0x02e4 /* 8 bit Test Register 1 TR (xs) */
436 #define B5_XS_T1_WR 0x02e5 /* 8 bit Test Register 1 WR (xs) */
437 #define B5_XS_T1_RD 0x02e6 /* 8 bit Test Register 1 RD (xs) */
438 #define B5_XS_T1_SV 0x02e7 /* 8 bit Test Register 1 SV (xs) */
439 #define B5_XS_T2 0x02e8 /* 32 bit Test Register 2 (xs) */
440 #define B5_XS_T3 0x02ec /* 32 bit Test Register 3 (xs) */
550 #define IS_XS_B (1L<<2) /* Bit 2: End of Buffer (xs) */
551 #define IS_XS_F (1L<<1) /* Bit 1: End of Frame (xs) */
552 #define IS_XS_C (1L<<0) /* Bit 0: Encoding Error (xs) */
599 #define IRQ_XS_B (1L<<2) /* Bit 2: End of Buffer (xs) */
600 #define IRQ_XS_F (1L<<1) /* Bit 1: End of Frame (xs) */
601 #define IRQ_XS_C (1L<<0) /* Bit 0: Encoding Error (xs) */
752 /* B5_XS_D 4*32 bit current receive Descriptor (xs) */
753 /* B5_XS_DA 32 bit current rec desc address (xs) */
754 /* B5_XS_AC 32 bit current receive Address Count (xs) */
755 /* B5_XS_BC 32 bit current receive Byte Counter (xs) */
756 /* B5_XS_CSR 32 bit BMU Control/Status Register (xs) */
757 /* B5_XS_F 32 bit flag register (xs) */
758 /* B5_XS_T1 32 bit Test Register 1 (xs) */
759 /* B5_XS_T2 32 bit Test Register 2 (xs) */
760 /* B5_XS_T3 32 bit Test Register 3 (xs) */
/linux-4.1.27/drivers/usb/serial/
H A Doti6858.c669 struct oti6858_control_pkt *xs = urb->transfer_buffer; oti6858_read_int_callback() local
675 if (!OTI6858_CTRL_EQUALS_PENDING(xs, priv)) { oti6858_read_int_callback()
676 if (xs->rx_bytes_avail == 0) { oti6858_read_int_callback()
685 if (OTI6858_CTRL_EQUALS_PENDING(xs, priv)) { oti6858_read_int_callback()
690 if (xs->rx_bytes_avail == 0) { oti6858_read_int_callback()
701 u8 delta = xs->pin_state ^ priv->status.pin_state; oti6858_read_int_callback()
716 memcpy(&priv->status, xs, OTI6858_CTRL_PKT_SIZE); oti6858_read_int_callback()
719 if (!priv->transient && xs->rx_bytes_avail != 0) { oti6858_read_int_callback()
720 can_recv = xs->rx_bytes_avail; oti6858_read_int_callback()
/linux-4.1.27/drivers/input/touchscreen/
H A Dlpc32xx_ts.c89 u32 tmp, rv[4], xs[4], ys[4]; lpc32xx_ts_interrupt() local
112 xs[idx] = LPC32XX_TSC_ADCDAT_VALUE_MASK - lpc32xx_ts_interrupt()
123 input_report_abs(input, ABS_X, (xs[1] + xs[2]) / 2); lpc32xx_ts_interrupt()
/linux-4.1.27/include/media/
H A Drc-map.h174 #define RC_MAP_NEC_TERRATEC_CINERGY_XS "rc-nec-terratec-cinergy-xs"
198 #define RC_MAP_TERRATEC_CINERGY_XS "rc-terratec-cinergy-xs"
/linux-4.1.27/drivers/video/console/
H A Dnewport_con.c690 short xs, ys, xe, ye, xoffs, yoffs, tmp; newport_bmove() local
692 xs = sx << 3; newport_bmove()
705 xe = xs; newport_bmove()
706 xs = tmp; newport_bmove()
712 npregs->set.xystarti = (xs << 16) | ys; newport_bmove()
/linux-4.1.27/drivers/block/paride/
H A Dpg.c421 static void xs(char *buf, char *targ, int len) xs() function
452 xs(buf + 8, mf, 8); pg_identify()
453 xs(buf + 16, id, 16); pg_identify()
H A Dpt.c503 static void xs(char *buf, char *targ, int offs, int len) xs() function
551 xs(buf, mf, 8, 8); pt_identify()
552 xs(buf, id, 16, 16); pt_identify()
H A Dpf.c579 static void xs(char *buf, char *targ, int offs, int len) xs() function
645 xs(buf, mf, 8, 8); pf_identify()
646 xs(buf, id, 16, 16); pf_identify()
/linux-4.1.27/lib/
H A Dstring.c584 char *xs = s; memset() local
587 *xs++ = c; memset()
/linux-4.1.27/drivers/xen/xenbus/
H A Dxenbus_xs.c4 * This is the kernel equivalent of the "xs" library. We don't need everything
265 /* Send message to xs, get kmalloc'ed reply. ERR_PTR() on error. */ xs_talkv()
/linux-4.1.27/drivers/media/platform/soc_camera/
H A Drcar_vin.c985 static void set_coeff(struct rcar_vin_priv *priv, unsigned short xs) set_coeff() argument
996 if (xs < p_set->xs_value) set_coeff()
1002 xs - p_prev_set->xs_value < p_set->xs_value - xs) set_coeff()
/linux-4.1.27/drivers/dma/
H A Dpl330.c1379 struct _xfer_spec xs; pl330_submit_req() local
1418 xs.ccr = ccr; pl330_submit_req()
1419 xs.desc = desc; pl330_submit_req()
1422 ret = _setup_req(1, thrd, idx, &xs); pl330_submit_req()
1436 _setup_req(0, thrd, idx, &xs); pl330_submit_req()
/linux-4.1.27/drivers/block/
H A Dxsysace.c1009 snprintf(ace->gd->disk_name, 32, "xs%c", ace->id + 'a'); ace_setup()
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c441 pr_info("RWB[desc] [cs ipid mrq] [vt ln xe xs] [bi->skb] <-- Ext (Write-Back) format\n"); e1000e_dump()

Completed in 2035 milliseconds