/linux-2.4.37.9/include/linux/ |
D | fcntl.h | 29 #define IS_GETLK32(cmd) ((cmd) == F_GETLK) argument 30 #define IS_SETLK32(cmd) ((cmd) == F_SETLK) argument 31 #define IS_SETLKW32(cmd) ((cmd) == F_SETLKW) argument 32 #define IS_GETLK64(cmd) ((cmd) == F_GETLK64) argument 33 #define IS_SETLK64(cmd) ((cmd) == F_SETLK64) argument 34 #define IS_SETLKW64(cmd) ((cmd) == F_SETLKW64) argument 36 #define IS_GETLK32(cmd) (0) argument 37 #define IS_SETLK32(cmd) (0) argument 38 #define IS_SETLKW32(cmd) (0) argument 39 #define IS_GETLK64(cmd) ((cmd) == F_GETLK) argument [all …]
|
/linux-2.4.37.9/arch/m68k/atari/ |
D | atakeyb.c | 549 static const char cmd[2] = { 0x80, 0x01 }; in ikbd_reset() local 560 char cmd[2] = { 0x07, mode }; in ikbd_mouse_button_action() local 568 static const char cmd[1] = { 0x08 }; in ikbd_mouse_rel_pos() local 576 char cmd[5] = { 0x09, xmax>>8, xmax&0xFF, ymax>>8, ymax&0xFF }; in ikbd_mouse_abs_pos() local 584 char cmd[3] = { 0x0A, dx, dy }; in ikbd_mouse_kbd_mode() local 592 char cmd[3] = { 0x0B, x, y }; in ikbd_mouse_thresh() local 600 char cmd[3] = { 0x0C, x, y }; in ikbd_mouse_scale() local 608 static const char cmd[1] = { 0x0D }; in ikbd_mouse_pos_get() local 618 char cmd[6] = { 0x0E, 0x00, x>>8, x&0xFF, y>>8, y&0xFF }; in ikbd_mouse_pos_set() local 626 static const char cmd[1] = { 0x0F }; in ikbd_mouse_y0_bot() local [all …]
|
/linux-2.4.37.9/drivers/char/drm-4.0/ |
D | i810_context.c | 98 int i810_resctx(struct inode *inode, struct file *filp, unsigned int cmd, in i810_resctx() 124 int i810_addctx(struct inode *inode, struct file *filp, unsigned int cmd, in i810_addctx() 148 int i810_modctx(struct inode *inode, struct file *filp, unsigned int cmd, in i810_modctx() 155 int i810_getctx(struct inode *inode, struct file *filp, unsigned int cmd, in i810_getctx() 169 int i810_switchctx(struct inode *inode, struct file *filp, unsigned int cmd, in i810_switchctx() 182 int i810_newctx(struct inode *inode, struct file *filp, unsigned int cmd, in i810_newctx() 197 int i810_rmctx(struct inode *inode, struct file *filp, unsigned int cmd, in i810_rmctx()
|
D | r128_context.c | 98 int r128_resctx(struct inode *inode, struct file *filp, unsigned int cmd, in r128_resctx() 125 int r128_addctx(struct inode *inode, struct file *filp, unsigned int cmd, in r128_addctx() 150 int r128_modctx(struct inode *inode, struct file *filp, unsigned int cmd, in r128_modctx() 162 int r128_getctx(struct inode *inode, struct file *filp, unsigned int cmd, in r128_getctx() 176 int r128_switchctx(struct inode *inode, struct file *filp, unsigned int cmd, in r128_switchctx() 189 int r128_newctx(struct inode *inode, struct file *filp, unsigned int cmd, in r128_newctx() 204 int r128_rmctx(struct inode *inode, struct file *filp, unsigned int cmd, in r128_rmctx()
|
D | mga_context.c | 96 int mga_resctx(struct inode *inode, struct file *filp, unsigned int cmd, in mga_resctx() 121 int mga_addctx(struct inode *inode, struct file *filp, unsigned int cmd, in mga_addctx() 143 int mga_modctx(struct inode *inode, struct file *filp, unsigned int cmd, in mga_modctx() 150 int mga_getctx(struct inode *inode, struct file *filp, unsigned int cmd, in mga_getctx() 164 int mga_switchctx(struct inode *inode, struct file *filp, unsigned int cmd, in mga_switchctx() 177 int mga_newctx(struct inode *inode, struct file *filp, unsigned int cmd, in mga_newctx() 192 int mga_rmctx(struct inode *inode, struct file *filp, unsigned int cmd, in mga_rmctx()
|
D | radeon_context.c | 98 int radeon_resctx(struct inode *inode, struct file *filp, unsigned int cmd, in radeon_resctx() 123 int radeon_addctx(struct inode *inode, struct file *filp, unsigned int cmd, in radeon_addctx() 148 int radeon_modctx(struct inode *inode, struct file *filp, unsigned int cmd, in radeon_modctx() 160 int radeon_getctx(struct inode *inode, struct file *filp, unsigned int cmd, in radeon_getctx() 174 int radeon_switchctx(struct inode *inode, struct file *filp, unsigned int cmd, in radeon_switchctx() 187 int radeon_newctx(struct inode *inode, struct file *filp, unsigned int cmd, in radeon_newctx() 202 int radeon_rmctx(struct inode *inode, struct file *filp, unsigned int cmd, in radeon_rmctx()
|
D | tdfx_context.c | 100 int tdfx_resctx(struct inode *inode, struct file *filp, unsigned int cmd, in tdfx_resctx() 127 int tdfx_addctx(struct inode *inode, struct file *filp, unsigned int cmd, in tdfx_addctx() 152 int tdfx_modctx(struct inode *inode, struct file *filp, unsigned int cmd, in tdfx_modctx() 164 int tdfx_getctx(struct inode *inode, struct file *filp, unsigned int cmd, in tdfx_getctx() 178 int tdfx_switchctx(struct inode *inode, struct file *filp, unsigned int cmd, in tdfx_switchctx() 191 int tdfx_newctx(struct inode *inode, struct file *filp, unsigned int cmd, in tdfx_newctx() 206 int tdfx_rmctx(struct inode *inode, struct file *filp, unsigned int cmd, in tdfx_rmctx()
|
D | context.c | 127 int drm_resctx(struct inode *inode, struct file *filp, unsigned int cmd, in drm_resctx() 154 int drm_addctx(struct inode *inode, struct file *filp, unsigned int cmd, in drm_addctx() 175 int drm_modctx(struct inode *inode, struct file *filp, unsigned int cmd, in drm_modctx() 209 int drm_getctx(struct inode *inode, struct file *filp, unsigned int cmd, in drm_getctx() 241 int drm_switchctx(struct inode *inode, struct file *filp, unsigned int cmd, in drm_switchctx() 254 int drm_newctx(struct inode *inode, struct file *filp, unsigned int cmd, in drm_newctx() 269 int drm_rmctx(struct inode *inode, struct file *filp, unsigned int cmd, in drm_rmctx()
|
D | agpsupport.c | 43 int drm_agp_info(struct inode *inode, struct file *filp, unsigned int cmd, in drm_agp_info() 69 int drm_agp_acquire(struct inode *inode, struct file *filp, unsigned int cmd, in drm_agp_acquire() 82 int drm_agp_release(struct inode *inode, struct file *filp, unsigned int cmd, in drm_agp_release() 100 int drm_agp_enable(struct inode *inode, struct file *filp, unsigned int cmd, in drm_agp_enable() 119 int drm_agp_alloc(struct inode *inode, struct file *filp, unsigned int cmd, in drm_agp_alloc() 178 int drm_agp_unbind(struct inode *inode, struct file *filp, unsigned int cmd, in drm_agp_unbind() 195 int drm_agp_bind(struct inode *inode, struct file *filp, unsigned int cmd, in drm_agp_bind() 219 int drm_agp_free(struct inode *inode, struct file *filp, unsigned int cmd, in drm_agp_free()
|
D | ffb_context.c | 384 int ffb_resctx(struct inode *inode, struct file *filp, unsigned int cmd, in ffb_resctx() 411 int ffb_addctx(struct inode *inode, struct file *filp, unsigned int cmd, in ffb_addctx() 432 int ffb_modctx(struct inode *inode, struct file *filp, unsigned int cmd, in ffb_modctx() 461 int ffb_getctx(struct inode *inode, struct file *filp, unsigned int cmd, in ffb_getctx() 493 int ffb_switchctx(struct inode *inode, struct file *filp, unsigned int cmd, in ffb_switchctx() 506 int ffb_newctx(struct inode *inode, struct file *filp, unsigned int cmd, in ffb_newctx() 518 int ffb_rmctx(struct inode *inode, struct file *filp, unsigned int cmd, in ffb_rmctx()
|
D | mga_bufs.c | 38 int mga_addbufs_agp(struct inode *inode, struct file *filp, unsigned int cmd, in mga_addbufs_agp() 205 int mga_addbufs_pci(struct inode *inode, struct file *filp, unsigned int cmd, in mga_addbufs_pci() 373 int mga_addbufs(struct inode *inode, struct file *filp, unsigned int cmd, in mga_addbufs() 389 int mga_infobufs(struct inode *inode, struct file *filp, unsigned int cmd, in mga_infobufs() 454 int mga_markbufs(struct inode *inode, struct file *filp, unsigned int cmd, in mga_markbufs() 484 int mga_freebufs(struct inode *inode, struct file *filp, unsigned int cmd, in mga_freebufs() 524 int mga_mapbufs(struct inode *inode, struct file *filp, unsigned int cmd, in mga_mapbufs()
|
D | i810_bufs.c | 37 int i810_addbufs_agp(struct inode *inode, struct file *filp, unsigned int cmd, in i810_addbufs_agp() 175 int i810_addbufs(struct inode *inode, struct file *filp, unsigned int cmd, in i810_addbufs() 191 int i810_infobufs(struct inode *inode, struct file *filp, unsigned int cmd, in i810_infobufs() 265 int i810_markbufs(struct inode *inode, struct file *filp, unsigned int cmd, in i810_markbufs() 299 int i810_freebufs(struct inode *inode, struct file *filp, unsigned int cmd, in i810_freebufs()
|
D | bufs.c | 48 int drm_addmap(struct inode *inode, struct file *filp, unsigned int cmd, in drm_addmap() 147 int drm_addbufs(struct inode *inode, struct file *filp, unsigned int cmd, in drm_addbufs() 314 int drm_infobufs(struct inode *inode, struct file *filp, unsigned int cmd, in drm_infobufs() 388 int drm_markbufs(struct inode *inode, struct file *filp, unsigned int cmd, in drm_markbufs() 422 int drm_freebufs(struct inode *inode, struct file *filp, unsigned int cmd, in drm_freebufs() 463 int drm_mapbufs(struct inode *inode, struct file *filp, unsigned int cmd, in drm_mapbufs()
|
D | ioctl.c | 35 int drm_irq_busid(struct inode *inode, struct file *filp, unsigned int cmd, in drm_irq_busid() 53 int drm_getunique(struct inode *inode, struct file *filp, unsigned int cmd, in drm_getunique() 72 int drm_setunique(struct inode *inode, struct file *filp, unsigned int cmd, in drm_setunique()
|
/linux-2.4.37.9/arch/sparc64/solaris/ |
D | ioctl.c | 116 static inline int linux_to_solaris_termio(unsigned int fd, unsigned int cmd, u32 arg) in linux_to_solaris_termio() 133 static int solaris_to_linux_termio(unsigned int fd, unsigned int cmd, u32 arg) in solaris_to_linux_termio() 148 static inline int linux_to_solaris_termios(unsigned int fd, unsigned int cmd, u32 arg) in linux_to_solaris_termios() 169 static int solaris_to_linux_termios(unsigned int fd, unsigned int cmd, u32 arg) in solaris_to_linux_termios() 192 static inline int solaris_T(unsigned int fd, unsigned int cmd, u32 arg) in solaris_T() 225 static inline int solaris_t(unsigned int fd, unsigned int cmd, u32 arg) in solaris_t() 241 int cmd, timeout, len; member 288 static inline int solaris_sockmod(unsigned int fd, unsigned int cmd, u32 arg) in solaris_sockmod() 375 static inline int solaris_timod(unsigned int fd, unsigned int cmd, u32 arg, in solaris_timod() 463 static inline int solaris_S(struct file *filp, unsigned int fd, unsigned int cmd, u32 arg) in solaris_S() [all …]
|
/linux-2.4.37.9/drivers/scsi/ |
D | mac53c94.c | 151 mac53c94_queue(Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *)) in mac53c94_queue() argument 188 mac53c94_abort(Scsi_Cmnd *cmd) in mac53c94_abort() 194 mac53c94_reset(Scsi_Cmnd *cmd, unsigned how) in mac53c94_reset() 218 mac53c94_command(Scsi_Cmnd *cmd) in mac53c94_command() 250 Scsi_Cmnd *cmd; in mac53c94_start() local 307 Scsi_Cmnd *cmd = state->current_req; in mac53c94_interrupt() local 461 Scsi_Cmnd *cmd; in cmd_done() local 477 set_dma_cmds(struct fsc_state *state, Scsi_Cmnd *cmd) in set_dma_cmds() 520 data_goes_out(Scsi_Cmnd *cmd) in data_goes_out()
|
D | libata-scsi.c | 96 static void ata_scsi_invalid_field(struct scsi_cmnd *cmd, in ata_scsi_invalid_field() 276 int ata_scsi_ioctl(struct scsi_device *scsidev, int cmd, void __user *arg) in ata_scsi_ioctl() 347 struct scsi_cmnd *cmd, in ata_scsi_qc_new() 546 struct scsi_cmnd *cmd = qc->scsicmd; in ata_gen_ata_desc_sense() local 622 struct scsi_cmnd *cmd = qc->scsicmd; in ata_gen_fixed_sense() local 1174 struct scsi_cmnd *cmd = qc->scsicmd; in ata_scsi_qc_complete() local 1238 struct scsi_cmnd *cmd, in ata_scsi_translate() 1310 static unsigned int ata_scsi_rbuf_get(struct scsi_cmnd *cmd, u8 **buf_out) in ata_scsi_rbuf_get() 1341 static inline void ata_scsi_rbuf_put(struct scsi_cmnd *cmd, u8 *buf) in ata_scsi_rbuf_put() 1373 struct scsi_cmnd *cmd = args->cmd; in ata_scsi_rbuf_fill() local [all …]
|
D | qlogicfas.c | 295 static void ql_icmd(Scsi_Cmnd * cmd) in ql_icmd() 339 static unsigned int ql_pcmd(Scsi_Cmnd * cmd) in ql_pcmd() 484 static void qlidone(Scsi_Cmnd * cmd) {}; /* null function */ in qlidone() 488 int qlogicfas_command(Scsi_Cmnd * cmd) in qlogicfas_command() 511 int qlogicfas_queuecommand(Scsi_Cmnd * cmd, void (*done) (Scsi_Cmnd *)) in qlogicfas_queuecommand() argument 529 int qlogicfas_queuecommand(Scsi_Cmnd * cmd, void (*done) (Scsi_Cmnd *)) in qlogicfas_queuecommand() argument 696 int qlogicfas_abort(Scsi_Cmnd * cmd) in qlogicfas_abort() 705 int qlogicfas_reset(Scsi_Cmnd * cmd, unsigned int ignored) in qlogicfas_reset()
|
D | atari_NCR5380.c | 265 #define NEXT(cmd) ((Scsi_Cmnd *)((cmd)->host_scribble)) argument 266 #define NEXTADDR(cmd) ((Scsi_Cmnd **)&((cmd)->host_scribble)) argument 269 #define H_NO(cmd) (cmd)->host->host_no argument 351 static int is_lun_busy( Scsi_Cmnd *cmd, int should_be_tagged ) in is_lun_busy() 375 static void cmd_get_tag( Scsi_Cmnd *cmd, int should_be_tagged ) in cmd_get_tag() 407 static void cmd_free_tag( Scsi_Cmnd *cmd ) in cmd_free_tag() 462 static void merge_contiguous_buffers( Scsi_Cmnd *cmd ) in merge_contiguous_buffers() 500 static __inline__ void initialize_SCp(Scsi_Cmnd *cmd) in initialize_SCp() 815 lprint_Scsi_Cmnd (Scsi_Cmnd *cmd, char *pos, char *buffer, int length) in lprint_Scsi_Cmnd() 911 int NCR5380_queue_command (Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *)) in NCR5380_queue_command() argument [all …]
|
D | sun3_NCR5380.c | 267 #define NEXT(cmd) ((Scsi_Cmnd *)((cmd)->host_scribble)) argument 268 #define NEXTADDR(cmd) ((Scsi_Cmnd **)&((cmd)->host_scribble)) argument 271 #define H_NO(cmd) (cmd)->host->host_no argument 358 static int is_lun_busy( Scsi_Cmnd *cmd, int should_be_tagged ) in is_lun_busy() 382 static void cmd_get_tag( Scsi_Cmnd *cmd, int should_be_tagged ) in cmd_get_tag() 414 static void cmd_free_tag( Scsi_Cmnd *cmd ) in cmd_free_tag() 469 static void merge_contiguous_buffers( Scsi_Cmnd *cmd ) in merge_contiguous_buffers() 507 static __inline__ void initialize_SCp(Scsi_Cmnd *cmd) in initialize_SCp() 820 lprint_Scsi_Cmnd (Scsi_Cmnd *cmd, char *pos, char *buffer, int length) in lprint_Scsi_Cmnd() 913 static int NCR5380_queue_command (Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *)) in NCR5380_queue_command() argument [all …]
|
D | mac_NCR5380.c | 283 #define NEXT(cmd) ((Scsi_Cmnd *)((cmd)->host_scribble)) argument 284 #define NEXTADDR(cmd) ((Scsi_Cmnd **)&((cmd)->host_scribble)) argument 287 #define H_NO(cmd) (cmd)->host->host_no argument 374 static int is_lun_busy( Scsi_Cmnd *cmd, int should_be_tagged ) in is_lun_busy() 398 static void cmd_get_tag( Scsi_Cmnd *cmd, int should_be_tagged ) in cmd_get_tag() 430 static void cmd_free_tag( Scsi_Cmnd *cmd ) in cmd_free_tag() 485 static void merge_contiguous_buffers( Scsi_Cmnd *cmd ) in merge_contiguous_buffers() 523 static __inline__ void initialize_SCp(Scsi_Cmnd *cmd) in initialize_SCp() 841 lprint_Scsi_Cmnd (Scsi_Cmnd *cmd, char *pos, char *buffer, int length) in lprint_Scsi_Cmnd() 937 int NCR5380_queue_command (Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *)) in NCR5380_queue_command() argument [all …]
|
/linux-2.4.37.9/drivers/char/drm/ |
D | sis_mm.c | 75 int sis_fb_alloc(struct inode *inode, struct file *filp, unsigned int cmd, in sis_fb_alloc() 110 int sis_fb_free(struct inode *inode, struct file *filp, unsigned int cmd, in sis_fb_free() 134 int sis_fb_alloc(struct inode *inode, struct file *filp, unsigned int cmd, in sis_fb_alloc() 140 int sis_fb_free(struct inode *inode, struct file *filp, unsigned int cmd, in sis_fb_free() 153 int sisp_agp_init(struct inode *inode, struct file *filp, unsigned int cmd, in sisp_agp_init() 168 int sisp_agp_alloc(struct inode *inode, struct file *filp, unsigned int cmd, in sisp_agp_alloc() 205 int sisp_agp_free(struct inode *inode, struct file *filp, unsigned int cmd, in sisp_agp_free()
|
/linux-2.4.37.9/arch/s390x/kernel/ |
D | ioctl32.c | 50 static inline int hd_geometry_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) in hd_geometry_ioctl() 118 static int dev_ifname32(unsigned int fd, unsigned int cmd, unsigned long arg) in dev_ifname32() 143 static inline int dev_ifconf(unsigned int fd, unsigned int cmd, in dev_ifconf() 208 static int bond_ioctl(unsigned long fd, unsigned int cmd, unsigned long arg) in bond_ioctl() 260 static inline int dev_ifsioc(unsigned int fd, unsigned int cmd, in dev_ifsioc() 341 static inline int routing_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) in routing_ioctl() 370 static int do_ext2_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg) in do_ext2_ioctl() 397 static int loop_status(unsigned int fd, unsigned int cmd, unsigned long arg) in loop_status() 453 static int blkpg_ioctl_trans(unsigned int fd, unsigned int cmd, struct blkpg_ioctl_arg32 *arg) in blkpg_ioctl_trans() 483 static int w_long(unsigned int fd, unsigned int cmd, unsigned long arg) in w_long() [all …]
|
/linux-2.4.37.9/drivers/scsi/aacraid/ |
D | linit.c | 569 static int aac_eh_abort(Scsi_Cmnd *cmd) in aac_eh_abort() 583 static int aac_eh_device_reset(Scsi_Cmnd *cmd) in aac_eh_device_reset() 597 static int aac_eh_bus_reset(Scsi_Cmnd* cmd) in aac_eh_bus_reset() 611 static int aac_eh_reset(Scsi_Cmnd* cmd) in aac_eh_reset() 627 static int aac_ioctl(Scsi_Device * scsi_dev_ptr, int cmd, void * arg) in aac_ioctl() 683 static int aac_cfg_ioctl(struct inode * inode, struct file * file, unsigned int cmd, unsigned long… in aac_cfg_ioctl()
|
/linux-2.4.37.9/fs/ |
D | quota.c | 20 static int check_quotactl_valid(struct super_block *sb, int type, int cmd, qid_t id) in check_quotactl_valid() 137 static int do_quotactl(struct super_block *sb, int type, int cmd, qid_t id, caddr_t addr) in do_quotactl() 240 static int check_compat_quotactl_valid(struct super_block *sb, int type, int cmd, qid_t id) in check_compat_quotactl_valid() 355 static int v1_set_dqblk(struct super_block *sb, int type, int cmd, qid_t id, struct v1c_mem_dqblk *… in v1_set_dqblk() 391 static int do_compat_quotactl(struct super_block *sb, int type, int cmd, qid_t id, caddr_t addr) in do_compat_quotactl() 460 asmlinkage long sys_quotactl(unsigned int cmd, const char *special, qid_t id, caddr_t addr) in sys_quotactl()
|