/drivers/md/ |
H A D | dm-snap-persistent.c | 163 static int alloc_area(struct pstore *ps) argument 168 len = ps->store->chunk_size << SECTOR_SHIFT; 174 ps->area = vmalloc(len); 175 if (!ps->area) 178 ps->zero_area = vzalloc(len); 179 if (!ps->zero_area) 182 ps->header_area = vmalloc(len); 183 if (!ps->header_area) 189 vfree(ps->zero_area); 192 vfree(ps 198 free_area(struct pstore *ps) argument 230 chunk_io(struct pstore *ps, void *area, chunk_t chunk, int rw, int metadata) argument 267 area_location(struct pstore *ps, chunk_t area) argument 276 area_io(struct pstore *ps, int rw) argument 290 zero_memory_area(struct pstore *ps) argument 295 zero_disk_area(struct pstore *ps, chunk_t area) argument 300 read_header(struct pstore *ps, int *new_snapshot) argument 378 write_header(struct pstore *ps) argument 396 get_exception(struct pstore *ps, uint32_t index) argument 403 read_exception(struct pstore *ps, uint32_t index, struct core_exception *result) argument 413 write_exception(struct pstore *ps, uint32_t index, struct core_exception *e) argument 423 clear_exception(struct pstore *ps, uint32_t index) argument 437 insert_exceptions(struct pstore *ps, int (*callback)(void *callback_context, chunk_t old, chunk_t new), void *callback_context, int *full) argument 482 read_exceptions(struct pstore *ps, int (*callback)(void *callback_context, chunk_t old, chunk_t new), void *callback_context) argument 518 struct pstore *ps = get_info(store); local 534 struct pstore *ps = get_info(store); local 556 struct pstore *ps = get_info(store); local 618 struct pstore *ps = get_info(store); local 648 struct pstore *ps = get_info(store); local 708 struct pstore *ps = get_info(store); local 754 struct pstore *ps = get_info(store); local 785 struct pstore *ps = get_info(store); local 795 struct pstore *ps; local [all...] |
H A D | dm-path-selector.h | 40 int (*create) (struct path_selector *ps, unsigned argc, char **argv); 41 void (*destroy) (struct path_selector *ps); 47 int (*add_path) (struct path_selector *ps, struct dm_path *path, 58 struct dm_path *(*select_path) (struct path_selector *ps, 65 void (*fail_path) (struct path_selector *ps, struct dm_path *p); 70 int (*reinstate_path) (struct path_selector *ps, struct dm_path *p); 76 int (*status) (struct path_selector *ps, struct dm_path *path, 79 int (*start_io) (struct path_selector *ps, struct dm_path *path, 81 int (*end_io) (struct path_selector *ps, struct dm_path *path,
|
H A D | dm-round-robin.c | 63 static int rr_create(struct path_selector *ps, unsigned argc, char **argv) argument 71 ps->context = s; 75 static void rr_destroy(struct path_selector *ps) argument 77 struct selector *s = (struct selector *) ps->context; 82 ps->context = NULL; 85 static int rr_status(struct path_selector *ps, struct dm_path *path, argument 111 static int rr_add_path(struct path_selector *ps, struct dm_path *path, argument 114 struct selector *s = (struct selector *) ps->context; 120 *error = "round-robin ps: incorrect number of arguments"; 126 *error = "round-robin ps 147 rr_fail_path(struct path_selector *ps, struct dm_path *p) argument 155 rr_reinstate_path(struct path_selector *ps, struct dm_path *p) argument 165 rr_select_path(struct path_selector *ps, unsigned *repeat_count, size_t nr_bytes) argument [all...] |
H A D | dm-queue-length.c | 53 static int ql_create(struct path_selector *ps, unsigned argc, char **argv) argument 60 ps->context = s; 74 static void ql_destroy(struct path_selector *ps) argument 76 struct selector *s = ps->context; 81 ps->context = NULL; 84 static int ql_status(struct path_selector *ps, struct dm_path *path, argument 109 static int ql_add_path(struct path_selector *ps, struct dm_path *path, argument 112 struct selector *s = ps->context; 123 *error = "queue-length ps: incorrect number of arguments"; 128 *error = "queue-length ps 150 ql_fail_path(struct path_selector *ps, struct dm_path *path) argument 158 ql_reinstate_path(struct path_selector *ps, struct dm_path *path) argument 171 ql_select_path(struct path_selector *ps, unsigned *repeat_count, size_t nr_bytes) argument 200 ql_start_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes) argument 210 ql_end_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes) argument [all...] |
H A D | dm-service-time.c | 49 static int st_create(struct path_selector *ps, unsigned argc, char **argv) argument 56 ps->context = s; 70 static void st_destroy(struct path_selector *ps) argument 72 struct selector *s = ps->context; 77 ps->context = NULL; 80 static int st_status(struct path_selector *ps, struct dm_path *path, argument 106 static int st_add_path(struct path_selector *ps, struct dm_path *path, argument 109 struct selector *s = ps->context; 128 *error = "service-time ps: incorrect number of arguments"; 133 *error = "service-time ps 163 st_fail_path(struct path_selector *ps, struct dm_path *path) argument 171 st_reinstate_path(struct path_selector *ps, struct dm_path *path) argument 258 st_select_path(struct path_selector *ps, unsigned *repeat_count, size_t nr_bytes) argument 282 st_start_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes) argument 292 st_end_io(struct path_selector *ps, struct dm_path *path, size_t nr_bytes) argument [all...] |
H A D | dm-mpath.c | 50 struct path_selector ps; member in struct:priority_group 176 struct path_selector *ps = &pg->ps; local 178 if (ps->type) { 179 ps->type->destroy(ps); 180 dm_put_path_selector(ps->type); 296 path = pg->ps.type->select_path(&pg->ps, &m->repeat_count, nr_bytes); 408 if (r == DM_MAPIO_REMAPPED && pgpath->pg->ps 563 parse_path(struct dm_arg_set *as, struct path_selector *ps, struct dm_target *ti) argument 1279 struct path_selector *ps; local [all...] |
/drivers/usb/core/ |
H A D | devio.c | 81 struct dev_state *ps; member in struct:async 151 static int connected(struct dev_state *ps) argument 153 return (!list_empty(&ps->list) && 154 ps->dev->state != USB_STATE_NOTATTACHED); 184 struct dev_state *ps = file->private_data; local 185 struct usb_device *dev = ps->dev; 193 if (!connected(ps)) { 300 struct dev_state *ps = as->ps; local 303 spin_lock_irqsave(&ps 310 struct dev_state *ps = as->ps; local 318 async_getcompleted(struct dev_state *ps) argument 333 async_getpending(struct dev_state *ps, void __user *userurb) argument 435 struct dev_state *ps = as->ps; local 474 destroy_async(struct dev_state *ps, struct list_head *list) argument 496 destroy_async_on_interface(struct dev_state *ps, unsigned int ifnum) argument 511 destroy_all_async(struct dev_state *ps) argument 530 struct dev_state *ps = usb_get_intfdata(intf); local 573 claimintf(struct dev_state *ps, unsigned int ifnum) argument 595 releaseintf(struct dev_state *ps, unsigned int ifnum) argument 615 checkintf(struct dev_state *ps, unsigned int ifnum) argument 655 check_ctrlrecip(struct dev_state *ps, unsigned int requesttype, unsigned int request, unsigned int index) argument 718 struct dev_state *ps; local 790 struct dev_state *ps = file->private_data; local 821 proc_control(struct dev_state *ps, void __user *arg) argument 910 proc_bulk(struct dev_state *ps, void __user *arg) argument 983 proc_resetep(struct dev_state *ps, void __user *arg) argument 1000 proc_clearhalt(struct dev_state *ps, void __user *arg) argument 1022 proc_getdriver(struct dev_state *ps, void __user *arg) argument 1041 proc_connectinfo(struct dev_state *ps, void __user *arg) argument 1053 proc_resetdevice(struct dev_state *ps) argument 1058 proc_setintf(struct dev_state *ps, void __user *arg) argument 1071 proc_setconfig(struct dev_state *ps, void __user *arg) argument 1119 proc_do_submiturb(struct dev_state *ps, struct usbdevfs_urb *uurb, struct usbdevfs_iso_packet_desc __user *iso_frame_desc, void __user *arg) argument 1404 proc_submiturb(struct dev_state *ps, void __user *arg) argument 1416 proc_unlinkurb(struct dev_state *ps, void __user *arg) argument 1480 reap_as(struct dev_state *ps) argument 1503 proc_reapurb(struct dev_state *ps, void __user *arg) argument 1516 proc_reapurbnonblock(struct dev_state *ps, void __user *arg) argument 1531 proc_control_compat(struct dev_state *ps, struct usbdevfs_ctrltransfer32 __user *p32) argument 1544 proc_bulk_compat(struct dev_state *ps, struct usbdevfs_bulktransfer32 __user *p32) argument 1561 proc_disconnectsignal_compat(struct dev_state *ps, void __user *arg) argument 1599 proc_submiturb_compat(struct dev_state *ps, void __user *arg) argument 1645 proc_reapurb_compat(struct dev_state *ps, void __user *arg) argument 1658 proc_reapurbnonblock_compat(struct dev_state *ps, void __user *arg) argument 1675 proc_disconnectsignal(struct dev_state *ps, void __user *arg) argument 1686 proc_claiminterface(struct dev_state *ps, void __user *arg) argument 1695 proc_releaseinterface(struct dev_state *ps, void __user *arg) argument 1708 proc_ioctl(struct dev_state *ps, struct usbdevfs_ioctl *ctl) argument 1783 proc_ioctl_default(struct dev_state *ps, void __user *arg) argument 1793 proc_ioctl_compat(struct dev_state *ps, compat_uptr_t arg) argument 1811 proc_claim_port(struct dev_state *ps, void __user *arg) argument 1825 proc_release_port(struct dev_state *ps, void __user *arg) argument 1842 struct dev_state *ps = file->private_data; local 2037 struct dev_state *ps = file->private_data; local 2063 struct dev_state *ps; local [all...] |
/drivers/net/dsa/ |
H A D | mv88e6xxx.c | 84 struct mv88e6xxx_priv_state *ps = (void *)(ds + 1); local 87 mutex_lock(&ps->smi_mutex); 90 mutex_unlock(&ps->smi_mutex); 136 struct mv88e6xxx_priv_state *ps = (void *)(ds + 1); local 139 mutex_lock(&ps->smi_mutex); 142 mutex_unlock(&ps->smi_mutex); 259 struct mv88e6xxx_priv_state *ps; local 261 ps = container_of(ugly, struct mv88e6xxx_priv_state, ppu_work); 262 if (mutex_trylock(&ps->ppu_mutex)) { 263 struct dsa_switch *ds = ((struct dsa_switch *)ps) 273 struct mv88e6xxx_priv_state *ps = (void *)_ps; local 280 struct mv88e6xxx_priv_state *ps = (void *)(ds + 1); local 308 struct mv88e6xxx_priv_state *ps = (void *)(ds + 1); local 319 struct mv88e6xxx_priv_state *ps = (void *)(ds + 1); local 493 struct mv88e6xxx_priv_state *ps = (void *)(ds + 1); local [all...] |
H A D | mv88e6131.c | 181 struct mv88e6xxx_priv_state *ps = (void *)(ds + 1); local 192 if (ps->id == ID_6085) 221 if (ps->id == ID_6085) 266 if (ps->id == ID_6085) 315 struct mv88e6xxx_priv_state *ps = (void *)(ds + 1); local 319 mutex_init(&ps->smi_mutex); 321 mutex_init(&ps->stats_mutex); 323 ps->id = REG_READ(REG_PORT(0), 0x03) & 0xfff0;
|
/drivers/media/video/omap/ |
H A D | omap_vout_vrfb.c | 296 int vr_ps = 1, ps = 2, temp_ps = 2; local 305 * ps - Actual pixel size for YUYV/UYVY for 310 ps = 4; 313 ps = 2; /* otherwise the pixel size is 2 byte */ 316 ps = 4; 318 ps = 3; 320 vout->ps = ps; 335 temp_ps = ps / vr_ps; 342 ((crop->width / (vr_ps)) - 1) * ps); [all...] |
/drivers/tty/vt/ |
H A D | selection.c | 163 int i, ps, pe, multiplier; local 183 ps = ys * vc->vc_size_row + (xs << 1); 198 if (ps > pe) /* make sel_start <= sel_end */ 200 int tmp = ps; 201 ps = pe; 218 new_sel_start = ps; 222 spc = isspace(sel_pos(ps)); 223 for (new_sel_start = ps; ; ps -= 2) 225 if ((spc && !isspace(sel_pos(ps))) || [all...] |
/drivers/staging/speakup/ |
H A D | selection.c | 51 int i, ps, pe; local 58 ps = ys * vc->vc_size_row + (xs << 1); 61 if (ps > pe) { 63 int tmp = ps; 64 ps = pe; 76 new_sel_start = ps;
|
/drivers/net/wireless/rtlwifi/ |
H A D | Makefile | 8 ps.o \
|
/drivers/net/wireless/wl1251/ |
H A D | Makefile | 1 wl1251-objs = main.o event.o tx.o rx.o ps.o cmd.o \
|
H A D | debugfs.c | 29 #include "ps.h" 197 DEBUGFS_FWSTATS_FILE(ps, pspoll_timeouts, 20, "%u"); 198 DEBUGFS_FWSTATS_FILE(ps, upsd_timeouts, 20, "%u"); 199 DEBUGFS_FWSTATS_FILE(ps, upsd_max_sptime, 20, "%u"); 200 DEBUGFS_FWSTATS_FILE(ps, upsd_max_apturn, 20, "%u"); 201 DEBUGFS_FWSTATS_FILE(ps, pspoll_max_apturn, 20, "%u"); 202 DEBUGFS_FWSTATS_FILE(ps, pspoll_utilization, 20, "%u"); 203 DEBUGFS_FWSTATS_FILE(ps, upsd_utilization, 20, "%u"); 337 DEBUGFS_FWSTATS_DEL(ps, pspoll_timeouts); 338 DEBUGFS_FWSTATS_DEL(ps, upsd_timeout [all...] |
/drivers/input/ |
H A D | input-mt.c | 144 struct input_mt_slot *ps = &dev->mt[i]; local 145 int id = input_mt_get_value(ps, ABS_MT_TRACKING_ID); 150 oldest = ps;
|
/drivers/net/wireless/wl12xx/ |
H A D | Makefile | 1 wl12xx-objs = main.o cmd.o io.o event.o tx.o rx.o ps.o acx.o \
|
/drivers/pci/ |
H A D | ats.c | 20 static int ats_alloc_one(struct pci_dev *dev, int ps) argument 35 ats->stu = ps; 53 * @ps: the IOMMU page shift 57 int pci_enable_ats(struct pci_dev *dev, int ps) argument 64 if (ps < PCI_ATS_MIN_STU) 72 rc = pdev->ats->stu == ps ? 0 : -EINVAL; 74 rc = ats_alloc_one(pdev, ps); 84 rc = ats_alloc_one(dev, ps); 91 ctrl |= PCI_ATS_CTRL_STU(ps - PCI_ATS_MIN_STU);
|
/drivers/scsi/ |
H A D | osst.h | 136 unsigned ps :1; member in struct:__anon4821 142 unsigned ps :1; 179 unsigned ps :1; member in struct:__anon4822 185 unsigned ps :1; 305 unsigned ps :1; member in struct:__anon4824 311 unsigned ps :1; 343 unsigned ps :1; member in struct:__anon4825 349 unsigned ps :1; 564 struct st_partstat ps[ST_NBR_PARTITIONS]; member in struct:osst_tape
|
/drivers/mtd/ubi/ |
H A D | debug.h | 39 #define ubi_dbg_print_hex_dump(l, ps, pt, r, g, b, len, a) \ 40 print_hex_dump(l, ps, pt, r, g, b, len, a) 214 ubi_dbg_print_hex_dump(const char *l, const char *ps, int pt, int r, argument
|
/drivers/net/wireless/ath/carl9170/ |
H A D | rx.c | 79 u32 ps; local 82 ps = le32_to_cpu(rsp->psm.state); 84 new_ps = (ps & CARL9170_PSM_COUNTER) != CARL9170_PSM_WAKE; 85 if (ar->ps.state != new_ps) { 87 ar->ps.sleep_ms = jiffies_to_msecs(jiffies - 88 ar->ps.last_action); 91 ar->ps.last_action = jiffies; 93 ar->ps.state = new_ps; 545 ar->ps.last_beacon = jiffies; 558 ar->ps [all...] |
/drivers/infiniband/core/ |
H A D | cma.c | 96 struct idr *ps; member in struct:rdma_bind_list 314 switch (id_priv->id.ps) { 365 id_priv->id.ps == RDMA_PS_IPOIB) 416 void *context, enum rdma_port_space ps, 429 id_priv->id.ps = ps; 731 static int cma_get_net_info(void *hdr, enum rdma_port_space ps, argument 735 switch (ps) { 800 static inline int cma_user_data_offset(enum rdma_port_space ps) argument 802 switch (ps) { 415 rdma_create_id(rdma_cm_event_handler event_handler, void *context, enum rdma_port_space ps, enum ib_qp_type qp_type) argument 1267 cma_get_service_id(enum rdma_port_space ps, struct sockaddr *addr) argument 1272 cma_set_compare_data(enum rdma_port_space ps, struct sockaddr *addr, struct ib_cm_compare_data *compare) argument 2106 cma_alloc_port(struct idr *ps, struct rdma_id_private *id_priv, unsigned short snum) argument 2139 cma_alloc_any_port(struct idr *ps, struct rdma_id_private *id_priv) argument 2204 cma_use_port(struct idr *ps, struct rdma_id_private *id_priv) argument 2239 struct idr *ps; local 2382 cma_format_hdr(void *hdr, enum rdma_port_space ps, struct rdma_route *route) argument [all...] |
/drivers/staging/rtl8192e/rtl8192e/ |
H A D | rtl_ps.c | 225 RT_TRACE(COMP_LPS, "%s(): set ieee->ps = %x\n", __func__, rtPsMode); 227 priv->rtllib->ps = rtPsMode; 252 RT_TRACE(COMP_PS, "pPSC->bLeisurePs = %d, ieee->ps = %d,pPSC->LpsIdle" 254 pPSC->bLeisurePs, priv->rtllib->ps, pPSC->LpsIdleCount, 266 if (priv->rtllib->ps == RTLLIB_PS_DISABLED) { 293 RT_TRACE(COMP_PS, "pPSC->bLeisurePs = %d, ieee->ps = %d\n", 294 pPSC->bLeisurePs, priv->rtllib->ps); 297 if (priv->rtllib->ps != RTLLIB_PS_DISABLED) {
|
/drivers/gpu/drm/radeon/ |
H A D | atom.c | 57 uint32_t *ps, *ws; member in struct:__anon602 225 val = get_unaligned_le32((u32 *)&ctx->ps[idx]); 501 ctx->ps[idx] = cpu_to_le32(val); 630 r = atom_execute_table_locked(ctx->ctx, idx, ctx->ps + ctx->ps_shift); 1162 int len, ws, ps, ptr; local 1172 ps = CU8(base + ATOM_CT_PS_PTR) & ATOM_CT_PS_MASK; 1175 SDEBUG(">> execute %04X (len %d, WS %d, PS %d)\n", base, len, ws, ps); 1178 ectx.ps_shift = ps / 4; 1180 ectx.ps = params; 1197 base, len, ws, ps, pt 1311 uint32_t ps[16]; local [all...] |
/drivers/net/ethernet/amd/ |
H A D | au1000_eth.c | 144 * ps: make sure the used irqs are configured properly in the board 682 struct net_device_stats *ps = &dev->stats; local 684 ps->rx_packets++; 686 ps->multicast++; 689 ps->rx_errors++; 691 ps->rx_missed_errors++; 693 ps->rx_length_errors++; 695 ps->rx_crc_errors++; 697 ps->collisions++; 699 ps 778 struct net_device_stats *ps = &dev->stats; local 904 struct net_device_stats *ps = &dev->stats; local [all...] |