Changeset e8975278 in mainline for uspace/srv
- Timestamp:
- 2018-05-10T15:14:02Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1420cae9
- Parents:
- ae7d03c
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-10 07:53:56)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-10 15:14:02)
- Location:
- uspace/srv
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/fs/exfat/exfat_directory.c
rae7d03c re8975278 71 71 72 72 di->bs = block_bb_get(di->service_id); 73 /* di->blocks = nodep->size / BPS(di->bs); */74 73 di->blocks = ROUND_UP(nodep->size, BPS(di->bs)) / BPS(di->bs); 75 74 return EOK; -
uspace/srv/fs/exfat/exfat_ops.c
rae7d03c re8975278 1198 1198 } 1199 1199 1200 /* exfat_fsinfo(bs, service_id); */ 1200 if (0) 1201 exfat_fsinfo(bs, service_id); 1201 1202 1202 1203 *rrfn = FS_NODE(rootp); … … 1237 1238 1238 1239 /* Print debug info */ 1239 /*1240 1240 static void exfat_fsinfo(exfat_bs_t *bs, service_id_t service_id) 1241 1241 { … … 1252 1252 printf("Bytes per sector: %d\n", BPS(bs)); 1253 1253 printf("Sectors per cluster: %d\n", SPC(bs)); 1254 printf("KBytes per cluster: %d\n", SPC(bs) *BPS(bs)/1024);1254 printf("KBytes per cluster: %d\n", SPC(bs) * BPS(bs) / 1024); 1255 1255 1256 1256 int i, rc; 1257 1257 exfat_cluster_t clst; 1258 for (i =0; i<=7; i++) {1258 for (i = 0; i <= 7; i++) { 1259 1259 rc = exfat_get_cluster(bs, service_id, i, &clst); 1260 1260 if (rc != EOK) 1261 1261 return; 1262 1262 printf("Clst %d: %x", i, clst); 1263 if (i >=2)1264 printf(", Bitmap: %d\n", bitmap_is_free(bs, service_id, i) !=EOK);1263 if (i >= 2) 1264 printf(", Bitmap: %d\n", bitmap_is_free(bs, service_id, i) != EOK); 1265 1265 else 1266 1266 printf("\n"); 1267 1267 } 1268 1268 } 1269 */1270 1269 1271 1270 static errno_t exfat_fsprobe(service_id_t service_id, vfs_fs_probe_info_t *info) -
uspace/srv/hid/isdv4_tablet/isdv4.c
rae7d03c re8975278 54 54 #define CMD_QUERY_TOUCH '%' 55 55 56 /* packet_consumer_fn(uint8_t *packet, size_t size, isdv4_state_t *state, 57 void *data) 58 return true if reading of packets should continue */ 59 typedef bool (*packet_consumer_fn)(uint8_t *, size_t, isdv4_state_t *); 56 /** Packet consumer function 57 * 58 * @return true if reading of packets should continue 59 */ 60 typedef bool (*packet_consumer_fn)(uint8_t *packet, size_t size, 61 isdv4_state_t *state); 60 62 61 63 static void isdv4_event_init(isdv4_event_t *event) -
uspace/srv/net/tcp/conn.c
rae7d03c re8975278 1186 1186 tcp_segment_dump(seg); 1187 1187 1188 /* Check whether segment is acceptable */1189 /* XXX Permit valid ACKs, URGs and RSTs */1190 /* if (!seq_no_segment_acceptable(conn, seg)) {1191 log_msg(LOG_DEFAULT, LVL_WARN, "Segment not acceptable, dropping.");1192 if ((seg->ctrl & CTL_RST) == 0) {1193 tcp_tqueue_ctrl_seg(conn, CTL_ACK);1194 }1195 return;1196 }1197 */1198 1199 1188 if (tcp_conn_seg_proc_rst(conn, seg) == cp_done) 1200 1189 return;
Note:
See TracChangeset
for help on using the changeset viewer.