/linux/io_uring/ |
H A D | statx.c | 25 struct io_statx *sx = io_kiocb_to_cmd(req, struct io_statx); in io_statx_prep() local 33 sx->dfd = READ_ONCE(sqe->fd); in io_statx_prep() 34 sx->mask = READ_ONCE(sqe->len); in io_statx_prep() 36 sx->buffer = u64_to_user_ptr(READ_ONCE(sqe->addr2)); in io_statx_prep() 37 sx->flags = READ_ONCE(sqe->statx_flags); in io_statx_prep() 39 sx->filename = getname_flags(path, in io_statx_prep() 40 getname_statx_lookup_flags(sx->flags)); in io_statx_prep() 42 if (IS_ERR(sx->filename)) { in io_statx_prep() 43 int ret = PTR_ERR(sx->filename); in io_statx_prep() 45 sx->filename = NULL; in io_statx_prep() [all …]
|
/linux/drivers/video/fbdev/ |
H A D | atafb_iplan2p2.c | 24 int sy, int sx, int dy, int dx, in atafb_iplan2p2_copyarea() argument 43 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in atafb_iplan2p2_copyarea() 46 if (!((sx ^ dx) & 15)) { in atafb_iplan2p2_copyarea() 50 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 52 if (sx & 15) { in atafb_iplan2p2_copyarea() 75 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 78 if ((sx + width) & 15) { in atafb_iplan2p2_copyarea() 97 if (sx & 15) in atafb_iplan2p2_copyarea() 109 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 115 if (sx & 15) { in atafb_iplan2p2_copyarea() [all …]
|
H A D | atafb.h | 5 void atafb_mfb_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, 8 int sy, int sx, int height, int width); 13 void atafb_iplan2p2_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, 16 int sy, int sx, int height, int width); 21 void atafb_iplan2p4_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, 24 int sy, int sx, int height, int width); 29 void atafb_iplan2p8_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy, 32 int sy, int sx, int height, int width);
|
H A D | atafb_iplan2p4.c | 24 int sy, int sx, int dy, int dx, in atafb_iplan2p4_copyarea() argument 43 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in atafb_iplan2p4_copyarea() 46 if (!((sx ^ dx) & 15)) { in atafb_iplan2p4_copyarea() 50 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 52 if (sx & 15) { in atafb_iplan2p4_copyarea() 75 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 78 if ((sx + width) & 15) { in atafb_iplan2p4_copyarea() 97 if (sx & 15) in atafb_iplan2p4_copyarea() 109 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 115 if (sx & 15) { in atafb_iplan2p4_copyarea() [all …]
|
H A D | atafb_iplan2p8.c | 31 int sy, int sx, int dy, int dx, in atafb_iplan2p8_copyarea() argument 50 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in atafb_iplan2p8_copyarea() 53 if (!((sx ^ dx) & 15)) { in atafb_iplan2p8_copyarea() 57 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 59 if (sx & 15) { in atafb_iplan2p8_copyarea() 82 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 85 if ((sx + width) & 15) { in atafb_iplan2p8_copyarea() 104 if (sx & 15) in atafb_iplan2p8_copyarea() 116 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 122 if (sx & 15) { in atafb_iplan2p8_copyarea() [all …]
|
H A D | atafb_mfb.c | 24 int sy, int sx, int dy, int dx, in atafb_mfb_copyarea() argument 30 if (sx == 0 && dx == 0 && width == next_line) { in atafb_mfb_copyarea() 35 src = (u8 *)info->screen_base + sy * next_line + (sx >> 3); in atafb_mfb_copyarea() 43 src = (u8 *)info->screen_base + (sy + height - 1) * next_line + (sx >> 3); in atafb_mfb_copyarea() 54 int sy, int sx, int height, int width) in atafb_mfb_fillrect() argument 59 dest = (u8 *)info->screen_base + sy * next_line + (sx >> 3); in atafb_mfb_fillrect() 61 if (sx == 0 && width == next_line) { in atafb_mfb_fillrect()
|
H A D | dnfb.c | 162 (area->sx >> 4)); in dnfb_copyarea() 166 y_delta = (info->fix.line_length * 8) - area->sx - area->width; in dnfb_copyarea() 172 (((area->dx & 0xf) - (area->sx & 0xf)) % 16) | (0x4 << 5)); in dnfb_copyarea() 173 if ((area->dx & 0xf) < (area->sx & 0xf)) in dnfb_copyarea() 176 y_delta = -((info->fix.line_length * 8) - area->sx - area->width); in dnfb_copyarea() 182 ((-((area->sx & 0xf) - (area->dx & 0xf))) % 16) | in dnfb_copyarea() 184 if ((area->dx & 0xf) > (area->sx & 0xf)) in dnfb_copyarea()
|
H A D | vga16fb.c | 978 u32 sx, dx, width; in vga_8planes_copyarea() local 984 sx = area->sx / 4; in vga_8planes_copyarea() 988 if (area->dy < area->sy || (area->dy == area->sy && dx < sx)) { in vga_8planes_copyarea() 991 src = info->screen_base + sx + area->sy * info->fix.line_length; in vga_8planes_copyarea() 1006 src = info->screen_base + sx + width + in vga_8planes_copyarea() 1028 u32 dx = area->dx, dy = area->dy, sx = area->sx, sy = area->sy; in vga16fb_copyarea() local 1037 if (area->dx > vxres || area->sx > vxres || area->dy > vyres || in vga16fb_copyarea() 1058 if (sx + dx < old_dx || sy + dy < old_dy) in vga16fb_copyarea() 1062 sx += (dx - old_dx); in vga16fb_copyarea() 1066 if (sx + width > vxres || sy + height > vyres) in vga16fb_copyarea() [all …]
|
/linux/drivers/video/fbdev/matrox/ |
H A D | matroxfb_accel.c | 209 int sx, int dy, int dx, int height, int width) in matrox_accel_bmove() argument 218 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_accel_bmove() 225 start = sy*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove() 234 end = (sy+height-1)*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove() 250 int sy, int sx, int dy, int dx, int height, in matrox_accel_bmove_lin() argument 260 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_accel_bmove_lin() 267 start = sy*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove_lin() 276 end = (sy+height-1)*vxres+sx+curr_ydstorg(minfo); in matrox_accel_bmove_lin() 295 if ((area->sx | area->dx | area->width) & 1) in matroxfb_cfb4_copyarea() 298 …matrox_accel_bmove_lin(minfo, minfo->fbcon.var.xres_virtual >> 1, area->sy, area->sx >> 1, area->d… in matroxfb_cfb4_copyarea() [all …]
|
/linux/arch/powerpc/boot/dts/ |
H A D | eiger.dts | 54 compatible = "ibm,uic-460sx","ibm,uic"; 64 compatible = "ibm,uic-460sx","ibm,uic"; 76 compatible = "ibm,uic-460sx","ibm,uic"; 88 compatible = "ibm,uic-460sx","ibm,uic"; 100 compatible = "ibm,sdr-460sx"; 105 compatible = "ibm,cpr-460sx"; 110 compatible = "ibm,plb-460sx", "ibm,plb4"; 117 compatible = "ibm,sdram-460sx", "ibm,sdram-405gp"; 122 compatible = "ibm,mcmal-460sx", "ibm,mcmal2"; 145 compatible = "ibm,opb-460sx", "ibm,opb"; [all …]
|
H A D | redwood.dts | 50 compatible = "ibm,uic-460sx","ibm,uic"; 60 compatible = "ibm,uic-460sx","ibm,uic"; 72 compatible = "ibm,uic-460sx","ibm,uic"; 84 compatible = "ibm,uic-460sx","ibm,uic"; 96 compatible = "ibm,sdr-460sx"; 101 compatible = "ibm,cpr-460sx"; 106 compatible = "ibm,plb-460sx", "ibm,plb4"; 113 compatible = "ibm,sdram-460sx", "ibm,sdram-405gp"; 118 compatible = "ibm,mcmal-460sx", "ibm,mcmal2"; 141 compatible = "ibm,opb-460sx", "ibm,opb"; [all …]
|
/linux/drivers/video/fbdev/core/ |
H A D | tileblit.c | 20 int sx, int dy, int dx, int height, int width) in tile_bmove() argument 24 area.sx = sx; in tile_bmove() 35 int sx, int height, int width) in tile_clear() argument 45 rect.sx = sx; in tile_clear() 62 blit.sx = xx; in tile_putcs() 88 cursor.sx = vc->state.x; in tile_cursor()
|
/linux/drivers/video/fbdev/aty/ |
H A D | radeon_accel.c | 102 u32 sx, sy, dx, dy, w, h; in radeonfb_prim_copyarea() local 106 sx = area->sx; sy = area->sy; in radeonfb_prim_copyarea() 107 xdir = sx - dx; in radeonfb_prim_copyarea() 110 if ( xdir < 0 ) { sx += w-1; dx += w-1; } in radeonfb_prim_copyarea() 129 OUTREG(SRC_Y_X, (sy << 16) | sx); in radeonfb_prim_copyarea() 140 modded.sx = area->sx; in radeonfb_copyarea() 160 modded.sx >= vxres || modded.sy >= vyres || in radeonfb_copyarea() 164 if(modded.sx + modded.width > vxres) modded.width = vxres - modded.sx; in radeonfb_copyarea()
|
H A D | mach64_accel.c | 203 u32 sx = area->sx, dx = area->dx, width = area->width, rotation = 0; in atyfb_copyarea() local 217 sx *= 3; in atyfb_copyarea() 228 if (sx < dx) { in atyfb_copyarea() 230 sx += width - 1; in atyfb_copyarea() 241 aty_st_le32(SRC_Y_X, (sx << 16) | sy, par); in atyfb_copyarea()
|
/linux/arch/mips/math-emu/ |
H A D | dp_sqrt.c | 68 ieee754_csr.sx &= ~IEEE754_INEXACT; in ieee754dp_sqrt() 114 ieee754_csr.sx &= ~IEEE754_INEXACT; in ieee754dp_sqrt() 119 if (ieee754_csr.sx & IEEE754_INEXACT || t.bits != y.bits) { in ieee754dp_sqrt() 121 if (!(ieee754_csr.sx & IEEE754_INEXACT)) in ieee754dp_sqrt() 127 oldcsr.sx |= IEEE754_INEXACT; in ieee754dp_sqrt()
|
H A D | ieee754.h | 166 __BITFIELD_FIELD(unsigned sx:5, /* exceptions total */ 202 return (ieee754_csr.sx); in ieee754_getsx() 209 return (ieee754_csr.sx = 0); in ieee754_clrsx() 216 return (ieee754_csr.sx & n); in ieee754_sxtest()
|
/linux/drivers/video/fbdev/savage/ |
H A D | savagefb_accel.c | 34 int sx = region->sx, dx = region->dx; in savagefb_copyarea() local 44 if (dx <= sx) { in savagefb_copyarea() 47 sx += region->width - 1; in savagefb_copyarea() 60 BCI_SEND(BCI_X_Y(sx, sy)); in savagefb_copyarea()
|
/linux/tools/testing/selftests/filesystems/statmount/ |
H A D | statmount_test.c | 89 struct statx sx; in get_mnt_id() local 92 ret = statx(AT_FDCWD, path, 0, mask, &sx); in get_mnt_id() 97 if (!(sx.stx_mask & mask)) in get_mnt_id() 102 return sx.stx_mnt_id; in get_mnt_id() 324 struct statx sx; in test_statmount_sb_basic() local 343 ret = statx(AT_FDCWD, "/", 0, 0, &sx); in test_statmount_sb_basic() 350 if (sm.sb_dev_major != sx.stx_dev_major || in test_statmount_sb_basic() 351 sm.sb_dev_minor != sx.stx_dev_minor) { in test_statmount_sb_basic() 354 sx.stx_dev_major, sx.stx_dev_minor); in test_statmount_sb_basic()
|
H A D | statmount_test_ns.c | 83 struct statx sx; in get_mnt_id() local 86 ret = statx(AT_FDCWD, path, 0, STATX_MNT_ID_UNIQUE, &sx); in get_mnt_id() 93 if (!(sx.stx_mask & STATX_MNT_ID_UNIQUE)) { in get_mnt_id() 98 *mnt_id = sx.stx_mnt_id; in get_mnt_id()
|
/linux/drivers/iommu/ |
H A D | s390-iommu.c | 183 int sx; in dma_free_seg_table() local 185 for (sx = 0; sx < ZPCI_TABLE_ENTRIES; sx++) in dma_free_seg_table() 186 if (reg_entry_isvalid(sto[sx])) in dma_free_seg_table() 187 dma_free_page_table(get_st_pto(sto[sx])); in dma_free_seg_table() 275 unsigned int rtx, sx, px; in dma_walk_cpu_trans() local 282 sx = calc_sx(dma_addr); in dma_walk_cpu_trans() 283 pto = dma_get_page_table_origin(&sto[sx], gfp); in dma_walk_cpu_trans() 648 unsigned int rtx, sx, px; in s390_iommu_iova_to_phys() local 656 sx = calc_sx(iova); in s390_iommu_iova_to_phys() 663 ste = READ_ONCE(sto[sx]); in s390_iommu_iova_to_phys()
|
/linux/drivers/video/fbdev/sis/ |
H A D | sis_accel.c | 374 area->sx >= vxres || area->sy >= vyres || in fbcon_sis_copyarea() 379 if((area->sx + width) > vxres) width = vxres - area->sx; in fbcon_sis_copyarea() 388 if(area->sx < area->dx) xdir = 0; in fbcon_sis_copyarea() 395 SiS300SubsequentScreenToScreenCopy(ivideo, area->sx, area->sy, in fbcon_sis_copyarea() 403 SiS310SubsequentScreenToScreenCopy(ivideo, area->sx, area->sy, in fbcon_sis_copyarea()
|
/linux/drivers/video/fbdev/i810/ |
H A D | i810_accel.c | 329 u32 sx, sy, dx, dy, pitch, width, height, src, dest, xdir; in i810fb_copyarea() local 338 sx = region->sx * par->depth; in i810fb_copyarea() 344 if (dx <= sx) { in i810fb_copyarea() 349 sx += width - 1; in i810fb_copyarea() 360 src = info->fix.smem_start + (sy * info->fix.line_length) + sx; in i810fb_copyarea()
|
/linux/fs/fuse/ |
H A D | dir.c | 1173 static void fuse_statx_to_attr(struct fuse_statx *sx, struct fuse_attr *attr) in fuse_statx_to_attr() argument 1176 attr->ino = sx->ino; in fuse_statx_to_attr() 1177 attr->size = sx->size; in fuse_statx_to_attr() 1178 attr->blocks = sx->blocks; in fuse_statx_to_attr() 1179 attr->atime = sx->atime.tv_sec; in fuse_statx_to_attr() 1180 attr->mtime = sx->mtime.tv_sec; in fuse_statx_to_attr() 1181 attr->ctime = sx->ctime.tv_sec; in fuse_statx_to_attr() 1182 attr->atimensec = sx->atime.tv_nsec; in fuse_statx_to_attr() 1183 attr->mtimensec = sx->mtime.tv_nsec; in fuse_statx_to_attr() 1184 attr->ctimensec = sx->ctime.tv_nsec; in fuse_statx_to_attr() [all …]
|
/linux/drivers/staging/sm750fb/ |
H A D | sm750_accel.c | 150 unsigned int sx, unsigned int sy, in sm750_hw_copyarea() argument 192 if (sx <= dx) { in sm750_hw_copyarea() 219 sx += width - 1; in sm750_hw_copyarea() 270 ((sx << DE_SOURCE_X_K1_SHIFT) & DE_SOURCE_X_K1_MASK) | in sm750_hw_copyarea()
|
/linux/arch/x86/include/asm/uv/ |
H A D | uv_mmrs.h | 579 } sx; member 2305 } sx; member 2408 } sx; member 2511 } sx; member 2614 } sx; member 2843 } sx; member 3009 } sx; member 3413 } sx; member 3477 } sx; member 3540 } sx; member [all …]
|